From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH] x86: Make x2APIC support depend on interrupt remapping or guest support Date: Sat, 05 Jul 2014 09:47:54 +0200 Message-ID: <53B7ADAA.9030101@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L4d9CPwlM73RErRFrTnDBeJpWND7iUuV4" Cc: kvm To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86 , Linux Kernel Mailing List Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --L4d9CPwlM73RErRFrTnDBeJpWND7iUuV4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable From: Jan Kiszka We are able to use x2APIC mode in the absence of interrupt remapping on certain hypervisors. So it if fine to disable IRQ_REMAP without having to give up x2APIC support. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a8f749e..30a9987 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -310,7 +310,7 @@ config SMP =20 config X86_X2APIC bool "Support x2apic" - depends on X86_LOCAL_APIC && X86_64 && IRQ_REMAP + depends on X86_LOCAL_APIC && X86_64 && (IRQ_REMAP || HYPERVISOR_GUEST) ---help--- This enables x2apic support on CPUs that have this feature. =20 --L4d9CPwlM73RErRFrTnDBeJpWND7iUuV4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlO3raoACgkQitSsb3rl5xQ/HwCeM3X6wc7QGzLsQePFkPhXZ3y9 9HEAnRd5kYJfkftMltEH8BLkCGJ3l6hG =zU68 -----END PGP SIGNATURE----- --L4d9CPwlM73RErRFrTnDBeJpWND7iUuV4--