[PATCH] KVM: arm64: Relax trapping of CTR_EL0 when FEAT_EVT is available

Oliver Upton oliver.upton at linux.dev
Sun May 21 12:19:50 PDT 2023


On Mon, 15 May 2023 18:00:16 +0100, Marc Zyngier wrote:
> CTR_EL0 can often be used in userspace, and it would be nice if
> KVM didn't have to emulate it unnecessarily.
> 
> While it isn't possible to trap the cache configuration registers
> indemendently from CTR_EL0 in the base ARMv8.0 architecture, FEAT_EVT
> allows these cache configuration registers (CCSIDR_EL1, CCSIDR2_EL1,
> CLIDR_EL1 and CSSELR_EL1) to be trapped indepdently by setting
> HCR_EL2.TID4.
> 
> [...]

Applied to kvmarm/next, thanks!

[1/1] KVM: arm64: Relax trapping of CTR_EL0 when FEAT_EVT is available
      https://git.kernel.org/kvmarm/kvmarm/c/c876c3f182a5

--
Best,
Oliver



More information about the linux-arm-kernel mailing list