Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438737 > unrolled thread

[PATCH v2 08/13] KVM: VMX: optimize APIC ID read with APICv

Started byRadim Krčmář <rkrcmar@redhat.com>
First post2016-07-07 19:20 +0200
Last post2016-07-07 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 08/13] KVM: VMX: optimize APIC ID read with APICv Radim Krčmář <rkrcmar@redhat.com> - 2016-07-07 19:20 +0200

#1438737 — [PATCH v2 08/13] KVM: VMX: optimize APIC ID read with APICv

FromRadim Krčmář <rkrcmar@redhat.com>
Date2016-07-07 19:20 +0200
Subject[PATCH v2 08/13] KVM: VMX: optimize APIC ID read with APICv
Message-ID<rSl7X-1t6-5@gated-at.bofh.it>
The register is in hardware-compatible format now, so there is not need
to intercept.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
---
 v2: r-b Paolo

 arch/x86/kvm/vmx.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index e564fa2c7ac8..0a6a8845ea0c 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -6447,9 +6447,6 @@ static __init int hardware_setup(void)
 	for (msr = 0x800; msr <= 0x8ff; msr++)
 		vmx_disable_intercept_msr_read_x2apic(msr);
 
-	/* According SDM, in x2apic mode, the whole id reg is used.  But in
-	 * KVM, it only use the highest eight bits. Need to intercept it */
-	vmx_enable_intercept_msr_read_x2apic(0x802);
 	/* TMCCT */
 	vmx_enable_intercept_msr_read_x2apic(0x839);
 	/* TPR */
-- 
2.9.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web