diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-06-10 16:46:21 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 17:03:41 +1000 |
commit | 3df48c981d5a9610e02e9270b1bc4274fb536710 (patch) | |
tree | 24eff58c6d06a87f4413ab43c481d14c864d2b25 /tools | |
parent | caf69ba62768d3bae4fa8e6ad734cd5565207bd4 (diff) |
powerpc/perf: Ensure all EBB register state is cleared on fork()
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>
Cc: stable@vger.kernel.org [v3.11+]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions