From: Greg KH <greg@kroah.com>
To: Vladimir Murzin <vladimir.murzin@arm.com>
Cc: stable@vger.kernel.org, christoffer.dall@linaro.org,
james.morse@arm.com, marc.zyngier@arm.com
Subject: Re: [PATCH] arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2
Date: Wed, 26 Oct 2016 10:42:59 +0200 [thread overview]
Message-ID: <20161026084259.GF13578@kroah.com> (raw)
In-Reply-To: <1476456552-31605-1-git-send-email-vladimir.murzin@arm.com>
On Fri, Oct 14, 2016 at 03:49:12PM +0100, Vladimir Murzin wrote:
> commit cb96408da4e11698674abd04aeac941c1bed2038 upstream.
>
> SCTLR_EL2.SPAN bit controls what happens with the PSTATE.PAN bit on an
> exception. However, this bit has no effect on the PSTATE.PAN when
> HCR_EL2.E2H or HCR_EL2.TGE is unset. Thus when VHE is used and
> exception taken from a guest PSTATE.PAN bit left unchanged and we
> continue with a value guest has set.
>
> To address that always reset PSTATE.PAN on entry from EL1.
>
> Fixes: 1f364c8c48a0 ("arm64: VHE: Add support for running Linux in EL2 mode")
>
> [ rebased for v4.7+ ]
Thanks for the rebase!
greg k-h
prev parent reply other threads:[~2016-10-26 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 14:49 [PATCH] arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2 Vladimir Murzin
2016-10-26 8:42 ` Greg KH [this message]
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=20161026084259.GF13578@kroah.com \
--to=greg@kroah.com \
--cc=christoffer.dall@linaro.org \
--cc=james.morse@arm.com \
--cc=marc.zyngier@arm.com \
--cc=stable@vger.kernel.org \
--cc=vladimir.murzin@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).