]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1
authorAnshuman Khandual <anshuman.khandual@arm.com>
Thu, 13 Jun 2024 10:27:09 +0000 (15:57 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 4 Jul 2024 11:21:12 +0000 (12:21 +0100)
commit42b9fed388a510cdb17d25c0dc1c8b72c4828cea
treef0beeb1eb1ee379847bd5e41cd17beef37f5685e
parente8cde32f111f7f5681a7bad3ec747e9e697569a9
KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1

This replaces custom macros usage (i.e ID_AA64PFR0_EL1_ELx_64BIT_ONLY and
ID_AA64PFR0_EL1_ELx_32BIT_64BIT) and instead directly uses register fields
from ID_AA64PFR0_EL1 sysreg definition.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: kvmarm@lists.linux.dev
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20240613102710.3295108-2-anshuman.khandual@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
arch/arm64/kvm/hyp/nvhe/pkvm.c
arch/arm64/kvm/hyp/nvhe/sys_regs.c