commit | c7305645eb0c1621351cfc104038831ae87c0053 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Jan 10 03:07:15 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Jan 10 03:07:33 2018 +1100 |
tree | 269ca8ff476da11c608f2d744915ddc20772f065 | |
parent | a08f828cf47e6c605af21d2cdec68f84e799c318 [diff] |
powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL 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>