Re: [PATCH v3] ARM: l2c: honour status = "disabled" on the L2 cache node

From: Arnd Bergmann

Date: Mon Nov 30 2026 - 02:07:48 EST


On Sun, Nov 29, 2026, at 22:55, Stefan Dösinger wrote:
> Am Donnerstag, 19. November 2026, 13:09:22 Ostafrikanische Zeit schrieb
> Agustin Santiago Isasmendi:
>> l2x0_of_init() looks the L2 cache node up by compatible and enables the
>> cache whatever its status property says, so a device tree cannot keep
>> the L2 cache off.
>>
>> On the ZTE ZX279128S (dual Cortex-A9, L2C-310 r3p3) a PCIe read on one
>> CPU deadlocks against an L2C-310 line operation by physical address or a
>> Cache Sync on the other CPU, and the board hangs within seconds of WiFi
>> traffic. Running with the L2 cache off avoids the deadlock, so a board
>> needs a way to say so.
>
> To give this patch a nudge, and in case someone was waiting for me:
>
> Acked-by: Stefan Dösinger <stefandoesinger@xxxxxxxxx> # as ZTE ZX maintainer
>
> I can't say too much as my ZTE ZX SoC has no PCI at all, but the explanation
> of the hardware problem and choice of workaround makes sense to me.

Agustin, please follow the instructions at
https://www.arm.linux.org.uk/developer/patches/info.php to add your
patch to Russell's patch tracker for 7.5.

Arnd