[PATCH 1/2] ARM: realview: Fix PBX-A9 cache description
Linus Walleij
linus.walleij at linaro.org
Fri Jul 22 08:02:26 PDT 2016
On Fri, Jul 15, 2016 at 2:19 PM, Robin Murphy <robin.murphy at arm.com> wrote:
> Clearly QEMU is very permissive in how its PL310 model may be set up,
> but the real hardware turns out to be far more particular about things
> actually being correct. Fix up the DT description so that the real
> thing actually boots:
>
> - The arm,data-latency and arm,tag-latency properties need 3 cells to
> be valid, otherwise we end up retaining the default 8-cycle latencies
> which leads pretty quickly to lockup.
> - The arm,dirty-latency property is only relevant to L210/L220, so get
> rid of it.
> - The cache geometry override also leads to lockup and/or general
> misbehaviour. Irritatingly, the manual doesn't state the actual PL310
> configuration, but based on the boardfile code and poking registers
> from the Boot Monitor, it would seem to be 8 sets of 16KB ways.
>
> With that, we can successfully boot to enjoy the fun of mismatched FPUs...
>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
Sorry for screwing things up! :(
Patch applied with Rutland's Test tag, I will carry this to ARM SoC as a fix.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list