powerpc/64: Fix setting of AIL in hypervisor mode

Michael Ellerman patch-notifications at ellerman.id.au
Thu Nov 17 16:00:46 AEDT 2016


On Tue, 2016-15-11 at 04:28:33 UTC, Benjamin Herrenschmidt wrote:
> 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()
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Fixes: d3cbff1b5 ("powerpc: Put exception configuration in a common place")
> CC: stable at vger.kernel.org # v4.8+

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/c0a36013639b06760f7c2c21a8387e

cheers


More information about the Linuxppc-dev mailing list