From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dr. David Alan Gilbert (git)" Subject: [PATCH 0/2] Lapic LDR fixup Date: Fri, 17 Nov 2017 11:52:48 +0000 Message-ID: <20171117115250.7564-1-dgilbert@redhat.com> Cc: pbonzini@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33526 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753684AbdKQLww (ORCPT ); Fri, 17 Nov 2017 06:52:52 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E645CC049D7F for ; Fri, 17 Nov 2017 11:52:51 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: From: "Dr. David Alan Gilbert" In x2apic mode the LDR should be fixed, however it gets overwritten when the lapic state is loaded after a migration. Change the fixup to keep LDR constant. Dave Dr. David Alan Gilbert (2): KVM: lapic: Split out x2apic ldr calculation KVM: lapic: Fixup LDR on load in x2apic arch/x86/kvm/lapic.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) -- 2.14.3