[PATCH v9 04/29] arm64: kvm: mte: Hide the MTE CPUID information from the guests

Marc Zyngier maz at kernel.org
Fri Sep 4 06:46:56 EDT 2020


On Fri, 04 Sep 2020 11:30:04 +0100,
Catalin Marinas <catalin.marinas at arm.com> wrote:
> 
> 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 at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
> Cc: Steven Price <steven.price at arm.com>

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list