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

[PATCH v2 0/3] xen/x86: move d->arch.physaddr_bitsize field handling to pv32


  • To: Grygorii Strashko <grygorii_strashko@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
  • Date: Thu, 27 Nov 2025 22:12:45 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • 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=bcD4l5loFshEvvxq/petHO507SqQ7F4HeKr8OCcVhEM=; b=Jla/ABUt+QAFhl43zV2AYXOZfDe0jn2aOVHi+1mWwWDPCZGs9EePhnWEWwe0WchoEuPk3fjy6yQm3vk+XuQdMOYQsB+5672/t/KN2m9Wi4B0qAUXl6XzKxiRcW4IsoM/Eho3+xrKRaLgLPhaibAKezsFHqLCCJdcuLQX5icPaeYic4Aw4/ix//SzKrQ8y9qOlZJ3yYFdGDMdDddS2DxYL5+d7flrfh9g6Xde+hZ80IgjtL/K1guJlyyCFlu9iW0N4jZWZTFIls7jPIy6ZnoSX6CCtu+WlBCoImJslqIoJtJoSrr4MqiJUuArTwN7hKdBBSPIugTOWTCPFLgmU/pcnA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=j/o/xaXpWzBcuUoENwL+4ipHVmzMzLZKHDdCGrolHY1MpMUPjKAdiasyn4WSwDYcL098cI9oSuakLtuUIzEh1sepMKlL+iQBgqkh1Tk2X8JzLJOMrzAM0E1mXdKT7Y5BwozCToC9CZcrl+6iPw7YJN9OP08IC9ipKSSVvyOFzz6pVhRxeCnznrVZzwwdJx8eIoPg4JDcdACxkb+yc7LRTdErxTtf7U1s+Qf6+KKgppoj5qHqoK1mA+CZxhgJ2vL1IZ5iGBm4mtiHRSR0n9zZIQjPKo0wlMIUKcJ7LVLjUO05PMnxLuruVDBtanTctwS6bk7Duo4t65RUXMDHOkCkOQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Delivery-date: Thu, 27 Nov 2025 22:12:51 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcX+r1HmzqtRQZ0kOlP0COlNBiAQ==
  • Thread-topic: [PATCH v2 0/3] xen/x86: move d->arch.physaddr_bitsize field handling to pv32

From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>

1) arm/ppc/riscv: drop unused domain_set_alloc_bitsize() macro
2) add generic domain_clamp_alloc_bitsize() macro and clean up !x86 arches
3) move d->arch.physaddr_bitsize field handling to pv32 code

changes in v2:
- split on 3 patches
- move physaddr_bitsize in struct pv_domain
- make minimal style adjustments as requested

Grygorii Strashko (3):
  arm/ppc/riscv: drop unused domain_set_alloc_bitsize() macro
  xen/mm: add generic domain_clamp_alloc_bitsize() macro
  xen/x86: move d->arch.physaddr_bitsize field handling to pv32

 xen/arch/arm/include/asm/mm.h     |  3 ---
 xen/arch/ppc/include/asm/mm.h     |  3 ---
 xen/arch/riscv/include/asm/mm.h   |  3 ---
 xen/arch/x86/include/asm/domain.h |  8 +++++---
 xen/arch/x86/include/asm/mm.h     |  7 +++++--
 xen/arch/x86/pv/dom0_build.c      |  6 ++++--
 xen/arch/x86/pv/domain.c          | 23 +++++++++++++++++++++++
 xen/arch/x86/x86_64/mm.c          | 20 --------------------
 xen/include/xen/mm.h              |  4 ++++
 9 files changed, 41 insertions(+), 36 deletions(-)

-- 
2.34.1



 


Rackspace

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