[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Code removal for !CONFIG_PV
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
- Date: Wed, 12 Nov 2025 16:22:29 +0100
- 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=dX8R/jW53mU7NUcc3K2eBriT6B0nvPDZPTWwrtrazdE=; b=mGQNsdGRqqS2Xx0dV09m4QwIzY8cIgOfyFxeDeqtsnVmvQCRPHdBD6msSDkF67gTnOxPpCQoVJHU2K4tfstN8FKVgYeSg/B3O9S54S2aHw/eoqGxtJxKPaaFwPr3M9icTdwh/pzOJ1Gv4yErMz0ULEitbuBKgUj0ozeC9FZxzdUYxVleebPpjhdo1cn6xHaqhL2A+OHVYlMqvUuESq89ntlDpkgudkFetNvoUaGDMg7+bYTPfB2jSl471O/S76x8mRbfUx8+wlK40kJWhgKq8Rtr5OyasOGLZ6VvYEmqlWjlB6apZkKLezWGF9641xThBDzuDLEqwKkwFp/cVLUuyg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dIYrsoJOO4JP/4NSViIpru5xAsxEHWwTQsIXXHpVijUqnWMMfFJpJTHXWS78ixkEAUi92NScp2inMUoNDOJGwOENCuVAP+cmtukqRJdm6LgL0FtBlMQvDoO5wlirYI50FSzjdH9FKQ5N+Ri2MfBiotRwYfZrLjRigQ7ZEvqgHcC5x0JkS5aQunpa9NOxy5le/UxwgwosJ8XGogO+DCNaQ1H58TFROtkl7tiWR0bTDP35VOaQS9ApNZDyc04lhII3Vz5Z6Cd4crJlmA7AqJdTLpq5Nm0hG4hO9BaPgMobJkOoQ/slEW7jRNA+bQ/rLx1gqcrtIDhYvrtyedlLMhUwjA==
- Cc: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Wed, 12 Nov 2025 15:23:07 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
General cleanup, with marginal binary size reduction in the !CONFIG_PV case.
Some PV-only code remains in the build when !CONFIG_PV because it's in fallback
else branches and there's a number of stubs in asm/pv/domain.h that are either
irrelevant or can be made irrelevant through trivial changes to the else
branches on which they are used.
Alejandro Vallejo (2):
x86: Conditionalise PV-only fallback branches on CONFIG_PV
x86: Remove stubs from asm/pv/domain.h
xen/arch/x86/cpuid.c | 4 ++--
xen/arch/x86/domain.c | 10 ++++++----
xen/arch/x86/include/asm/pv/domain.h | 25 -------------------------
3 files changed, 8 insertions(+), 31 deletions(-)
base-commit: e00c1673992e07ed31e9c60fefa8d053491abbe6
--
2.43.0
|