[U-Boot] [PATCH V4 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

Matt Porter mporter at konsulko.com
Thu Mar 5 17:21:10 CET 2015


On Tue, Mar 03, 2015 at 04:26:17PM -0600, Nishanth Menon wrote:
> The fourth incarnation of this series to address review comments on V3
> 
> With all the usual disclaimers and request to see V1 of the series for a
> detailed blurb.. As usual additional testing preferred.. Sorry, I dont have
> access to all possible variants atm..
> 
> changes since v3:
> 	- few corrections - i have tried to do a push-pop of register params.
> 	  hopefully, they should do the job
> 	- smc with a makefile handling of secure-ext enablement.. (stolen from kernel).
> 
> 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
> 
> Testing: with http://paste.ubuntu.org.cn/2522971 (4.0-rc1 patch)
> 
> BeagleBoard-X15: http://pastebin.ubuntu.com/10518934/
> 	Before: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040
> 	After: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000198 L2PFR=0x000009b0 ACTLR=0x00000040
> 
> OMAP5uEVM: http://pastebin.ubuntu.com/10518958/
> 	Before: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040
> 	After: CPUID=0x412fc0f2 L2CTLR=0x01800083 L2ACLR=0x00000198 L2PFR=0x000009b0 ACTLR=0x00000040
> 
> Beagle-XM: http://pastebin.ubuntu.com/10519417/ (this is a r2p3 device)
> 	Before: CPUID=0x413fc082 ACR=0x000000e2 L2AUXCR=0x00000042
> 	After: CPUID=0x413fc082 ACR=0x00000042 L2AUXCR=0x00000042

I also got the same results on a Beagle-XM Rev. C1
 
> I dont have access to other omap3 platforms to give a better coverage

Beagle Rev. C2 (OMAP3530): http://pastebin.com/f5JcvRf4 
	Before: CPUID=0x411fc083 ACR=0x000000e2 L2AUXCR=0x00000042
	After: CPUID=0x411fc083 ACR=0x00000042 L2AUXCR=0x00000042

Tested-by: Matt Porter <mporter at konsulko.com>
[With build workaround I noted elsewhere in the thread]

-Matt

> Sanity check:
> OMAP4Panda-ES: http://pastebin.ubuntu.com/10518971/
> 
> 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            |    5 +-
>  arch/arm/cpu/armv7/omap-common/lowlevel_init.S     |   19 +++---
>  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                         |   61 ++++++++++++++++++++
>  .../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(+), 89 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/cp15.c
>  rename arch/arm/include/asm/arch-omap3/{omap3.h => omap.h} (100%)
> 
> -- 
> 1.7.9.5
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list