Re: [PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls

2021-03-23 Thread Suzuki K Poulose
On 23/03/2021 09:16, Marc Zyngier wrote: Hi Suzuki, On 2021-03-22 22:24, Suzuki K Poulose wrote: Hi Marc, On 25/02/2021 19:35, Suzuki K Poulose wrote: Disable guest access to the Trace Filter control registers. We do not advertise the Trace filter feature to the guest (ID_AA64DFR0_EL1: TRACE_

Re: [PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls

2021-03-23 Thread Marc Zyngier
Hi Suzuki, On 2021-03-22 22:24, Suzuki K Poulose wrote: Hi Marc, On 25/02/2021 19:35, Suzuki K Poulose wrote: Disable guest access to the Trace Filter control registers. We do not advertise the Trace filter feature to the guest (ID_AA64DFR0_EL1: TRACE_FILT is cleared) already, but the guest ca

Re: [PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls

2021-03-22 Thread Suzuki K Poulose
Hi Marc, On 25/02/2021 19:35, Suzuki K Poulose wrote: Disable guest access to the Trace Filter control registers. We do not advertise the Trace filter feature to the guest (ID_AA64DFR0_EL1: TRACE_FILT is cleared) already, but the guest can still access the TRFCR_EL1 unless we trap it. This will

[PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls

2021-02-25 Thread Suzuki K Poulose
Disable guest access to the Trace Filter control registers. We do not advertise the Trace filter feature to the guest (ID_AA64DFR0_EL1: TRACE_FILT is cleared) already, but the guest can still access the TRFCR_EL1 unless we trap it. This will also make sure that the guest cannot fiddle with the fil