]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add a cpu feature CPU_FTR_PMAO_BUG
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 14 Mar 2014 05:00:28 +0000 (16:00 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 23 Mar 2014 22:48:24 +0000 (09:48 +1100)
commitd3a97e72d27195f64989d7a6e378a7923fe1f191
tree545e3db0f6fb09ab21f9a37ef2c79ea26f3c26e9
parent6d1cd8d469bc30048dadac1d37b240f777ba811b
powerpc: Add a cpu feature CPU_FTR_PMAO_BUG

Some power8 revisions have a hardware bug where we can lose a
Performance Monitor (PMU) exception under certain circumstances.

We will be adding a workaround for this case, see the next commit for
details. The observed behaviour is that writing PMAO doesn't cause an
exception as we would expect, hence the name of the feature.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/cputable.c