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

[PATCH v6 0/7] Remaining patches for dynamic node programming using overlay dtbo


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Date: Fri, 24 May 2024 15:16:19 -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=ptcLF8WT724EvyJqTvtI6fTRdxA3T83ZeikxU5Q7GAs=; b=ZoNWWw0kMjC1AdwywpA9fX73CQHax4wSadNJZV4a0mU2/6Vd65fiUDO27tgt16CFWWHqKGlIFwKGB6pZNqz1fcfC5jDeLLvOi+SKiE/T1aTCchJTi5nZ0G7eXKErfFxfmfkAXbcyRQFk91hfAssdDJP8EaN3MyF9NgdJSx2tNGJGKQd6Ce1PBpD7MU9wQ+Z3DRfyuTGYRnhDSvGQf5tciSAh22g0IGKPlLh7q446X1sLStD1GM9yFVJVFNEeYjB+NFmXY3tiMima8pz5dlv1bAAI8B6DZHFq5LfiyTlZ6NIXuFdapmRH+fzYvJAZNm03G++Y0q29Mc61JwmMusdnUw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GS0mQMh+LkWGDzPh4Va4ANT0ULRmwtgEZ1kD6CRGs87btuTwfeN4ZcI+6zAcn13plyPBhnG5r2kLRYBUe3TVZ2mwASV/sKxCqyps1MBmXe4lhHteE2h8tPXV2iPJJs9dlQz2HkA8NDbVjWH48fzL1VKR9yvVGnUJv+LtUw4RwZScs5136jifTLo05G3G2kanosiOdwL4yc1lUTDkO5SuVjkvQgf5mfQfFrAvC9fGrt8q7HgZPd1kVFHrIvt/RyqJd4gZiOnIQbXGe6mNqH3K/CTYawpyKKrnlsYELxSKCOsRxiyIJt99W5QDmuW0kSeEb8GKxTKSj0ODibxcq/Jxvw==
  • 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 22:16:31 +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 v6:
- address Julien's comments
- use a !is_domain_direct_mapped check

- Stefano



 


Rackspace

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