[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 08/19] xen/dom0less: abstract Arm-specific p2m type name for device MMIO mappings
- To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Thu, 18 Dec 2025 13:49:39 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com 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=l978XjQu/Ypou1x0BcUk2kMDU5SFPYe6uhTwcmq9G+o=; b=gXTcJWW35vkBm107F1BlapdGObTnUIHdMs6Hu7Vu/He4YCLKvCzy4PKthM0FJSHhog9AFiZYt9FfFJtLyx+zO0G4yCK2rDCHOEAnt6EfhDopZW8inxQuK+j6s00NEWMhdlnO7ISSNeeGGPe+0oivYinLGhIoLjReMrriOfLYHHJvda2kIpv3+IXpF+kDH7qLvOEZKCR6pfbnz0viCqM9fm/yugUj9y1hJu6FV57ao3wUDofQJ703U1vBrEtQzbyJRGtEIev/LVtGXmvbwPjE4rsAlhGkUicPR0eNn7m70RJb24gk65wi9MYOj3uIkchlfJHpnFCe2Y4KrpEPazk3Dw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EkpiMO9/N+I/Loyj/aB87GGvmxRzitr90tlprLjhBeY9ttyswH3sqSSmP/w3z83XDk2vngGvIUfRruMUlfRlJvro+LtOqF4sPY0vmMneh9Ei1pg0+3jnQeyRMCAvG7OFkWGj7YQhLhyMyfbTPt84/r8k4C9CzIbQI4uq92RT6/sgW6qM+VLdSmpr11zHA1QYYwToft0TTg0rieQWjVbqY5PPKmE3VkeghQbrWvqJ0UW0QEJ569KQLA7/8j+/MYT0/sAYe4rqdA7+MN9cvOo8vDGyqBk4XSoQaqUxPND062cUuGuS5OLD4X1zf3Z0fe9qi08iahigp6tXkvNKC54lPA==
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- Delivery-date: Thu, 18 Dec 2025 12:49:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 16/12/2025 17:55, Oleksii Kurochko wrote:
> Introduce arch_dt_passthrough_p2m_type() and use it instead of
> `p2m_mmio_direct_dev` to avoid leaking Arm-specific naming into
> common Xen code, such as dom0less passthrough property handling.
>
> This helps reduce platform-specific terminology in shared logic and
> improves clarity for future non-Arm ports (e.g. RISC-V or PowerPC).
>
> No functional changes — the definition is preserved via a static inline
> function for Arm.
>
> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|