[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC] x86/shim: Refresh pvshim_defconfig



On 26.07.19 12:10, Andrew Cooper wrote:
* Add a dependency so the shim gets rebuilt when pvshim_defconfig changes.
* Default to the NULL scheduler now that it works with vcpu online/offline.

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Wei Liu <wl@xxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Juergen Gross <jgross@xxxxxxxx>
CC: Dario Faggioli <dfaggioli@xxxxxxxx>

This patch depends on Dario's series, and cant go in until then.

Also RFC.

CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
CC: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>

I tried turning off MEM_ACCESS, but I can't get Kconfig to actually turn it
off in the build.  What is the deal with MEM_ACCESS_ALWAYS_ON ?  It makes it
impossible to turn MEM_ACCESS off, becaue it is selected by x86, which leaves
MEM_ACCESS enabled and unmodifiable.

modify arch/x86/Kconfig like:

-       select MEM_ACCESS_ALWAYS_ON
+       select MEM_ACCESS_ALWAYS_ON if !PV_SHIM_EXCLUSIVE

???

Juergen

---
  tools/firmware/xen-dir/Makefile       | 2 +-
  xen/arch/x86/configs/pvshim_defconfig | 5 ++++-
  2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/tools/firmware/xen-dir/Makefile b/tools/firmware/xen-dir/Makefile
index 83597f0017..7435421251 100644
--- a/tools/firmware/xen-dir/Makefile
+++ b/tools/firmware/xen-dir/Makefile
@@ -41,7 +41,7 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE
  $(D): linkfarm.stamp
        $(MAKE) -C $(D)/xen distclean
-$(D)/xen/.config: $(D)
+$(D)/xen/.config: $(D) $(D)/xen/arch/x86/configs/pvshim_defconfig
        $(MAKE) -C $(@D) KBUILD_DEFCONFIG=pvshim_defconfig XEN_CONFIG_EXPERT=y 
defconfig
xen-shim: $(D)/xen/.config
diff --git a/xen/arch/x86/configs/pvshim_defconfig 
b/xen/arch/x86/configs/pvshim_defconfig
index 9710aa6238..329aaf9029 100644
--- a/xen/arch/x86/configs/pvshim_defconfig
+++ b/xen/arch/x86/configs/pvshim_defconfig
@@ -5,6 +5,7 @@ CONFIG_PVH_GUEST=y
  CONFIG_PV_SHIM=y
  CONFIG_PV_SHIM_EXCLUSIVE=y
  CONFIG_NR_CPUS=32
+CONFIG_SCHED_NULL=y
  # Disable features not used by the PV shim
  # CONFIG_SHADOW_PAGING is not set
  # CONFIG_BIGMEM is not set
@@ -13,10 +14,12 @@ CONFIG_NR_CPUS=32
  # CONFIG_KEXEC is not set
  # CONFIG_XENOPROF is not set
  # CONFIG_XSM is not set
+# CONFIG_SCHED_CREDIT is not set
  # CONFIG_SCHED_CREDIT2 is not set
  # CONFIG_SCHED_RTDS is not set
  # CONFIG_SCHED_ARINC653 is not set
-# CONFIG_SCHED_NULL is not set
  # CONFIG_LIVEPATCH is not set
  # CONFIG_SUPPRESS_DUPLICATE_SYMBOL_WARNINGS is not set
  # CONFIG_DEBUG is not set
+# CONFIG_MEM_ACCESS_ALWAYS_ON is not set
+# CONFIG_MEM_ACCESS is not set



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.