]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Partial revert of "Context switch more PMU related SPRs"
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 5 Jun 2013 18:03:36 +0000 (18:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Jun 2013 22:36:35 +0000 (08:36 +1000)
commitb11ae95100f7061b39a15e5c1ecbf862464ac4b4
tree93f11462e58eb8d31c58712a6eba5f9de6a62c29
parent6772faa1ba22eba18d087c2459030a683b65be57
powerpc: Partial revert of "Context switch more PMU related SPRs"

In commit 59affcd I added context switching of more PMU SPRs, because
they are potentially exposed to userspace on Power8. However despite me
being a smart arse in the commit message it's actually not correct. In
particular it interacts badly with a global perf record.

We will have to do something more complicated, but that will have to
wait for 3.11.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_64.S