On Tue, Jan 25, 2022 at 01:22:51PM +0000, Marc Zyngier wrote:
Mark Brown broonie@kernel.org wrote:
I find the use of CPACR_EL1_SMEN in some cases and its individual bits in some others pretty confusing. I understand that you have modelled it after the SVE code, but maybe this is a mistake we don't need to repeat. I'd be in favour of directly exposing the individual bits in all cases.
OK, it is just the KVM code that uses the plain ZEN. I'll add a cleanup patch for that at the start of the series for ZEN I guess otherwise it looks worse, though that will inflate the size of the series a bit.
I'm happy to merge such a patch early if that helps.
That'd be good. There's also similar stuff going on with FPEN BTW (which is I imagine where the SVE stuff came from).