All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: convert CONFIG_COMPAT to Kconfig
@ 2015-12-18 20:06 Doug Goldstein
  2015-12-18 21:35 ` Andrew Cooper
  0 siblings, 1 reply; 12+ messages in thread
From: Doug Goldstein @ 2015-12-18 20:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Keir Fraser, Doug Goldstein, Jan Beulich, Andrew Cooper

Use the Kconfig generated CONFIG_COMPAT defines in the code base.

CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <jbeulich@suse.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
---
This was previously Acked-by: Jan Beulich <jbeulich@suse.com> but then
there was a request to change it to xen/common/Kconfig from
xen/arch/x86/Kconfig. Unfortunately a small typo ('def_bool y' instead of
'bool') caused it to break on ARM. This resolves the issue and should be
ready to merge.
---
 config/x86_64.mk     | 1 -
 xen/arch/x86/Kconfig | 1 +
 xen/common/Kconfig   | 7 +++++++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/config/x86_64.mk b/config/x86_64.mk
index f12d549..85fa27c 100644
--- a/config/x86_64.mk
+++ b/config/x86_64.mk
@@ -2,7 +2,6 @@ CONFIG_X86 := y
 CONFIG_X86_64 := y
 CONFIG_X86_$(XEN_OS) := y
 
-CONFIG_COMPAT := y
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y
 
diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 07e366d..7d2ed96 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -3,6 +3,7 @@ config X86_64
 
 config X86
 	def_bool y
+	select COMPAT
 	select HAS_ACPI
 	select HAS_CPUFREQ
 	select HAS_EHCI
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 7d0e9a9..046e257 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -1,6 +1,13 @@
 
 menu "Common Features"
 
+config COMPAT
+	bool
+	help
+	  32-bit interface support on 64-bit Xen which is used for both
+	  HVM and PV guests. HVMLoader makes 32-bit hypercalls irrespective
+	  of the destination runmode of the guest.
+
 # Select HAS_DEVICE_TREE if device tree is supported
 config HAS_DEVICE_TREE
 	bool
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 12+ messages in thread
* Re: [PATCH v8 28/28] build: convert CONFIG_COMPAT to Kconfig
@ 2015-12-15 15:23 Jan Beulich
  2015-12-16 12:00 ` [PATCH] " Doug Goldstein
  0 siblings, 1 reply; 12+ messages in thread
From: Jan Beulich @ 2015-12-15 15:23 UTC (permalink / raw)
  To: Doug Goldstein; +Cc: Andrew Cooper, Keir Fraser, xen-devel

>>> On 15.12.15 at 14:13, <cardoe@cardoe.com> wrote:
> --- a/xen/arch/x86/Kconfig
> +++ b/xen/arch/x86/Kconfig
> @@ -24,6 +24,13 @@ config ARCH_DEFCONFIG
>  
>  menu "Architecture Features"
>  
> +config COMPAT
> +	def_bool y
> +	help
> +	  32-bit interface support on 64-bit Xen which is used for both
> +	  HVM and PV guests. HVMLoader makes 32-bit hypercalls irrespective
> +	  of the destination runmode of the guest.

This would really belong in xen/common/Kconfig and be selected by x86.

Jan

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

end of thread, other threads:[~2016-01-04 11:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 20:06 [PATCH] build: convert CONFIG_COMPAT to Kconfig Doug Goldstein
2015-12-18 21:35 ` Andrew Cooper
2015-12-18 21:49   ` Doug Goldstein
2015-12-18 22:09     ` Andrew Cooper
2015-12-20 13:42       ` Doug Goldstein
2015-12-20 15:47         ` Andrew Cooper
2015-12-21 11:32       ` Jan Beulich
2016-01-04 11:21         ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2015-12-15 15:23 [PATCH v8 28/28] " Jan Beulich
2015-12-16 12:00 ` [PATCH] " Doug Goldstein
2015-12-16 12:52   ` Jan Beulich
2015-12-16 17:01   ` Jan Beulich
2015-12-17 16:00     ` Doug Goldstein

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.