l2c: Kernel panic in l2c310_enable() in non-secure mode

Marc Gonzalez marc_gonzalez at sigmadesigns.com
Thu Oct 15 01:56:50 PDT 2015

On 14/10/2015 19:06, Rob Herring wrote:

> Yes, FLOZ has to be enabled after enabling the L2 and disabled before
> disabling the L2.

Is FLOZ merely a performance optimization?

Have you (or someone else) measured the impact of having it enabled vs disabled?

>> I suppose a work-around might be to set NSACR[18]?
> You may find you need that anyway for control of the SMP bit if you
> shut off cores.


Usage constraints
The ACTLR is: [...] RW in Non-secure state if NSACR.NS_SMP = 1.
In this case all bits are Write Ignore except for the SMP bit.

Thus, even if my firmware sets NSACR.NS_SMP, Linux won't be able to
set bits 1,2,3 in ACTLR.


More information about the linux-arm-kernel mailing list