[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 0/7] Remaining patches for dynamic node programming using overlay dtbo
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
- Date: Thu, 23 May 2024 19:16:37 -0700
- 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=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=ppfuxHZIBQNKASSxfSPTIvxjawH5qY0rEI4KTAaepq4=; b=UdmTR9dQxz1JHsL8/Hk/IDRzfQtOFf9GaCLPIDBtt6VVL4r5FGTRfN9QTYGXuORYYEmt1ZNDUOwt8yTQxz/GelmDn4wXbump6X4siQIKOH9ou9gNCw36SVqMmqDviXrPtwICg8fAURkKzLaifJyOt/BliT9XHDEmFSV6PqZniI1/UvGZSx1ezdQme31Jbi3+KHjBQUYKb8fyJD3/npk0Yegv1w/qzj0MouBeI3xC0gRJAyo95ia3+R1QzIt8BhT1jAFaUB+D/J6KfuNLUJ+aVa9My2vFJhEChcs8q5qwOMljOxnI4c9ZoYl8Bl1nWC2LOgaqKHbzV9QZThKtJ+6acw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VGMT2Yk7yr05+5JxfPAA31OIMzY4dLl1ebSMMVQTjjNzkO2mb5CCWaPCLnPBgFnuPCZ9hI/Mz49t7mSnhx7yAX7d8KS92GRIyZf3KQxiL2bxJUCCuaYsDwlcGYNAIM8K8HjJoONfe5E9VOk9El1DA3cgrSNTmVGM3kgw/96sF7Z1OCnv5t6ntAaFSdabfaVhOj0ymkQHMn8NaEddy5smYX80a9+HbF/PU6Lfwyfbr3Xq+nrQcp6vK6u3nc92xm01/AoawPnuOUASY/tPpqlszFOZDB0SbW3PXFDVoGZC/WxZV1FRuAUrc6A3zqTBbMI/5iBsu5/mBQXHU5pfd19hFg==
- Cc: Anthony PERARD <anthony@xxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, "Juergen Gross" <jgross@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>
- Delivery-date: Fri, 24 May 2024 02:17:10 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi all,
This is the remaining series for the full functional "dynamic node
programming using overlay dtbo" feature. The first part [1] has
already been merged.
Quoting from the original series, the first part has already made
Xen aware of new device tree node which means updating the dt_host
with overlay node information, and in this series, the goal is to
map IRQ and IOMMU during runtime, where we will do the actual IOMMU
and IRQ mapping and unmapping to a running domain. Also, documentation
of the "dynamic node programming using overlay dtbo" feature is added.
During the discussion in v3, I was recommended to split the overlay
devices attach/detach to/from running domains to separated patches [3].
But I decided to only expose the xl user interfaces together to the
users after device attach/detach is fully functional, so I didn't
split the toolstack patch (#8).
Patch 1 is a fix of the existing code which is noticed during my local
tests, details please see the commit message.
Gitlab CI for this series can be found in [2].
[1]
https://lore.kernel.org/xen-devel/20230906011631.30310-1-vikram.garhwal@xxxxxxx/
[2] https://gitlab.com/xen-project/people/henryw/xen/-/pipelines/1301720278
[3]
https://lore.kernel.org/xen-devel/e743d3d2-5884-4e55-8627-85985ba339f9@xxxxxxx/
Changes in v5:
- address Julien's comments
- remove patches and mentions of the "detach" operation
- add a check for xen,reg and return error if present
- Stefano
|