Re: [PATCH v4 03/19] kvm: arm64: Hide system instruction access to Trace registers

2021-03-22 Thread Suzuki K Poulose
Will, Catalin, On 25/02/2021 19:35, Suzuki K Poulose wrote: Currently we advertise the ID_AA6DFR0_EL1.TRACEVER for the guest, when the trace register accesses are trapped (CPTR_EL2.TTA == 1). So, the guest will get an undefined instruction, if trusts the ID registers and access one of the trace

[PATCH v4 03/19] kvm: arm64: Hide system instruction access to Trace registers

2021-02-25 Thread Suzuki K Poulose
Currently we advertise the ID_AA6DFR0_EL1.TRACEVER for the guest, when the trace register accesses are trapped (CPTR_EL2.TTA == 1). So, the guest will get an undefined instruction, if trusts the ID registers and access one of the trace registers. Lets be nice to the guest and hide the feature to av