From: Michael Ellerman <patch-notifications@ellerman•id.au>
To: Benjamin Herrenschmidt <benh@kernel•crashing.org>,
linuxppc-dev@lists•ozlabs.org
Cc: Anton Blanchard <anton@au1•ibm.com>
Subject: Re: powerpc/64: Fix setting of AIL in hypervisor mode
Date: Thu, 17 Nov 2016 16:00:46 +1100 (AEDT) [thread overview]
Message-ID: <3tK88Z4mXzz9t0X@ozlabs.org> (raw)
In-Reply-To: <1479184113.2608.45.camel@kernel.crashing.org>
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@kernel•crashing.org>
> Fixes: d3cbff1b5 ("powerpc: Put exception configuration in a common place")
> CC: stable@vger•kernel.org # v4.8+
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/c0a36013639b06760f7c2c21a8387e
cheers
next prev parent reply other threads:[~2016-11-17 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 4:28 [PATCH] powerpc/64: Fix setting of AIL in hypervisor mode Benjamin Herrenschmidt
2016-11-17 5:00 ` Michael Ellerman [this message]
2016-11-17 22:38 ` Michael Neuling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3tK88Z4mXzz9t0X@ozlabs.org \
--to=patch-notifications@ellerman$(echo .)id.au \
--cc=anton@au1$(echo .)ibm.com \
--cc=benh@kernel$(echo .)crashing.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox