From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Porter Date: Fri, 6 Mar 2015 16:28:53 -0500 Subject: [U-Boot] [PATCH V5 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements In-Reply-To: <1425616866-11702-1-git-send-email-nm@ti.com> References: <1425616866-11702-1-git-send-email-nm@ti.com> Message-ID: <20150306212853.GP19577@beef> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Mar 05, 2015 at 10:40:55PM -0600, Nishanth Menon wrote: > The fifth incarnation should be proper, I hope. (skipping all the > blurb and pointing to v1 for the blurb). > > Changes since v4: > - smc is back to handassembled thanks to gcc versions > - fixes in multiple call handling within cpu_init_cp15 -> thanks to Matt Porter's test log showing fail on r1p3 cortex-a8 (where the errata must be applied) > > v4: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/213863 > V3: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/213207/focus=213307 > V2: http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/213060 > V1: http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/212174 > > This time, the series is based on u-boot master > git://git.denx.de/u-boot.git > master 694cc87b76b1 arm, da8xx: convert ipam390 board to generic board support > > Git tree: https://gitorious.org/nm-kernel/u-boot-nm (at least till gitorious is around..) > branch errata-v5-master-694cc87b76b1 > > Git link: https://gitorious.org/nm-kernel/u-boot-nm.git errata-v5-master-694cc87b76b1 > > Testing: with http://paste.ubuntu.org.cn/2522971 (4.0-rc1 patch) > > BeagleBoard-X15: > Before: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 > After: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000198 L2PFR=0x000009b0 ACTLR=0x00000040 > > OMAP5uEVM: > Before: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 > After: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000198 L2PFR=0x000009b0 ACTLR=0x00000040 > > Beagle-XM: this is a r3p2 cortex-a8 > Before: CPUID=0x413fc082 ACR=0x000000e2 L2AUXCR=0x00000042 > After: CPUID=0x413fc082 ACR=0x00000042 L2AUXCR=0x00000042 > To emulate matt's board, I hacked u-boot to force the code flow. > Testing with (hack http://paste.ubuntu.org.cn/2525559): CPUID=0x413fc082 ACR=0x000000e2 L2AUXCR=0x00000042 > > I dont have access to other omap3 platforms to give a better coverage, > so, I welcome as much testing as possible. Also verified again here on my r1p2 Beagle. No more build issues on any of my toolchains, thanks. Tested-by: Matt Porter > Nishanth Menon (10): > ARM: Introduce erratum workaround for 798870 > ARM: Introduce erratum workaround for 454179 > ARM: Introduce erratum workaround for 430973 > ARM: Introduce erratum workaround for 621766 > ARM: OMAP: Change set_pl310_ctrl_reg to be generic > ARM: OMAP3: Rename omap3.h to omap.h to be generic as all SoCs > ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with > omap_smc1 > ARM: OMAP5 / DRA7: Setup L2 Aux Control Register with recommended > configuration > ARM: OMAP3: Enable workaround for ARM errata 454179, 430973, 621766 > ARM: OMAP3: rx51: Enable workaround for ARM errata 454179, 430973, > 621766 > > Praveen Rao (1): > ARM: DRA7 / OMAP5: Add workaround for ARM errata 798870 > > README | 8 +++ > arch/arm/cpu/armv7/Makefile | 2 +- > arch/arm/cpu/armv7/cp15.c | 29 +++++++++ > arch/arm/cpu/armv7/omap-common/Makefile | 2 +- > arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 20 +++--- > arch/arm/cpu/armv7/omap3/board.c | 60 +++++++----------- > arch/arm/cpu/armv7/omap3/lowlevel_init.S | 11 ---- > arch/arm/cpu/armv7/omap4/hwinit.c | 4 +- > arch/arm/cpu/armv7/omap5/hwinit.c | 23 +++++++ > arch/arm/cpu/armv7/start.S | 64 +++++++++++++++++++- > .../arm/include/asm/arch-omap3/{omap3.h => omap.h} | 0 > arch/arm/include/asm/arch-omap3/sys_proto.h | 3 +- > arch/arm/include/asm/arch-omap4/sys_proto.h | 5 +- > arch/arm/include/asm/arch-omap5/sys_proto.h | 4 ++ > arch/arm/include/asm/armv7.h | 5 ++ > board/nokia/rx51/rx51.c | 19 +++--- > include/configs/am3517_crane.h | 6 +- > include/configs/am3517_evm.h | 6 +- > include/configs/cm_t35.h | 6 +- > include/configs/cm_t3517.h | 6 +- > include/configs/dig297.h | 6 +- > include/configs/mcx.h | 6 +- > include/configs/nokia_rx51.h | 6 +- > include/configs/omap3_evm.h | 2 +- > include/configs/omap3_evm_common.h | 4 ++ > include/configs/omap3_evm_quick_mmc.h | 2 +- > include/configs/omap3_evm_quick_nand.h | 2 +- > include/configs/omap3_logic.h | 6 +- > include/configs/omap3_mvblx.h | 6 +- > include/configs/omap3_pandora.h | 6 +- > include/configs/omap3_sdp3430.h | 6 +- > include/configs/omap3_zoom1.h | 2 +- > include/configs/tam3517-common.h | 6 +- > include/configs/tao3530.h | 6 +- > include/configs/ti_omap3_common.h | 7 ++- > include/configs/ti_omap5_common.h | 3 + > include/configs/tricorder.h | 6 +- > 37 files changed, 275 insertions(+), 90 deletions(-) > create mode 100644 arch/arm/cpu/armv7/cp15.c > rename arch/arm/include/asm/arch-omap3/{omap3.h => omap.h} (100%) > > Regards, > Nishanth Menon > -- > 1.7.9.5 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot