iommu/vt-d: Introduce rbtree for probed devices
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 16 repliesSuperseded
Changes in v2 from the cover letter
- Drop get/put_device() in device_rbtree_find();
- Add a mutex to synchronize iopf report and device release paths.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iommu/vt-d: Use rbtree to track iommu probed devicesdrivers/ drivers/ drivers/ | +96 | 0 replies | |
| 2/2 | iommu/vt-d: Use device rbtree in iopf reporting pathdrivers/ drivers/ drivers/ +1 more | +15 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jason Gunthorpe | Lu Baolu |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] iommu/vt-d: Introduce rbtree for probed devices
This is a follow-up to the discussion thread here:
https://lore.kernel.org/linux-iommu/[email protected]/
This proposes a per-IOMMU red-black tree for iommu probed devices. It benefits fault handling paths, where the VT-d hardware reports the Source ID of the related device, and software needs to retrieve the corresponding device pointer based on this ID.
This is also available at github:
https://github.com/LuBaolu/intel-iommu/commits/rbtree-for-device-info-v2
Change log:
v2:
- Drop get/put_device() in device_rbtree_find();
- Add a mutex to synchronize iopf report and device release paths.
v1: https://lore.kernel.org/linux-iommu/[email protected]/
Lu Baolu (2):
iommu/vt-d: Use rbtree to track iommu probed devices iommu/vt-d: Use device rbtree in iopf reporting path
drivers/iommu/intel/iommu.h | 10 ++++ drivers/iommu/intel/dmar.c | 4 +- drivers/iommu/intel/iommu.c | 91 ++++++++++++++++++++++++++++++++++++- drivers/iommu/intel/svm.c | 17 +++---- 4 files changed, 111 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1