powerpc/64s/idle: avoid POWER9 DD1 and DD2.0 PMU workaround on DD2.1
authorNicholas Piggin <npiggin@gmail.com>
Fri, 3 Nov 2017 04:13:21 +0000 (15:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Nov 2017 11:46:16 +0000 (22:46 +1100)
commite3646330cf6667d5cced780ade80f67850c81872
treedf37a2b37ffb27c1829d637282c6e1806693b390
parent9d2f510a66ec60411536b83dab831ee091c84307
powerpc/64s/idle: avoid POWER9 DD1 and DD2.0 PMU workaround on DD2.1

DD2.1 does not have to save MMCR0 for all state-loss idle states,
only after deep idle states (like other PMU registers).

Reviewed-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/idle_book3s.S