Re: [PATCH v4 1/2] powerpc/time: Only set CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC64

From: Christophe Leroy
Date: Wed Aug 14 2019 - 02:31:31 EST


Hi Nick,


Le 07/06/2018 Ã 03:43, Nicholas Piggin a ÃcritÂ:
On Wed, 6 Jun 2018 14:21:08 +0000 (UTC)
Christophe Leroy <christophe.leroy@xxxxxx> wrote:

scaled cputime is only meaningfull when the processor has
SPURR and/or PURR, which means only on PPC64.


[...]


I wonder if we could make this depend on PPC_PSERIES or even
PPC_SPLPAR as well? (That would be for a later patch)

Can we go further on this ?

Do we know exactly which configuration support scaled cputime, in extenso have SPRN_SPURR and/or SPRN_PURR ?

Ref https://github.com/linuxppc/issues/issues/171

Christophe