[PATCH] arm64: ptrace: Use ARM64_SME to guard the SME register enumerations

Mark Brown broonie at kernel.org
Wed Dec 14 06:55:29 PST 2022


On Wed, Dec 14, 2022 at 09:59:43PM +0800, Zenghui Yu wrote:
> We currently guard REGSET_{SSVE, ZA} using ARM64_SVE for no good reason.
> Both enumerations would be pointless without ARM64_SME and create two empty
> entries in aarch64_regsets[] which would then become part of a process's
> native regset view (they should be ignored though).
> 
> Switch to use ARM64_SME instead.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/20221214/67103aec/attachment.sig>


More information about the linux-arm-kernel mailing list