[PATCH] arm64: Make icache detection a cpu capability

Will Deacon will at kernel.org
Mon Dec 11 05:11:31 PST 2023


On Tue, Dec 05, 2023 at 01:31:48PM +0000, Marc Zyngier wrote:
> Now that we only have two icache policies, we are in a good position
> to make the whole detection business more robust.
> 
> Let's replace __icache_flags by a single capability (ICACHE_PIPT),
> and use this if all CPUs are indeed PIPT. It means we can rely on
> existing logic to mandate that a VIPT CPU coming up late will be
> denied booting, which is the safe thing to do.

Why do we want to prevent that? We currently allow it and I'm not seeing
what goes wrong.

Will



More information about the linux-arm-kernel mailing list