On Friday, 29 June 2018 22:37:02 MSK Peter Geis wrote: > Good Afternoon, > > I have tested these patches on the Ouya T3 device. > They work great to enable the L2 cache controller, however they do not > respect explicitly disabling the L2 cache controller via the kernel > config nor device tree. > > With CONFIG_CACHE_L2X0 disabled, but CONFIG_TRUSTED_FOUNDATIONS enabled, > the L2 cache controller is silently enabled and allows all four cores to > boot. >
I don't see how cache could be enabled with CONFIG_CACHE_L2X0 disabled, there is no code to do that. Could you elaborate please? Secondary cores do not depend on the cache state, disabled cache shouldn't prevent them to boot. > One must also disable CONFIG_TRUSTED_FOUNDATIONS to stop the L2 cache > controller from spinning up. > > Tested-by: Peter Geis <pgwipe...@gmail.com> >