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

Re: [PATCH v5 2/2] xen/arm: allow translated iommu mappings


  • To: Julien Grall <julien@xxxxxxx>, Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Wed, 6 Aug 2025 10:31:20 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=xen.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=qaxQgQDECCLvFYAOX1ZPAH3MZYbZQIBrg+H1izWfFic=; b=JKneQBaea3INg4nljj8C/AWOjlQUsyOlUc9x2ZRwtFSf3hWu7STydl+D3VhslyslLa+ICy1mdagIyFydZzZ9JDxyqqFV+2tyf/ApVe54feBhMzWjtDvbu7r7BGjejKXMlAKAPY7s16/yMYwSDYMHPpXsC81S8hj0y9CA896vHumIu7qd+tXIqoi8EUb4I+cgTeg5rQ8vilgkjptX9nz4fIi4h2RYFd+elo28NrQ4VLw32DJfo8HY3jZUQAGhOh3FPc/eF697NnIp7TX0b/nFfdXhEBOUEvumVKYCSHsZ3vHvCQ6RXy50yFNhoZMqLfirqArHF5reK3eUJ/gc/iIbGw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TTQWpqrOu7G0eCsVloHhT+mI5Wc1fgodIdLuNWynLUAK0PdR9zizjmkNxHRhGM3IuB0AZio5YRQLW7NZlWQmA+wPUoBjLc+YYLbN6B/vkyK/A49JbHvUmqAmnC3oSjv7hxGUw7mZT2nxaz0nZw9yG3NB5H/TzojNAc2z5wjx+NeB+WNST8tUciclCO3YbG3IbG18x+3CACYuG4cfRgpKxO499tRmVyl+gZSZiJFZz2RuOAZyFGQd5/JE+JdRJIrW9J8HfNYEpightYH0za40onxOiKq+nP3ypTpKn+jlDTLMKS9flWGe+vkFK5PFq/WtfYO5A3MHkZQZg9nnFd4V3A==
  • Cc: Stefano Stabellini <stefano.stabellini@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, "Michal Orzel" <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Wed, 06 Aug 2025 14:31:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2025-07-26 05:23, Julien Grall wrote:
Hi,

On 25/07/2025 15:01, Stewart Hildebrand wrote:
From: Stefano Stabellini <stefano.stabellini@xxxxxxx>

In preparation of exposing vITS to domUs, generalize arm_iommu_map_page
and arm_iommu_unmap_page to allow ITS doorbell mappings with dfn != mfn.

The mfn does not need to be passed to guest_physmap_remove_page since
there is no mfn checking on the p2m_iommu_map_{rw,ro} p2m types during
unmap. Pass INVALID_MFN to guest_physmap_remove_page.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>

Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>

Tested-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Thanks,
Jason



 


Rackspace

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