[PATCH v3 0/7] arm64/cpufeature: Make use of sysreg helpers for hwcaps

Catalin Marinas catalin.marinas at arm.com
Wed Jan 11 10:26:57 PST 2023


On Tue, Dec 27, 2022 at 12:55:54PM +0000, Mark Brown wrote:
> Now that all the ID registers we use have been converted to automatic
> register generation we can start to make use of the regular definitions
> we have for the registers and their bitfields to make the hwcap tables
> easier to write and review.  This series does that, updating the macros
> used to generate the hwcaps to provide what should be clearer and less
> error prone specifications for the hwcaps.  We move from specifying like
> this:
> 
>       HWCAP_CAP(SYS_ID_AA64PFR1_EL1, ID_AA64PFR1_EL1_BT_SHIFT, 4, FTR_UNSIGNED, ID_AA64PFR1_EL1_BT_IMP, CAP_HWCAP, KERNEL_HWCAP_BTI),
> 
> to this:
> 
>       HWCAP_CAP(ID_AA64PFR1_EL1, BT, IMP, CAP_HWCAP, KERNEL_HWCAP_BTI),

I'm fine with this series but apart from the first two patches (fixes),
there's a high risk of complicated conflicts with other patchsets (that
may or may not be merged through the arm64 tree). Could we instead merge
this series in the second part of the 6.3 merging window?

-- 
Catalin



More information about the linux-arm-kernel mailing list