diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2018-01-10 03:07:15 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 20:09:35 +0100 |
| commit | 973439da1137a066f6b3f478c930edff1879dee2 (patch) | |
| tree | fe0e15b7ed8b8367bdc01bbd6388020ad554d08f /tools/perf/scripts/python | |
| parent | 8dd311f1ec740b05c851d65bab9cfdde26e35a8a (diff) | |
powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL
commit c7305645eb0c1621351cfc104038831ae87c0053 upstream.
In the SLB miss handler we may be returning to user or kernel. We need
to add a check early on and save the result in the cr4 register, and
then we bifurcate the return path based on that.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Backport to 4.4 based on patch from Balbir]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
