summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2021-03-23 12:06:30 +0000
committerMarc Zyngier <maz@kernel.org>2021-03-24 17:26:38 +0000
commita354a64d91eec3e0f8ef0eed575b480fd75b999c (patch)
tree116271c774f2d120987c46acfe10b64c5a985bcb /arch/s390
parent1d676673d665fd2162e7e466dcfbe5373bfdb73e (diff)
downloadlinux-stable-a354a64d91eec3e0f8ef0eed575b480fd75b999c.tar.gz
linux-stable-a354a64d91eec3e0f8ef0eed575b480fd75b999c.tar.bz2
linux-stable-a354a64d91eec3e0f8ef0eed575b480fd75b999c.zip
KVM: arm64: Disable guest access to trace filter controls
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
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions