linux_dsm_epyc7002/arch/arm64/kvm
Suzuki K Poulose 5b50468a2d KVM: arm64: Disable guest access to trace filter controls
[ Upstream commit a354a64d91eec3e0f8ef0eed575b480fd75b999c ]

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 filtering controls set by a nvhe host.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210323120647.454211-3-suzuki.poulose@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-16 11:43:19 +02:00
..
hyp KVM: arm64: Fix nVHE hyp panic host context restore 2021-03-17 17:06:37 +01:00
vgic KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace 2020-11-17 18:51:09 +00:00
aarch32.c
arch_timer.c
arm.c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM 2021-03-17 17:06:37 +01:00
debug.c KVM: arm64: Disable guest access to trace filter controls 2021-04-16 11:43:19 +02:00
fpsimd.c
guest.c
handle_exit.c
hypercalls.c
inject_fault.c
irq.h
Kconfig
Makefile
mmio.c
mmu.c KVM: arm64: Fix exclusive limit for IPA size 2021-03-17 17:06:36 +01:00
perf.c
pmu-emul.c KVM: arm64: Filter out v8.1+ events on v8.0 HW 2021-02-03 23:28:41 +01:00
pmu.c
psci.c
pvtime.c
regmap.c
reset.c KVM: arm64: Reject VM creation when the default IPA size is unsupported 2021-03-17 17:06:36 +01:00
sys_regs.c KVM: arm64: Don't access PMCR_EL0 when no PMU is available 2021-01-17 14:17:05 +01:00
sys_regs.h
trace_arm.h
trace_handle_exit.h
trace.h
va_layout.c
vgic-sys-reg-v3.c