All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Let x2APIC support depend on interrupt remapping or guest support
@ 2015-05-04 15:58 Jan Kiszka
  2015-05-05 12:03 ` [tip:x86/apic] " tip-bot for Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2015-05-04 15:58 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin
  Cc: Linux Kernel Mailing List, x86

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 <jan.kiszka@siemens.com>
---
 arch/x86/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 226d569..95ec1ad 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -341,7 +341,7 @@ config X86_FEATURE_NAMES
 
 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.
 
-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/apic] x86: Let x2APIC support depend on interrupt remapping or guest support
  2015-05-04 15:58 [PATCH] x86: Let x2APIC support depend on interrupt remapping or guest support Jan Kiszka
@ 2015-05-05 12:03 ` tip-bot for Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jan Kiszka @ 2015-05-05 12:03 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: mingo, hpa, jan.kiszka, linux-kernel, tglx

Commit-ID:  19e3d60d49f05a9de0ef06c60703f31d4acd5f17
Gitweb:     http://git.kernel.org/tip/19e3d60d49f05a9de0ef06c60703f31d4acd5f17
Author:     Jan Kiszka <jan.kiszka@siemens.com>
AuthorDate: Mon, 4 May 2015 17:58:01 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 5 May 2015 14:01:37 +0200

x86: Let x2APIC support depend on interrupt remapping or guest support

We are able to use x2APIC mode in the absence of interrupt remapping on
certain hypervisors. So it is fine to disable IRQ_REMAP without having
to give up x2APIC support.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Link: http://lkml.kernel.org/r/55479709.4030901@siemens.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/x86/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c86fdc1..3c17c04 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -340,7 +340,7 @@ config X86_FEATURE_NAMES
 
 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.
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-05 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 15:58 [PATCH] x86: Let x2APIC support depend on interrupt remapping or guest support Jan Kiszka
2015-05-05 12:03 ` [tip:x86/apic] " tip-bot for Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.