All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper
@ 2014-06-09 18:36 Luis R. Rodriguez
  2014-06-09 18:36 ` [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm Luis R. Rodriguez
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-06-09 18:36 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: x86, linux-kernel, Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This can then be used by other virtual configs.

Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/x86/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 33f71b0..c78747b 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -250,11 +250,15 @@ archclean:
 	$(Q)$(MAKE) $(clean)=$(boot)
 	$(Q)$(MAKE) $(clean)=arch/x86/tools
 
+define build-virtconfig
+$(if $(wildcard $(objtree)/.config),, $(error You need an existing .config for this target))
+$(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree) $(objtree)/.config $(srctree)/arch/x86/configs/$(1)
+$(Q)yes "" | $(MAKE) -f $(srctree)/Makefile oldconfig
+endef
+
 PHONY += kvmconfig
 kvmconfig:
-	$(if $(wildcard $(objtree)/.config),, $(error You need an existing .config for this target))
-	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree) $(objtree)/.config $(srctree)/arch/x86/configs/kvm_guest.config
-	$(Q)yes "" | $(MAKE) -f $(srctree)/Makefile oldconfig
+	$(call build-virtconfig,kvm_guest.config)
 
 define archhelp
   echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
-- 
2.0.0.rc3.18.g00a5b79


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

* [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm
  2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
  2014-06-09 18:36 ` [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm Luis R. Rodriguez
@ 2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 18:36 ` [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper Luis R. Rodriguez
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-06-09 18:36 UTC (permalink / raw)
  To: tglx, mingo, hpa
  Cc: x86, linux-kernel, Luis R. Rodriguez, Borislav Petkov,
	Pekka Enberg, David Rientjes, Michal Marek, Randy Dunlap,
	levinsasha928, mtosatti, fengguang.wu, David Vrabel,
	Ian Campbell, Konrad Rzeszutek Wilk, xen-devel

From: "Luis R. Rodriguez" <mcgrof@suse.com>

We'll be adding options for xen as well.

Cc: Borislav Petkov <bp@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: penberg@kernel.org
Cc: levinsasha928@gmail.com
Cc: mtosatti@redhat.com
Cc: fengguang.wu@intel.com
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index c78747b..36eea65 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -273,5 +273,5 @@ define archhelp
   echo  '                  bzdisk/fdimage*/isoimage also accept:'
   echo  '                  FDARGS="..."  arguments for the booted kernel'
   echo  '                  FDINITRD=file initrd for the booted kernel'
-  echo  '  kvmconfig	- Enable additional options for guest kernel support'
+  echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
 endef
-- 
2.0.0.rc3.18.g00a5b79


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

* [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm
  2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
@ 2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 18:36 ` Luis R. Rodriguez
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-06-09 18:36 UTC (permalink / raw)
  To: tglx, mingo, hpa
  Cc: Michal Marek, Randy Dunlap, Ian Campbell, Luis R. Rodriguez, x86,
	linux-kernel, mtosatti, Pekka Enberg, fengguang.wu,
	levinsasha928, David Rientjes, xen-devel, Borislav Petkov,
	David Vrabel

From: "Luis R. Rodriguez" <mcgrof@suse.com>

We'll be adding options for xen as well.

Cc: Borislav Petkov <bp@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: penberg@kernel.org
Cc: levinsasha928@gmail.com
Cc: mtosatti@redhat.com
Cc: fengguang.wu@intel.com
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index c78747b..36eea65 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -273,5 +273,5 @@ define archhelp
   echo  '                  bzdisk/fdimage*/isoimage also accept:'
   echo  '                  FDARGS="..."  arguments for the booted kernel'
   echo  '                  FDINITRD=file initrd for the booted kernel'
-  echo  '  kvmconfig	- Enable additional options for guest kernel support'
+  echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
 endef
-- 
2.0.0.rc3.18.g00a5b79

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

* [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
                   ` (2 preceding siblings ...)
  2014-06-09 18:36 ` [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper Luis R. Rodriguez
@ 2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 19:22   ` Konrad Rzeszutek Wilk
                     ` (3 more replies)
  2014-06-09 21:01 ` [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper David Rientjes
  4 siblings, 4 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-06-09 18:36 UTC (permalink / raw)
  To: tglx, mingo, hpa
  Cc: x86, linux-kernel, Luis R. Rodriguez, Borislav Petkov,
	Pekka Enberg, David Rientjes, Michal Marek, Randy Dunlap,
	levinsasha928, mtosatti, fengguang.wu, David Vrabel,
	Ian Campbell, Konrad Rzeszutek Wilk, xen-devel

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This lets you build a kernel which can support xen dom0
or xen guests by just using:

   make xenconfig

Technically xen supports a dom0 kernel and also a guest
kernel configuration but upon review with the xen team
since we don't have many dom0 options its best to just
combine these two into one.

Cc: Borislav Petkov <bp@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: penberg@kernel.org
Cc: levinsasha928@gmail.com
Cc: mtosatti@redhat.com
Cc: fengguang.wu@intel.com
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/x86/Makefile           |  5 +++++
 arch/x86/configs/xen.config | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 arch/x86/configs/xen.config

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 36eea65..cbd9e06 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -260,6 +260,10 @@ PHONY += kvmconfig
 kvmconfig:
 	$(call build-virtconfig,kvm_guest.config)
 
+PHONY += xenconfig
+xenconfig:
+	$(call build-virtconfig,xen.config)
+
 define archhelp
   echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
   echo  '  install      - Install kernel using'
@@ -274,4 +278,5 @@ define archhelp
   echo  '                  FDARGS="..."  arguments for the booted kernel'
   echo  '                  FDINITRD=file initrd for the booted kernel'
   echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
+  echo  '  xenconfig    - Enable additional options for xen dom0 and guest kernel support'
 endef
diff --git a/arch/x86/configs/xen.config b/arch/x86/configs/xen.config
new file mode 100644
index 0000000..fbfbe5c
--- /dev/null
+++ b/arch/x86/configs/xen.config
@@ -0,0 +1,36 @@
+CONFIG_XEN=y
+CONFIG_XEN_DOM0=y
+CONFIG_XEN_PVHVM=y
+CONFIG_XEN_MAX_DOMAIN_MEMORY=500
+CONFIG_XEN_SAVE_RESTORE=y
+# CONFIG_XEN_DEBUG_FS is not set
+CONFIG_XEN_PVH=y
+CONFIG_PCI_XEN=y
+CONFIG_XEN_PCIDEV_FRONTEND=m
+CONFIG_XEN_BLKDEV_FRONTEND=m
+CONFIG_XEN_BLKDEV_BACKEND=m
+CONFIG_XEN_NETDEV_FRONTEND=m
+CONFIG_XEN_NETDEV_BACKEND=m
+CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
+CONFIG_HVC_XEN=y
+CONFIG_HVC_XEN_FRONTEND=y
+CONFIG_TCG_XEN=m
+CONFIG_XEN_WDT=m
+CONFIG_XEN_FBDEV_FRONTEND=y
+CONFIG_XEN_BALLOON=y
+CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
+CONFIG_XEN_SCRUB_PAGES=y
+CONFIG_XEN_DEV_EVTCHN=m
+CONFIG_XEN_BACKEND=y
+CONFIG_XENFS=m
+CONFIG_XEN_COMPAT_XENFS=y
+CONFIG_XEN_SYS_HYPERVISOR=y
+CONFIG_XEN_XENBUS_FRONTEND=y
+CONFIG_XEN_GNTDEV=m
+CONFIG_XEN_GRANT_DEV_ALLOC=m
+CONFIG_SWIOTLB_XEN=y
+CONFIG_XEN_PCIDEV_BACKEND=m
+CONFIG_XEN_PRIVCMD=m
+CONFIG_XEN_ACPI_PROCESSOR=m
+CONFIG_XEN_MCE_LOG=y
+CONFIG_XEN_HAVE_PVMMU=y
-- 
2.0.0.rc3.18.g00a5b79


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

* [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
  2014-06-09 18:36 ` [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm Luis R. Rodriguez
  2014-06-09 18:36 ` Luis R. Rodriguez
@ 2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 21:01 ` [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper David Rientjes
  4 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-06-09 18:36 UTC (permalink / raw)
  To: tglx, mingo, hpa
  Cc: Michal Marek, Randy Dunlap, Ian Campbell, Luis R. Rodriguez, x86,
	linux-kernel, mtosatti, Pekka Enberg, fengguang.wu,
	levinsasha928, David Rientjes, xen-devel, Borislav Petkov,
	David Vrabel

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This lets you build a kernel which can support xen dom0
or xen guests by just using:

   make xenconfig

Technically xen supports a dom0 kernel and also a guest
kernel configuration but upon review with the xen team
since we don't have many dom0 options its best to just
combine these two into one.

Cc: Borislav Petkov <bp@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: penberg@kernel.org
Cc: levinsasha928@gmail.com
Cc: mtosatti@redhat.com
Cc: fengguang.wu@intel.com
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/x86/Makefile           |  5 +++++
 arch/x86/configs/xen.config | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 arch/x86/configs/xen.config

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 36eea65..cbd9e06 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -260,6 +260,10 @@ PHONY += kvmconfig
 kvmconfig:
 	$(call build-virtconfig,kvm_guest.config)
 
+PHONY += xenconfig
+xenconfig:
+	$(call build-virtconfig,xen.config)
+
 define archhelp
   echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
   echo  '  install      - Install kernel using'
@@ -274,4 +278,5 @@ define archhelp
   echo  '                  FDARGS="..."  arguments for the booted kernel'
   echo  '                  FDINITRD=file initrd for the booted kernel'
   echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
+  echo  '  xenconfig    - Enable additional options for xen dom0 and guest kernel support'
 endef
diff --git a/arch/x86/configs/xen.config b/arch/x86/configs/xen.config
new file mode 100644
index 0000000..fbfbe5c
--- /dev/null
+++ b/arch/x86/configs/xen.config
@@ -0,0 +1,36 @@
+CONFIG_XEN=y
+CONFIG_XEN_DOM0=y
+CONFIG_XEN_PVHVM=y
+CONFIG_XEN_MAX_DOMAIN_MEMORY=500
+CONFIG_XEN_SAVE_RESTORE=y
+# CONFIG_XEN_DEBUG_FS is not set
+CONFIG_XEN_PVH=y
+CONFIG_PCI_XEN=y
+CONFIG_XEN_PCIDEV_FRONTEND=m
+CONFIG_XEN_BLKDEV_FRONTEND=m
+CONFIG_XEN_BLKDEV_BACKEND=m
+CONFIG_XEN_NETDEV_FRONTEND=m
+CONFIG_XEN_NETDEV_BACKEND=m
+CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
+CONFIG_HVC_XEN=y
+CONFIG_HVC_XEN_FRONTEND=y
+CONFIG_TCG_XEN=m
+CONFIG_XEN_WDT=m
+CONFIG_XEN_FBDEV_FRONTEND=y
+CONFIG_XEN_BALLOON=y
+CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
+CONFIG_XEN_SCRUB_PAGES=y
+CONFIG_XEN_DEV_EVTCHN=m
+CONFIG_XEN_BACKEND=y
+CONFIG_XENFS=m
+CONFIG_XEN_COMPAT_XENFS=y
+CONFIG_XEN_SYS_HYPERVISOR=y
+CONFIG_XEN_XENBUS_FRONTEND=y
+CONFIG_XEN_GNTDEV=m
+CONFIG_XEN_GRANT_DEV_ALLOC=m
+CONFIG_SWIOTLB_XEN=y
+CONFIG_XEN_PCIDEV_BACKEND=m
+CONFIG_XEN_PRIVCMD=m
+CONFIG_XEN_ACPI_PROCESSOR=m
+CONFIG_XEN_MCE_LOG=y
+CONFIG_XEN_HAVE_PVMMU=y
-- 
2.0.0.rc3.18.g00a5b79

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

* Re: [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 19:22   ` Konrad Rzeszutek Wilk
@ 2014-06-09 19:22   ` Konrad Rzeszutek Wilk
  2014-06-09 21:02   ` David Rientjes
  2014-06-09 21:02   ` David Rientjes
  3 siblings, 0 replies; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-06-09 19:22 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: tglx, mingo, hpa, x86, linux-kernel, Luis R. Rodriguez,
	Borislav Petkov, Pekka Enberg, David Rientjes, Michal Marek,
	Randy Dunlap, levinsasha928, mtosatti, fengguang.wu,
	David Vrabel, Ian Campbell, xen-devel

On Mon, Jun 09, 2014 at 11:36:24AM -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> 
> This lets you build a kernel which can support xen dom0
> or xen guests by just using:
> 
>    make xenconfig
> 
> Technically xen supports a dom0 kernel and also a guest
> kernel configuration but upon review with the xen team
> since we don't have many dom0 options its best to just
> combine these two into one.

Both patches look good to me. If you want to add 
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

please go ahead.

> 
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: penberg@kernel.org
> Cc: levinsasha928@gmail.com
> Cc: mtosatti@redhat.com
> Cc: fengguang.wu@intel.com
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Ian Campbell <Ian.Campbell@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: xen-devel@lists.xenproject.org
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
> ---
>  arch/x86/Makefile           |  5 +++++
>  arch/x86/configs/xen.config | 36 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 41 insertions(+)
>  create mode 100644 arch/x86/configs/xen.config
> 
> diff --git a/arch/x86/Makefile b/arch/x86/Makefile
> index 36eea65..cbd9e06 100644
> --- a/arch/x86/Makefile
> +++ b/arch/x86/Makefile
> @@ -260,6 +260,10 @@ PHONY += kvmconfig
>  kvmconfig:
>  	$(call build-virtconfig,kvm_guest.config)
>  
> +PHONY += xenconfig
> +xenconfig:
> +	$(call build-virtconfig,xen.config)
> +
>  define archhelp
>    echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
>    echo  '  install      - Install kernel using'
> @@ -274,4 +278,5 @@ define archhelp
>    echo  '                  FDARGS="..."  arguments for the booted kernel'
>    echo  '                  FDINITRD=file initrd for the booted kernel'
>    echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
> +  echo  '  xenconfig    - Enable additional options for xen dom0 and guest kernel support'
>  endef
> diff --git a/arch/x86/configs/xen.config b/arch/x86/configs/xen.config
> new file mode 100644
> index 0000000..fbfbe5c
> --- /dev/null
> +++ b/arch/x86/configs/xen.config
> @@ -0,0 +1,36 @@
> +CONFIG_XEN=y
> +CONFIG_XEN_DOM0=y
> +CONFIG_XEN_PVHVM=y
> +CONFIG_XEN_MAX_DOMAIN_MEMORY=500
> +CONFIG_XEN_SAVE_RESTORE=y
> +# CONFIG_XEN_DEBUG_FS is not set
> +CONFIG_XEN_PVH=y
> +CONFIG_PCI_XEN=y
> +CONFIG_XEN_PCIDEV_FRONTEND=m
> +CONFIG_XEN_BLKDEV_FRONTEND=m
> +CONFIG_XEN_BLKDEV_BACKEND=m
> +CONFIG_XEN_NETDEV_FRONTEND=m
> +CONFIG_XEN_NETDEV_BACKEND=m
> +CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
> +CONFIG_HVC_XEN=y
> +CONFIG_HVC_XEN_FRONTEND=y
> +CONFIG_TCG_XEN=m
> +CONFIG_XEN_WDT=m
> +CONFIG_XEN_FBDEV_FRONTEND=y
> +CONFIG_XEN_BALLOON=y
> +CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
> +CONFIG_XEN_SCRUB_PAGES=y
> +CONFIG_XEN_DEV_EVTCHN=m
> +CONFIG_XEN_BACKEND=y
> +CONFIG_XENFS=m
> +CONFIG_XEN_COMPAT_XENFS=y
> +CONFIG_XEN_SYS_HYPERVISOR=y
> +CONFIG_XEN_XENBUS_FRONTEND=y
> +CONFIG_XEN_GNTDEV=m
> +CONFIG_XEN_GRANT_DEV_ALLOC=m
> +CONFIG_SWIOTLB_XEN=y
> +CONFIG_XEN_PCIDEV_BACKEND=m
> +CONFIG_XEN_PRIVCMD=m
> +CONFIG_XEN_ACPI_PROCESSOR=m
> +CONFIG_XEN_MCE_LOG=y
> +CONFIG_XEN_HAVE_PVMMU=y
> -- 
> 2.0.0.rc3.18.g00a5b79
> 

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

* Re: [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 ` Luis R. Rodriguez
@ 2014-06-09 19:22   ` Konrad Rzeszutek Wilk
  2014-06-09 19:22   ` Konrad Rzeszutek Wilk
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-06-09 19:22 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Michal Marek, fengguang.wu, Randy Dunlap, Ian Campbell,
	Luis R. Rodriguez, x86, linux-kernel, mtosatti, Pekka Enberg,
	xen-devel, mingo, levinsasha928, hpa, David Rientjes, tglx,
	Borislav Petkov, David Vrabel

On Mon, Jun 09, 2014 at 11:36:24AM -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> 
> This lets you build a kernel which can support xen dom0
> or xen guests by just using:
> 
>    make xenconfig
> 
> Technically xen supports a dom0 kernel and also a guest
> kernel configuration but upon review with the xen team
> since we don't have many dom0 options its best to just
> combine these two into one.

Both patches look good to me. If you want to add 
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

please go ahead.

> 
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: penberg@kernel.org
> Cc: levinsasha928@gmail.com
> Cc: mtosatti@redhat.com
> Cc: fengguang.wu@intel.com
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Ian Campbell <Ian.Campbell@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: xen-devel@lists.xenproject.org
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
> ---
>  arch/x86/Makefile           |  5 +++++
>  arch/x86/configs/xen.config | 36 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 41 insertions(+)
>  create mode 100644 arch/x86/configs/xen.config
> 
> diff --git a/arch/x86/Makefile b/arch/x86/Makefile
> index 36eea65..cbd9e06 100644
> --- a/arch/x86/Makefile
> +++ b/arch/x86/Makefile
> @@ -260,6 +260,10 @@ PHONY += kvmconfig
>  kvmconfig:
>  	$(call build-virtconfig,kvm_guest.config)
>  
> +PHONY += xenconfig
> +xenconfig:
> +	$(call build-virtconfig,xen.config)
> +
>  define archhelp
>    echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
>    echo  '  install      - Install kernel using'
> @@ -274,4 +278,5 @@ define archhelp
>    echo  '                  FDARGS="..."  arguments for the booted kernel'
>    echo  '                  FDINITRD=file initrd for the booted kernel'
>    echo  '  kvmconfig	- Enable additional options for kvm guest kernel support'
> +  echo  '  xenconfig    - Enable additional options for xen dom0 and guest kernel support'
>  endef
> diff --git a/arch/x86/configs/xen.config b/arch/x86/configs/xen.config
> new file mode 100644
> index 0000000..fbfbe5c
> --- /dev/null
> +++ b/arch/x86/configs/xen.config
> @@ -0,0 +1,36 @@
> +CONFIG_XEN=y
> +CONFIG_XEN_DOM0=y
> +CONFIG_XEN_PVHVM=y
> +CONFIG_XEN_MAX_DOMAIN_MEMORY=500
> +CONFIG_XEN_SAVE_RESTORE=y
> +# CONFIG_XEN_DEBUG_FS is not set
> +CONFIG_XEN_PVH=y
> +CONFIG_PCI_XEN=y
> +CONFIG_XEN_PCIDEV_FRONTEND=m
> +CONFIG_XEN_BLKDEV_FRONTEND=m
> +CONFIG_XEN_BLKDEV_BACKEND=m
> +CONFIG_XEN_NETDEV_FRONTEND=m
> +CONFIG_XEN_NETDEV_BACKEND=m
> +CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
> +CONFIG_HVC_XEN=y
> +CONFIG_HVC_XEN_FRONTEND=y
> +CONFIG_TCG_XEN=m
> +CONFIG_XEN_WDT=m
> +CONFIG_XEN_FBDEV_FRONTEND=y
> +CONFIG_XEN_BALLOON=y
> +CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
> +CONFIG_XEN_SCRUB_PAGES=y
> +CONFIG_XEN_DEV_EVTCHN=m
> +CONFIG_XEN_BACKEND=y
> +CONFIG_XENFS=m
> +CONFIG_XEN_COMPAT_XENFS=y
> +CONFIG_XEN_SYS_HYPERVISOR=y
> +CONFIG_XEN_XENBUS_FRONTEND=y
> +CONFIG_XEN_GNTDEV=m
> +CONFIG_XEN_GRANT_DEV_ALLOC=m
> +CONFIG_SWIOTLB_XEN=y
> +CONFIG_XEN_PCIDEV_BACKEND=m
> +CONFIG_XEN_PRIVCMD=m
> +CONFIG_XEN_ACPI_PROCESSOR=m
> +CONFIG_XEN_MCE_LOG=y
> +CONFIG_XEN_HAVE_PVMMU=y
> -- 
> 2.0.0.rc3.18.g00a5b79
> 

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

* Re: [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper
  2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
                   ` (3 preceding siblings ...)
  2014-06-09 18:36 ` Luis R. Rodriguez
@ 2014-06-09 21:01 ` David Rientjes
  2014-07-15 23:44   ` Luis R. Rodriguez
  4 siblings, 1 reply; 11+ messages in thread
From: David Rientjes @ 2014-06-09 21:01 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: tglx, Ingo Molnar, H. Peter Anvin, x86, linux-kernel, Luis R. Rodriguez

On Mon, 9 Jun 2014, Luis R. Rodriguez wrote:

> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> 
> This can then be used by other virtual configs.
> 
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>

Suggested-by: David Rientjes <rientjes@google.com>
Acked-by: David Rientjes <rientjes@google.com>

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

* Re: [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 ` Luis R. Rodriguez
                     ` (2 preceding siblings ...)
  2014-06-09 21:02   ` David Rientjes
@ 2014-06-09 21:02   ` David Rientjes
  3 siblings, 0 replies; 11+ messages in thread
From: David Rientjes @ 2014-06-09 21:02 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: tglx, Ingo Molnar, H. Peter Anvin, x86, linux-kernel,
	Luis R. Rodriguez, Borislav Petkov, Pekka Enberg, Michal Marek,
	Randy Dunlap, levinsasha928, mtosatti, fengguang.wu,
	David Vrabel, Ian Campbell, Konrad Rzeszutek Wilk, xen-devel

On Mon, 9 Jun 2014, Luis R. Rodriguez wrote:

> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> 
> This lets you build a kernel which can support xen dom0
> or xen guests by just using:
> 
>    make xenconfig
> 
> Technically xen supports a dom0 kernel and also a guest
> kernel configuration but upon review with the xen team
> since we don't have many dom0 options its best to just
> combine these two into one.
> 
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: penberg@kernel.org
> Cc: levinsasha928@gmail.com
> Cc: mtosatti@redhat.com
> Cc: fengguang.wu@intel.com
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Ian Campbell <Ian.Campbell@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: xen-devel@lists.xenproject.org
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>

Acked-by: David Rientjes <rientjes@google.com>

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

* Re: [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper
  2014-06-09 18:36 ` Luis R. Rodriguez
  2014-06-09 19:22   ` Konrad Rzeszutek Wilk
  2014-06-09 19:22   ` Konrad Rzeszutek Wilk
@ 2014-06-09 21:02   ` David Rientjes
  2014-06-09 21:02   ` David Rientjes
  3 siblings, 0 replies; 11+ messages in thread
From: David Rientjes @ 2014-06-09 21:02 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Michal Marek, fengguang.wu, Randy Dunlap, Ian Campbell,
	Luis R. Rodriguez, x86, linux-kernel, mtosatti, Pekka Enberg,
	Ingo Molnar, levinsasha928, H. Peter Anvin, xen-devel, tglx,
	Borislav Petkov, David Vrabel

On Mon, 9 Jun 2014, Luis R. Rodriguez wrote:

> From: "Luis R. Rodriguez" <mcgrof@suse.com>
> 
> This lets you build a kernel which can support xen dom0
> or xen guests by just using:
> 
>    make xenconfig
> 
> Technically xen supports a dom0 kernel and also a guest
> kernel configuration but upon review with the xen team
> since we don't have many dom0 options its best to just
> combine these two into one.
> 
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: penberg@kernel.org
> Cc: levinsasha928@gmail.com
> Cc: mtosatti@redhat.com
> Cc: fengguang.wu@intel.com
> Cc: David Vrabel <david.vrabel@citrix.com>
> Cc: Ian Campbell <Ian.Campbell@citrix.com>
> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Cc: xen-devel@lists.xenproject.org
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>

Acked-by: David Rientjes <rientjes@google.com>

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

* Re: [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper
  2014-06-09 21:01 ` [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper David Rientjes
@ 2014-07-15 23:44   ` Luis R. Rodriguez
  0 siblings, 0 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2014-07-15 23:44 UTC (permalink / raw)
  To: David Rientjes
  Cc: Luis R. Rodriguez, tglx, Ingo Molnar, H. Peter Anvin, x86, linux-kernel

On Mon, Jun 09, 2014 at 02:01:42PM -0700, David Rientjes wrote:
> On Mon, 9 Jun 2014, Luis R. Rodriguez wrote:
> 
> > From: "Luis R. Rodriguez" <mcgrof@suse.com>
> > 
> > This can then be used by other virtual configs.
> > 
> > Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
> 
> Suggested-by: David Rientjes <rientjes@google.com>
> Acked-by: David Rientjes <rientjes@google.com>

Folks this series is not yet merged. They all apply cleanly
as-is on linux-next next-20140715 so I don't think a resend
is required.

Just a friendly reminder.

  Luis

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

end of thread, other threads:[~2014-07-15 23:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-09 18:36 [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper Luis R. Rodriguez
2014-06-09 18:36 ` [PATCH v2 2/3] x86, platform, xen, kconfig: clarify kvmconfig is for kvm Luis R. Rodriguez
2014-06-09 18:36 ` Luis R. Rodriguez
2014-06-09 18:36 ` [PATCH v2 3/3] x86, platform, xen, kconfig: add xen defconfig helper Luis R. Rodriguez
2014-06-09 18:36 ` Luis R. Rodriguez
2014-06-09 19:22   ` Konrad Rzeszutek Wilk
2014-06-09 19:22   ` Konrad Rzeszutek Wilk
2014-06-09 21:02   ` David Rientjes
2014-06-09 21:02   ` David Rientjes
2014-06-09 21:01 ` [PATCH v2 1/3] x86, platform, xen, kconfig: move kvmconfig functionality to a helper David Rientjes
2014-07-15 23:44   ` Luis R. Rodriguez

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.