[PATCH] arm64/sme: Always initialise TPIDR2 storage
Mark Brown
broonie at kernel.org
Fri Jul 1 07:45:44 PDT 2022
On Fri, Jul 01, 2022 at 03:40:43PM +0100, Will Deacon wrote:
> On Fri, Jul 01, 2022 at 12:34:09PM +0100, Mark Brown wrote:
> > + else
> > + p->thread.tpidr2_el0 = 0;
> Why is this needed? If !system_supports_tpidr2(), then we'll just copy the
> tpidr2_el0 field from the parent. Given that INIT_THREAD defines this to be
> zero, then it looks like it should all work out.
> What am I missing?
It should be redundant, I just had to check harder than I liked
that there wasn't a path where we could get it wrong.
-------------- 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/20220701/6de69337/attachment.sig>
More information about the linux-arm-kernel
mailing list