[PATCH] arm64: KVM: VHE: Context switch MDSCR_EL1

Marc Zyngier marc.zyngier at arm.com
Tue Jul 19 05:44:15 PDT 2016


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 at cavium.com>
>> Tested-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla at cavium.com>
>> Signed-off-by: Marc Zyngier <marc.zyngier at 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...



More information about the linux-arm-kernel mailing list