Re: [PATCH 2/7] powerpc: Use TIDR CPU feature to control TIDR allocation

From: Alastair D'Silva
Date: Tue Apr 17 2018 - 01:31:26 EST


On Tue, 2018-04-17 at 14:21 +1000, Andrew Donnellan wrote:
> On 17/04/18 12:09, Alastair D'Silva wrote:
> > From: Alastair D'Silva <alastair@xxxxxxxxxxx>
> >
> > Switch the use of TIDR on it's CPU feature, rather than assuming it
> > is available based on architecture.
> >
> > Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
>
> There's a use of TIDR in restore_sprs() that's behind the ARCH_300
> flag
> as well, ideally it should never trigger in the !P9_TIDR case, but
> you
> might want to update that too for clarity?
>

Thanks for the review, I'll include your suggestions in the next set.

--
Alastair D'Silva
Open Source Developer
Linux Technology Centre, IBM Australia
mob: 0423 762 819