summaryrefslogtreecommitdiff
path: root/arch/powerpc/configs
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2014-06-10 16:46:21 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-06 18:57:28 -0700
commit7c16113243a7110a5e4b99db5cdfb077527c8526 (patch)
treea9d2dd7308b29ac7bde4e706264b188276f2481a /arch/powerpc/configs
parent50d4ff8de5263af02b63a97da867a21854d2c1a6 (diff)
powerpc/perf: Ensure all EBB register state is cleared on fork()
commit 3df48c981d5a9610e02e9270b1bc4274fb536710 upstream. In commit 330a1eb "Core EBB support for 64-bit book3s" I messed up clear_task_ebb(). It clears some but not all of the task's Event Based Branch (EBB) registers when we duplicate a task struct. That allows a child task to observe the EBBHR & EBBRR of its parent, which it should not be able to do. Fix it by clearing EBBHR & EBBRR. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/configs')
0 files changed, 0 insertions, 0 deletions