# Re: \[RFC PATCH 4/8\] powerpc: add CPU field to struct thread\_info

- From: Michael Ellerman \<mpe@ellerman.id.au\>
- Date: 2021-09-28 00:16:21 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/09/1523739
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/09/1507796/t.md

```text
Michael Ellerman [ref] writes:
> Ard Biesheuvel [ref] writes:
>> On Tue, 14 Sept 2021 at 14:11, Ard Biesheuvel [ref] wrote:
>>>
>>> The CPU field will be moved back into thread_info even when
>>> THREAD_INFO_IN_TASK is enabled, so add it back to powerpc's definition
>>> of struct thread_info.
>>>
>>> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
>>
>> Michael,
>>
>> Do you have any objections or issues with this patch or the subsequent
>> ones cleaning up the task CPU kludge for ppc32? Christophe indicated
>> that he was happy with it.
>
> No objections, it looks good to me, thanks for cleaning up that horror :)
>
> It didn't apply cleanly to master so I haven't tested it at all, if you can point me at a
> git tree with the dependencies I'd be happy to run some tests over it.

Actually I realised I can just drop the last patch.

So that looks fine, passes my standard quick build & boot on qemu tests,
and builds with/without stack protector enabled.

cheers

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
