[PATCH v6 2/9] arm64: report address tag when FEAT_MTE_TAGGED_FAR is supported

Mark Brown broonie at kernel.org
Wed Jun 11 05:35:22 PDT 2025


On Wed, Jun 11, 2025 at 12:19:57PM +0000, Yeo Reum Yun wrote:
> Hi Mark,
> 
> > > +HWCAP3_MTE_FAR
> >
> > > +    Functionality implied by ID_AA64PFR2_EL1.MTEFAR == 0b0001.
> > > +Applications should interpret the values of these bits based on
> > > +the support for the 'mte_far' hwcap. If the support is not present,
> > > +the values of these bits should be considered as undefined otherwise valid.
> >
> > The constant is HWCAP3_MTE_FAR and the cpuinfo is mtefar:
> >
> > +     [KERNEL_HWCAP_MTE_FAR]          = "mtefar",
> >
> > The reference to the hwcap should probably be one of these, I'd go for
> > HWCAP3_MTE_FAR since it says hwcap.

> Just for confirmation. so change to "mtefar" -> "mte_far"
> Am I missing?

I'd write it as HWCAP3_MTE_FAR since that's the thing you're
referencing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250611/ce2e9094/attachment.sig>


More information about the linux-arm-kernel mailing list