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

[PATCH 3/3] x86/pv-shim: suppress core-parking logic


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 6 Dec 2022 15:30:56 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=eQ0cKDf1wQu9lbiq2UBIF0gkVWSNaxD+TG1S5rB1UXU=; b=AMIx2dgtP1NRreexgM2LfFssu0O3+36f2sX3YAd/iZw+g4A0MHgXdwR7V2QCTuotK4AUX/wC2fKQHPj0WexbS/1ZA58jKn918oAodVmec6qc6m2LAliJbqpDIsZdNFyIyxDXYYC5QGSjwR93y7GgWJVGqCiS9DQSawlxnwG6UH54REQMCeOO98uno0B9e5o2W5CqBisbcrT8KcJnlay3r9tN8tVoCXRqmLL1+F2PFgkXl6HiinzIZ1VyQ7JRBZMn2QOwrxjn8HQVTrMSbgs/Ngfz19+Ib7tmTldUS6byjs8W563WpwKQoXfAWJJKEw7enxbfcksIZaxhzS1HzIQOQA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JeUB6TRMxLE1kqMmMMiGHWEtfugNz5w9KjGusNNijIZJDr5NzsO7S9wTwU9WpXWDtD4opSSGn/OYI3sqcszLq8R+Kqp2B1Yws3pY2iX7upt3GKiNBkj43tuHCMuDX+6UXoE32HyOBvHl5UM87Bvev+zE46bkj4efleU08grJ5ll48Hc6lCPrDV/DmsHVTrrsqcu7dRFe7ZaLsprJqFeYBclm30xriMvje+ScEZz5xdx4UbyeZ2PTb3SqCysTyaR7L5cPQdRtmQwAB04NC7erGMcliWNzqal9oCebEwfr64WAfJ03MsiCdunZNltBxPnsJJoyuPaAaNdPFoMj+fZRpg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
  • Delivery-date: Tue, 06 Dec 2022 14:31:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This is all dead code in shim-exclusive mode, so there's no point in
building it.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
Contextually depends on "core-parking: fix build with gcc12 and NR_CPUS=1"

--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -10,7 +10,7 @@ config X86
        select ALTERNATIVE_CALL
        select ARCH_MAP_DOMAIN_PAGE
        select ARCH_SUPPORTS_INT128
-       select CORE_PARKING if NR_CPUS > 1
+       select CORE_PARKING if NR_CPUS > 1 && !PV_SHIM_EXCLUSIVE
        select HAS_ALTERNATIVE
        select HAS_COMPAT
        select HAS_CPUFREQ




 


Rackspace

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