[PATCH v1 12/38] arm64/sme: Provide ABI documentation for SME

Mark Brown broonie at kernel.org
Mon Oct 11 13:10:05 PDT 2021


On Mon, Oct 11, 2021 at 03:19:37PM +0100, Szabolcs Nagy wrote:

> if fork resets tpidr2 then returning to a stack frame
> that set tpidr2 could cause clobbered za state.
> (userspace can fix this up, but if we want this case
> to work then it's better to fix it on the kernel side)

OK, that makes sense.  I've changed the code and the kselftest so that
TPIDR2 is preserved on thread creation.
-------------- 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/20211011/3bac7829/attachment.sig>


More information about the linux-arm-kernel mailing list