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

[PATCH v3 01/20] xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Mon, 21 Apr 2025 15:37:04 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+U8oTWLb8OnhJdc/YwYQnpkAkE5yqnF71ljA3zNVvis=; b=FpAtzX8mxiG9ohzeIGM2Fj+tmgMMWMe+ebpYKoQzhgsHWxfuxGei8/BOD+LE+zcfXePG3rLzunPbnVM3WVsi/dAq3X9uXneyjvI3W+mNujd7KgUu5gSdXtQdbcEOyAb0UXi6EhzsAv8/kp862+NNHPwWfgsQVJWV6traiLWUus2yhBvs838vpB/tNIBzM5JsVf5/rgg35VWBfxospCx8VjEK66JpY6AeI/YYVqhi/k8vPvnL1FvnEVwfd/VG9v8qUeEEQBNEMjeDrVbil8d3AiumeGNAJ2aSFZwLhBWD0fpPsDbb8rBUUuSc4a2hQwM8MHVbPFswp0lbujL2eKVNmg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A8npagCwejwizWteLGdO4HJVsE0Q9DmPiQqlBv52dMNs4AaHzUgrwVmK7VwOfPZnZVZO2C+qI7XRyy8ebdRSoo37YSt6/M4J3R9Og+hMKMeJA+tcs1Yr3UYj52uwZ4ssdJhO35HHEq1Pz0SMGJSnexdf7ATAEOcGfSmyRS8X5vkfJus73RyB+FMmYWpONUqIpJInSv7hRT3HoBlNYPlQ0Iy8cXvY5oueLRkqqkdEShrSQ35Dl39TYLjujK1Qe5eGX4I3asm5DfRzzejtDtXcRTvjVwf+rkAnHVnbedo7eKOeIQ78gkS8saedYpKxhKGsAxUIKQ5ChIetMorMJBIQBA==
  • Cc: <ray.huang@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 21 Apr 2025 07:38:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Remove all "depends on !PV_SHIM_EXCLUSIVE" (also the functionally
equivalent "if !...") in Kconfig file, since negative dependancy will badly
affect allyesconfig.
This commit is based on "x86: provide an inverted Kconfig control for
shim-exclusive mode"[1]

[1] https://lists.xen.org/archives/html/xen-devel/2023-03/msg00040.html

Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
v2 -> v3:
- remove comment for PV_SHIM_EXCLUSIVE
---
 xen/arch/x86/Kconfig      | 4 ----
 xen/arch/x86/hvm/Kconfig  | 1 -
 xen/drivers/video/Kconfig | 4 ++--
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index de2fa37f08..29a8b4b35c 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -138,7 +138,6 @@ config XEN_IBT
 
 config SHADOW_PAGING
        bool "Shadow Paging"
-       default !PV_SHIM_EXCLUSIVE
        depends on PV || HVM
        help
 
@@ -170,7 +169,6 @@ config BIGMEM
 config TBOOT
        bool "Xen tboot support (UNSUPPORTED)"
        depends on INTEL && UNSUPPORTED
-       default !PV_SHIM_EXCLUSIVE
        select CRYPTO
        help
          Allows support for Trusted Boot using the Intel(R) Trusted Execution
@@ -283,7 +281,6 @@ config PV_SHIM_EXCLUSIVE
 
          If unsure, say N.
 
-if !PV_SHIM_EXCLUSIVE
 
 config HYPERV_GUEST
        bool "Hyper-V Guest"
@@ -293,7 +290,6 @@ config HYPERV_GUEST
 
          If unsure, say N.
 
-endif
 
 config REQUIRE_NX
        bool "Require NX (No eXecute) support"
diff --git a/xen/arch/x86/hvm/Kconfig b/xen/arch/x86/hvm/Kconfig
index 2def0f98e2..b903764bda 100644
--- a/xen/arch/x86/hvm/Kconfig
+++ b/xen/arch/x86/hvm/Kconfig
@@ -1,6 +1,5 @@
 menuconfig HVM
        bool "HVM support"
-       depends on !PV_SHIM_EXCLUSIVE
        default !PV_SHIM
        select COMPAT
        select IOREQ_SERVER
diff --git a/xen/drivers/video/Kconfig b/xen/drivers/video/Kconfig
index 245030beea..66ee1e7c9c 100644
--- a/xen/drivers/video/Kconfig
+++ b/xen/drivers/video/Kconfig
@@ -3,10 +3,10 @@ config VIDEO
        bool
 
 config VGA
-       bool "VGA support" if !PV_SHIM_EXCLUSIVE
+       bool "VGA support"
        select VIDEO
        depends on X86
-       default y if !PV_SHIM_EXCLUSIVE
+       default y
        help
          Enable VGA output for the Xen hypervisor.
 
-- 
2.34.1




 


Rackspace

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