powerpc/powernv/idle: Replace CPU feature check with PVR check
authorPratik Rajesh Sampat <psampat@linux.ibm.com>
Tue, 21 Jul 2020 15:37:06 +0000 (21:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:43:36 +0000 (17:43 +1000)
commit8747bf36f312356f8a295a0c39ff092d65ce75ae
tree5b4f721231ef81514d8bc2e148fa4abd32a12a60
parent69507b984ddce803df81215cc7813825189adafa
powerpc/powernv/idle: Replace CPU feature check with PVR check

The POWER9 idle driver contains implementation-specific details that
means it is not suitable to run on any processor that implements ISA
v3.0 (e.g., POWER10), so only init the driver when running on a
POWER9.

Signed-off-by: Pratik Rajesh Sampat <psampat@linux.ibm.com>
[mpe: Use updated change log from Nick]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200721153708.89057-2-psampat@linux.ibm.com
arch/powerpc/platforms/powernv/idle.c