From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH v2] arm64: KVM: VHE: Context switch MDSCR_EL1 Date: Thu, 21 Jul 2016 15:17:20 +0200 Message-ID: <20160721131720.GA32739@potion> References: <1468933014-26966-1-git-send-email-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id C8FFE49B36 for ; Thu, 21 Jul 2016 09:11:12 -0400 (EDT) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mkYrBRrpp4uN for ; Thu, 21 Jul 2016 09:11:11 -0400 (EDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 9485449B2E for ; Thu, 21 Jul 2016 09:11:11 -0400 (EDT) Content-Disposition: inline In-Reply-To: <1468933014-26966-1-git-send-email-marc.zyngier@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Marc Zyngier Cc: kvm@vger.kernel.org, Tirumalesh Chalamarla , Paolo Bonzini , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org List-Id: kvmarm@lists.cs.columbia.edu 2016-07-19 13:56+0100, Marc Zyngier: > 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. > > Fixes: 9c6c35683286 ("arm64: KVM: VHE: Split save/restore of registers shared between guest and host") > Cc: stable@vger.kernel.org #4.6 > Reported-by: Tirumalesh Chalamarla > Tested-by: Tirumalesh Chalamarla > Signed-off-by: Marc Zyngier > --- I would take this patch to 4.7 directly through the main tree. Are your plans different? Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: rkrcmar@redhat.com (Radim =?utf-8?B?S3LEjW3DocWZ?=) Date: Thu, 21 Jul 2016 15:17:20 +0200 Subject: [PATCH v2] arm64: KVM: VHE: Context switch MDSCR_EL1 In-Reply-To: <1468933014-26966-1-git-send-email-marc.zyngier@arm.com> References: <1468933014-26966-1-git-send-email-marc.zyngier@arm.com> Message-ID: <20160721131720.GA32739@potion> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 2016-07-19 13:56+0100, Marc Zyngier: > 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. > > Fixes: 9c6c35683286 ("arm64: KVM: VHE: Split save/restore of registers shared between guest and host") > Cc: stable at vger.kernel.org #4.6 > Reported-by: Tirumalesh Chalamarla > Tested-by: Tirumalesh Chalamarla > Signed-off-by: Marc Zyngier > --- I would take this patch to 4.7 directly through the main tree. Are your plans different? Thanks.