[PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]

Anshuman Khandual anshuman.khandual at arm.com
Thu Jun 13 03:27:08 PDT 2024


This series replaces custom macros usage for ID_AA64PFR0_EL1_ELx_64BIT_ONLY
and ID_AA64PFR0_EL1_ELx_32BIT_64BIT fields, thus finally just dropping them
off completely. This series applies on v6.10-rc3

Cc: Marc Zyngier <maz at kernel.org>
Cc: Oliver Upton <oliver.upton at linux.dev>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Mark Brown <broonie at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: kvmarm at lists.linux.dev
Cc: linux-kernel at vger.kernel.org

Changes in V2:

- Replaced FIELD_PREP() with SYS_FIELD_PREP_ENUM() as per Marc

Changes in V1:

https://lore.kernel.org/all/20240418053804.2573071-1-anshuman.khandual@arm.com/

Anshuman Khandual (2):
  KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1
  arm64/cpufeature: Replace custom macros with fields from ID_AA64PFR0_EL1

 arch/arm64/include/asm/cpufeature.h            |  4 ++--
 arch/arm64/include/asm/sysreg.h                |  4 ----
 arch/arm64/kernel/cpufeature.c                 |  4 ++--
 arch/arm64/kvm/hyp/include/nvhe/fixed_config.h | 10 +++++-----
 arch/arm64/kvm/hyp/nvhe/pkvm.c                 |  4 ++--
 arch/arm64/kvm/hyp/nvhe/sys_regs.c             |  2 +-
 6 files changed, 12 insertions(+), 16 deletions(-)

-- 
2.30.2




More information about the linux-arm-kernel mailing list