openwrtv3/target/linux/bcm53xx/patches-4.4
Rafał Miłecki 5e885c09c6 bcm53xx: switch back to standalone ASM entry flushing cache
Over a year ago in a commit ac96a1665a ("bcm53xx: update Disable MMU
and Dcache during decompression") we switched to Florian's patch for
workarounding CFE bug. The main difference was using a part of existing
__armv7_mmu_cache_flush instead of implementing flushing separately.

This worked well for Northstar devices but doesn't work for BCM53573 as
these devices simply don't start booting with Florian's patch. It's
because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush.

So this commit switches back to using standalone implementation. This
time instead of copying Broadcom's copy of cache-v7.S, we just make a
copy of the original file on our own. Unfortunately we can't cross-dir
compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with
define_cache_functions v7 which would just trigger
> Error: unrecognized/unsupported machine ID (r1 = 0x0000007f).

The only real change Broadcom did in copied .S file was modifying mcr
instruction to use c6 instead of c14. It isn't clear to me if we really
need it, but let's use it for now.

By the way we also update commit message of the
[PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression

This makes kernel booting on BCM53573 successfully.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-08-19 11:38:44 +02:00
..
020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
021-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch bcm53xx: use backported BCM5301X patches from stblinux soc/next 2015-12-03 10:18:57 +00:00
022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch bcm53xx: use backported BCM5301X patches from stblinux devicetree/next 2015-12-03 10:19:16 +00:00
031-ARM-dts-enable-clock-support-for-BCM5301X.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch bcm53xx: move BCM5301X patches to use 08x prefix 2015-12-03 11:03:07 +00:00
033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
034-ARM-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch bcm53xx: backport BCM5301X earlycon and USB VCC patches 2016-04-14 05:54:20 +00:00
035-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers-of-few.patch bcm53xx: backport BCM5301X earlycon and USB VCC patches 2016-04-14 05:54:20 +00:00
036-ARM-BCM5301X-Enable-earlycon-on-tested-devices.patch bcm53xx: backport BCM5301X earlycon and USB VCC patches 2016-04-14 05:54:20 +00:00
037-0001-ARM-BCM5301X-Add-DT-entry-for-SPI-controller-and-NOR.patch bcm53xx: backport BCM5301X patches for SRAB 2016-06-20 23:07:31 +02:00
037-0002-ARM-BCM5301X-Enable-SPI-NOR-on-dual-flash-devices.patch bcm53xx: backport BCM5301X patches for SRAB 2016-06-20 23:07:31 +02:00
038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch bcm53xx: backport BCM5301X patches for SRAB 2016-06-20 23:07:31 +02:00
038-0002-ARM-dts-BCM5301X-Add-SRAB-interrupts.patch bcm53xx: backport BCM5301X patches for SRAB 2016-06-20 23:07:31 +02:00
038-0003-ARM-dts-BCM5310x-Enable-switch-ports-on-SmartRG-SR40.patch bcm53xx: backport BCM5301X patches for SRAB 2016-06-20 23:07:31 +02:00
039-ARM-dts-BCM5301x-Add-RNG-Device-Tree-node.patch bcm53xx: backport BCM5301x patches from 2016-07-06 2016-07-07 13:54:55 +02:00
040-ARM-dts-BCM5301x-Add-BCM953012ER-board.patch bcm53xx: backport BCM5301x patches from 2016-07-06 2016-07-07 13:54:55 +02:00
041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch bcm53xx: backport BCM5301x patches from 2016-07-06 2016-07-07 13:54:55 +02:00
041-0002-ARM-BCM5301X-Fix-NAND-ECC-parameters-for-D-Link-DIR-.patch bcm53xx: backport BCM5301x patches from 2016-07-06 2016-07-07 13:54:55 +02:00
042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9 2016-07-28 12:59:23 +02:00
070-0001-phy-bcm-ns-usb2-new-driver-for-USB-2.0-PHY-on-Norths.patch bcm53xx: rename PHY patches to use 07* prefix 2016-08-14 11:22:58 +02:00
070-0002-phy-bcm-ns-usb2-checking-the-wrong-variable.patch bcm53xx: rename PHY patches to use 07* prefix 2016-08-14 11:22:58 +02:00
071-phy-bcm-ns-usb3-new-driver-for-USB-3.0-PHY-on-Norths.patch bcm53xx: backport USB 3.0 Northstar PHY driver 2016-08-14 11:31:17 +02:00
080-USB-bcma-switch-to-GPIO-descriptor-for-power-control.patch kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
081-0001-USB-bcma-make-helper-creating-platform-dev-more-gene.patch bcm53xx: use two upstream USB bcma patches 2016-01-28 07:01:09 +00:00
081-0002-USB-bcma-separate-code-initializing-USB-2.0-core.patch bcm53xx: use two upstream USB bcma patches 2016-01-28 07:01:09 +00:00
081-0003-USB-bcma-use-simpler-devm-helper-for-getting-vcc-GPI.patch bcm53xx: use upstream fix simplifying USB power GPIO usage 2016-07-07 15:07:02 +02:00
082-0001-USB-bcma-initialize-Northstar-USB-3.0-controller.patch bcm53xx: backport USB 3.0 controller init patch 2016-08-14 12:41:32 +02:00
085-PCI-iproc-Hide-CONFIG_PCIE_IPROC.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
087-0001-PCI-iproc-Update-iProc-PCIe-device-tree-binding.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
087-0002-PCI-iproc-Add-PAXC-interface-support.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
087-0003-PCI-iproc-Add-iProc-PCIe-MSI-device-tree-binding.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
087-0004-PCI-iproc-Add-iProc-PCIe-MSI-support.patch bcm53xx: update iProc patches (V5 accepted in helgaas/pci.git next) 2016-01-19 21:53:23 +00:00
088-PCI-iproc-Allow-multiple-devices-except-on-PAXC.patch kernel: update kernel 4.4 to version 4.4.7 2016-04-16 21:05:48 +00:00
101-use-part-parser.patch bcm53xx: backport BCM5301x patches from 2016-07-06 2016-07-07 13:54:55 +02:00
112-bcm53xx-sprom-add-sprom-driver.patch bcm53xx: use SPROM driver queued for 4.6 2016-03-06 18:08:03 +00:00
130-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9 2016-07-28 12:59:23 +02:00
140-mtd-brcmnand-set-initial-ECC-params-based-on-info-fr.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
170-USB-bcma-support-old-USB-2.0-controller-on-Northstar.patch bcm53xx: support USB 2.0 controller on BCM53573 2016-08-14 13:05:23 +02:00
190-usb-xhci-plat-fix-adding-usb3-lpm-capable-quirk.patch kernel: update kernel 4.4 to version 4.4.15 2016-07-13 15:39:15 +02:00
191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
197-USB-bcma-add-USB-3.0-support.patch bcm53xx: support USB 2.0 controller on BCM53573 2016-08-14 13:05:23 +02:00
300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch bcm53xx: switch back to standalone ASM entry flushing cache 2016-08-19 11:38:44 +02:00
301-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9 2016-07-28 12:59:23 +02:00
305-ARM-BCM5301X-Add-DT-for-Linksys-EA6300-V1.patch
306-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9 2016-07-28 12:59:23 +02:00
331-ARM-BCM5301X-Specify-RAM-on-devices-by-including-HIG.patch bcm53xx: backport BCM5301X earlycon and USB VCC patches 2016-04-14 05:54:20 +00:00
332-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
400-mtd-brcmnand-stop-special-treating-ECC-strength-1-as.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
405-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch bcm53xx: refresh kernel patches 2016-07-28 12:45:02 +02:00
406-mtd-m25p80-use-single-SPI-message-for-writing-data.patch bcm53xx: fix warning caused by m25p80 patch 2016-08-16 17:14:14 +02:00
500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch kernel: update kernel 4.4 to version 4.4.12 2016-06-02 15:34:34 +02:00
710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch bcm53xx: refresh kernel patches 2016-07-28 12:45:02 +02:00
800-PCI-iproc-Ignore-ARM-core-aborts-when-running-on-bcm.patch kernel: update kernel 4.4 to version 4.4.7 2016-04-16 21:05:48 +00:00
811-USB-bcma-improve-USB-2.0-PHY-support-for-BCM4709-and.patch bcm53xx: support USB 2.0 controller on BCM53573 2016-08-14 13:05:23 +02:00
820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch kernel: update kernel 4.4 to version 4.4.9 2016-05-10 10:43:17 +02:00
830-clk-bcm-Add-driver-for-Northstar-ILP-clock.patch bcm53xx: add temporary BCM53573 ILP clock driver 2016-08-15 10:20:43 +02:00
901-mtd-bcm47xxpart-workaround-for-Asus-RT-AC87U-asus-pa.patch kernel: make bcm47xxpart work with TRX flashed at bad block(s) 2016-01-02 00:33:48 +00:00
905-BCM53573-minor-hacks.patch bcm53xx: add quick fixes for BCM53573 2016-08-15 12:49:16 +02:00