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)
commit68f2f0d431d9ea4fbd373cd31e828b0ceaefea30
tree545e3db0f6fb09ab21f9a37ef2c79ea26f3c26e9
parent5f6d0380c64051400961accf99ec41e70ec6d8ca
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