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

Anshuman Khandual posted 2 patches 1 year, 8 months ago
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(-)
[PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]
Posted by Anshuman Khandual 1 year, 8 months ago
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@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: kvmarm@lists.linux.dev
Cc: linux-kernel@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
Re: [PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]
Posted by Catalin Marinas 1 year, 7 months ago
On Thu, 13 Jun 2024 15:57:08 +0530, Anshuman Khandual wrote:
> 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@kernel.org>
> Cc: Oliver Upton <oliver.upton@linux.dev>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: kvmarm@lists.linux.dev
> Cc: linux-kernel@vger.kernel.org
> 
> [...]

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

[1/2] KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1
      https://git.kernel.org/arm64/c/42b9fed388a5
[2/2] arm64/cpufeature: Replace custom macros with fields from ID_AA64PFR0_EL1
      https://git.kernel.org/arm64/c/056600ff7330

-- 
Catalin
Re: [PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]
Posted by Mark Rutland 1 year, 7 months ago
On Thu, Jun 13, 2024 at 03:57:08PM +0530, Anshuman Khandual wrote:
> 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@kernel.org>
> Cc: Oliver Upton <oliver.upton@linux.dev>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: kvmarm@lists.linux.dev
> Cc: linux-kernel@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

For the series:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> 
>  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
>
Re: [PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]
Posted by Anshuman Khandual 1 year, 7 months ago

On 6/13/24 15:57, Anshuman Khandual wrote:
> 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@kernel.org>
> Cc: Oliver Upton <oliver.upton@linux.dev>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: kvmarm@lists.linux.dev
> Cc: linux-kernel@vger.kernel.org
> 
> Changes in V2:
> 
> - Replaced FIELD_PREP() with SYS_FIELD_PREP_ENUM() as per Marc

Gentle ping, any updates for this series ?

> 
> 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(-)
>
Re: [PATCH V2 0/2] arm64: Drop ID_AA64PFR0_EL1_ELx_[64BIT_ONLY|32BIT_64BIT]
Posted by Anshuman Khandual 1 year, 7 months ago
On 6/20/24 08:54, Anshuman Khandual wrote:
> 
> 
> On 6/13/24 15:57, Anshuman Khandual wrote:
>> 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@kernel.org>
>> Cc: Oliver Upton <oliver.upton@linux.dev>
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Cc: Will Deacon <will@kernel.org>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Cc: Mark Brown <broonie@kernel.org>
>> Cc: linux-arm-kernel@lists.infradead.org
>> Cc: kvmarm@lists.linux.dev
>> Cc: linux-kernel@vger.kernel.org
>>
>> Changes in V2:
>>
>> - Replaced FIELD_PREP() with SYS_FIELD_PREP_ENUM() as per Marc
> 
> Gentle ping, any updates for this series ?

Gentle ping again, any updates on this ?

> 
>>
>> 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(-)
>>
>