From: Marc Zyngier <marc.zyngier@arm.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
Subject: Re: [PATCH] arm64: KVM: VHE: Context switch MDSCR_EL1
Date: Tue, 19 Jul 2016 13:44:15 +0100 [thread overview]
Message-ID: <578E209F.10107@arm.com> (raw)
In-Reply-To: <d1313d99-31dd-e799-7f5b-fb03f928cefd@redhat.com>
On 19/07/16 13:25, Paolo Bonzini wrote:
>
>
> On 19/07/2016 10:57, Marc Zyngier wrote:
>> The kprobe enablement work has uncovered that changes made by
>> a guest to MDSCR_EL1 were propagated to the host when VHE was
>> enabled, leading to unexpected exception being delivered.
>>
>> Moving this register to the list of registers that are always
>> context-switched fixes the issue.
>>
>> Reported-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
>> Tested-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>> ---
>> arch/arm64/kvm/hyp/sysreg-sr.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
[...]
> Can you add Fixes and Cc: stable headers? Thanks,
Ah, I missed that. Thanks for the heads up, v2 coming shortly.
M.
--
Jazz is not dead. It just smells funny...
WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: KVM: VHE: Context switch MDSCR_EL1
Date: Tue, 19 Jul 2016 13:44:15 +0100 [thread overview]
Message-ID: <578E209F.10107@arm.com> (raw)
In-Reply-To: <d1313d99-31dd-e799-7f5b-fb03f928cefd@redhat.com>
On 19/07/16 13:25, Paolo Bonzini wrote:
>
>
> On 19/07/2016 10:57, Marc Zyngier wrote:
>> The kprobe enablement work has uncovered that changes made by
>> a guest to MDSCR_EL1 were propagated to the host when VHE was
>> enabled, leading to unexpected exception being delivered.
>>
>> Moving this register to the list of registers that are always
>> context-switched fixes the issue.
>>
>> Reported-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
>> Tested-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>> ---
>> arch/arm64/kvm/hyp/sysreg-sr.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
[...]
> Can you add Fixes and Cc: stable headers? Thanks,
Ah, I missed that. Thanks for the heads up, v2 coming shortly.
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2016-07-19 12:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 8:57 [PATCH] arm64: KVM: VHE: Context switch MDSCR_EL1 Marc Zyngier
2016-07-19 8:57 ` Marc Zyngier
2016-07-19 12:25 ` Paolo Bonzini
2016-07-19 12:25 ` Paolo Bonzini
2016-07-19 12:44 ` Marc Zyngier [this message]
2016-07-19 12:44 ` Marc Zyngier
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=578E209F.10107@arm.com \
--to=marc.zyngier@arm.com \
--cc=Tirumalesh.Chalamarla@cavium.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=pbonzini@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.