Skip to content
Commit fc37a163 authored by Desnes A. Nunes do Rosario's avatar Desnes A. Nunes do Rosario Committed by Michael Ellerman
Browse files

powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems

PowerVM systems running compatibility mode on a few Power8 revisions are
still vulnerable to the hardware defect that loses PMU exceptions arriving
prior to a context switch.

The software fix for this issue is enabled through the CPU_FTR_PMAO_BUG
cpu_feature bit, nevertheless this bit also needs to be set for PowerVM
compatibility mode systems.

Fixes: 68f2f0d4

 ("powerpc: Add a cpu feature CPU_FTR_PMAO_BUG")
Signed-off-by: default avatarDesnes A. Nunes do Rosario <desnesn@linux.ibm.com>
Reviewed-by: default avatarLeonardo Bras <leonardo@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200227134715.9715-1-desnesn@linux.ibm.com
parent cb0cc635
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment