[PATCH] arm64/cpufeatures/kvm: Add ARMv8.9 FEAT_ECBHB bits in ID_AA64MMFR1 register

Catalin Marinas catalin.marinas at arm.com
Wed Jun 12 09:07:39 PDT 2024


On Tue, 11 Jun 2024 12:20:49 +0000, Nianyao Tang wrote:
> Enable ECBHB bits in ID_AA64MMFR1 register as per ARM DDI 0487K.a
> specification.
> 
> When guest OS read ID_AA64MMFR1_EL1, kvm emulate this reg using
> ftr_id_aa64mmfr1 and always return ID_AA64MMFR1_EL1.ECBHB=0 to guest.
> It results in guest syscall jump to tramp ventry, which is not needed
> in implementation with ID_AA64MMFR1_EL1.ECBHB=1.
> Let's make the guest syscall process the same as the host.
> 
> [...]

Applied to arm64 (for-next/cpufeature), thanks!

[1/1] arm64/cpufeatures/kvm: Add ARMv8.9 FEAT_ECBHB bits in ID_AA64MMFR1 register
      https://git.kernel.org/arm64/c/e8cde32f111f

-- 
Catalin




More information about the linux-arm-kernel mailing list