diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-08-26 18:52:59 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-09-04 12:45:44 +0100 |
commit | 2ac638fc5724f011f8ba1b425667c5592e1571ce (patch) | |
tree | 741a3e52cba63d3d019e495f44ed041ce8a0e810 /arch/arm64/kernel/syscall.c | |
parent | 3b714d24ef173f81c78af16f73dcc9b40428c803 (diff) |
arm64: kvm: mte: Hide the MTE CPUID information from the guests
KVM does not support MTE in guests yet, so clear the corresponding field
in the ID_AA64PFR1_EL1 register. In addition, inject an undefined
exception in the guest if it accesses one of the GCR_EL1, RGSR_EL1,
TFSR_EL1 or TFSRE0_EL1 registers. While the emulate_sys_reg() function
already injects an undefined exception, this patch prevents the
unnecessary printk.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Steven Price <steven.price@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/syscall.c')
0 files changed, 0 insertions, 0 deletions