From mboxrd@z Thu Jan 1 00:00:00 1970 From: jcm@jonmasters.org (Jon Masters) Date: Sat, 9 Jun 2018 09:09:35 -0400 Subject: [PATCH v2 12/17] arm64: KVM: Add ARCH_WORKAROUND_2 support for guests In-Reply-To: <20180529121121.24927-13-marc.zyngier@arm.com> References: <20180529121121.24927-1-marc.zyngier@arm.com> <20180529121121.24927-13-marc.zyngier@arm.com> Message-ID: <98318e6c-adcd-ddb8-ad92-e7c1fa771c84@jonmasters.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05/29/2018 08:11 AM, Marc Zyngier wrote: > In order to offer ARCH_WORKAROUND_2 support to guests, we need > a bit of infrastructure. > > Let's add a flag indicating whether or not the guest uses > SSBD mitigation. Depending on the state of this flag, allow > KVM to disable ARCH_WORKAROUND_2 before entering the guest, > and enable it when exiting it. ...Live migration? Jon.