[PATCH v5 1/2] arm64: Add feature detection for fine grained traps
Mark Brown
broonie at kernel.org
Sun Jul 16 07:46:56 PDT 2023
On Sun, Jul 16, 2023 at 10:44:01PM +0800, Zenghui Yu wrote:
> On 2023/7/12 20:50, Mark Brown wrote:
> > + {
> > + .desc = "Fine Grained Traps",
> > + .type = ARM64_CPUCAP_SYSTEM_FEATURE,
> > + .capability = ARM64_HAS_FGT,
> > + .sys_reg = SYS_ID_AA64MMFR0_EL1,
> > + .sign = FTR_UNSIGNED,
> > + .field_pos = ID_AA64MMFR0_EL1_FGT_SHIFT,
> > + .field_width = 4,
> > + .min_field_value = 1,
> > + .matches = has_cpuid_feature,
> > + },
> Any reason not to use the ARM64_CPUID_FIELDS() helper?
It should - the original was sent out before that was merged.
-------------- 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/20230716/1af685c1/attachment.sig>
More information about the linux-arm-kernel
mailing list