[U-Boot] [PATCH 1/3] ARM: implement some Cortex-A9 errata workarounds

Stephen Warren swarren at wwwdotorg.org
Thu Feb 28 18:08:33 CET 2013


On 02/26/2013 03:28 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> Various errata exist in the Cortex-A9 CPU, and may be worked around by
> setting some bits in a CP15 diagnostic register. Add code to implement
> the workarounds, enabled by new CONFIG_ options.
> 
> This code was taken from the Linux kernel, v3.8, arch/arm/mm/proc-v7.S,
> and modified to remove the logic to conditionally apply the WAR (since we
> know exactly which CPU we're running on given the U-Boot configuration),
> and use r0 instead of r10 for consistency with the rest of U-Boot's
> cpu_init_cp15().

Hmmm. Lets hold off on this series; there are some conditions under
which the kernel has to be able to apply these WARs anyway (e.g. SMP CPU
power saving), which may impact which of the WARs the bootloader should
apply even when booting the initial CPU 0. I'll repost once that's been
resolved.


More information about the U-Boot mailing list