]> git.baikalelectronics.ru Git - kernel.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)
commit5e12efbf3eb03045c64c6359038eb318c9dbab08
tree93f11462e58eb8d31c58712a6eba5f9de6a62c29
parentc94c6841645e6c5a71c6629377d2d345eae47ddf
powerpc: Partial revert of "Context switch more PMU related SPRs"

In commit d1c5cfa 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