Skip to contentSkip to conversation

xen: fix mcelog/stub depend issue in Kconfig

PATCH In review Yi Li 2 participants 3 messages Feb 13, 2015 Xen hypervisor interface

lore
Share & tools
lore

Yi Li

author
#0 lore raw

PATCH 1/1 xen: fix mcelog/stub depend issue in Kconfig

From: Yi Li <[email protected]>

Fix support mcelog/stub in Kconfig for Xen X86 platform

---
 drivers/xen/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/xen/Kconfig +2 -2
index b812462..83ae68a 100644
@@ -188,7 +188,7 @@ config XEN_PRIVCMD
 
 config XEN_STUB
 	bool "Xen stub drivers"
-	depends on XEN && X86_64 && BROKEN
+	depends on XEN && X86 && BROKEN
 	default n
 	help
 	  Allow kernel to install stub drivers, to reserve space for Xen drivers,
@@ -240,7 +240,7 @@ config XEN_ACPI_PROCESSOR
 
 config XEN_MCE_LOG
 	bool "Xen platform mcelog"
-	depends on XEN_DOM0 && X86_64 && X86_MCE
+	depends on XEN_DOM0 && X86 && X86_MCE
 	default n
 	help
 	  Allow kernel fetching MCE error from Xen platform and
Signature · 1 line
1.7.12.4
#1 lore raw
Quoted 4 lines · Yi Li

From: Yi Li <[email protected]>

Fix support mcelog/stub in Kconfig for Xen X86 platform

Is this actually sufficient? I'm fairly sure the Xen MCE driver does not correctly handle the 64-bit ABI that Xen provides and there would need to be some compat translations done.

Quoted 28 lines
---
 drivers/xen/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/xen/Kconfig +2 -2
index b812462..83ae68a 100644
@@ -188,7 +188,7 @@ config XEN_PRIVCMD
 
 config XEN_STUB
 	bool "Xen stub drivers"
-	depends on XEN && X86_64 && BROKEN
+	depends on XEN && X86 && BROKEN
 	default n
 	help
 	  Allow kernel to install stub drivers, to reserve space for Xen drivers,
@@ -240,7 +240,7 @@ config XEN_ACPI_PROCESSOR
 
 config XEN_MCE_LOG
 	bool "Xen platform mcelog"
-	depends on XEN_DOM0 && X86_64 && X86_MCE
+	depends on XEN_DOM0 && X86 && X86_MCE
 	default n
 	help
 	  Allow kernel fetching MCE error from Xen platform and
#2 lore raw
In reply to Yi Li
Quoted 4 lines · Yi Li

From: Yi Li <[email protected]>

Fix support mcelog/stub in Kconfig for Xen X86 platform

Is this actually sufficient? I'm fairly sure the Xen MCE driver does not correctly handle the 64-bit ABI that Xen provides and there would need to be some compat translations done.

Quoted 28 lines
---
 drivers/xen/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/xen/Kconfig +2 -2
index b812462..83ae68a 100644
@@ -188,7 +188,7 @@ config XEN_PRIVCMD
 
 config XEN_STUB
 	bool "Xen stub drivers"
-	depends on XEN && X86_64 && BROKEN
+	depends on XEN && X86 && BROKEN
 	default n
 	help
 	  Allow kernel to install stub drivers, to reserve space for Xen drivers,
@@ -240,7 +240,7 @@ config XEN_ACPI_PROCESSOR
 
 config XEN_MCE_LOG
 	bool "Xen platform mcelog"
-	depends on XEN_DOM0 && X86_64 && X86_MCE
+	depends on XEN_DOM0 && X86 && X86_MCE
 	default n
 	help
 	  Allow kernel fetching MCE error from Xen platform and