diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-11-15 15:28:33 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-26 09:56:55 +0100 |
commit | 3eac4767dd7ec81e2ecc6d9a039b7d5b3a811ad6 (patch) | |
tree | 8bdfac7ffabd2072ae44067a71c4acf3244196e6 /drivers | |
parent | fc312878ffe36d76c265ac0588393f823b65033e (diff) | |
download | lwn-3eac4767dd7ec81e2ecc6d9a039b7d5b3a811ad6.tar.gz lwn-3eac4767dd7ec81e2ecc6d9a039b7d5b3a811ad6.zip |
powerpc/64: Fix setting of AIL in hypervisor mode
commit c0a36013639b06760f7c2c21a8387eac855432e1 upstream.
Commit d3cbff1b5 "powerpc: Put exception configuration in a common place"
broke the setting of the AIL bit (which enables taking exceptions with
the MMU still on) on all processors, moving it incorrectly to a function
called only on the boot CPU. This was correct for the guest case but
not when running in hypervisor mode.
This fixes it by partially reverting that commit, putting the setting
back in cpu_ready_for_interrupts()
Fixes: d3cbff1b5a90 ("powerpc: Put exception configuration in a common place")
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions