Skip to content

Prevent RESV_DIRECT devices from user assignment

Lu Baolu kvm linux-iommu lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- Rename "requires_direct" to "require_direct".
- Refine some comments.
- Rebase on the top of iommu next branch.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommu: Prevent RESV_DIRECT devices from blocking domainsdrivers/iommu/iommu.c include/linux/iommu.h+29 -101 reply
2/2iommu/vt-d: Remove rmrr check in domain attaching device pathdrivers/iommu/intel/iommu.c+0 -580 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJason GunthorpeKevin TianJoerg Roedel
1/2R-b A-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] Prevent RESV_DIRECT devices from user assignment

These are follow-up patches on this discussion:

https://lore.kernel.org/linux-iommu/BN9PR11MB5276E84229B5BD952D78E9598C639@BN9PR11MB5276.namprd11.prod.outlook.com

I just summarized the ideas and code into a real patch series. Please help to review and merge.

Change log:
v3:
- Rename "requires_direct" to "require_direct".
- Refine some comments.
- Rebase on the top of iommu next branch.

v2: https://lore.kernel.org/linux-iommu/[email protected]/
- Move "pg_size == 0" check out of the loop.
- Rebase on the top of v6.5-rc1.

v1: https://lore.kernel.org/linux-iommu/[email protected]/

Lu Baolu (2):
iommu: Prevent RESV_DIRECT devices from blocking domains iommu/vt-d: Remove rmrr check in domain attaching device path

 include/linux/iommu.h       |  2 ++
 drivers/iommu/intel/iommu.c | 58 -------------------------------------
 drivers/iommu/iommu.c       | 37 ++++++++++++++++-------
 3 files changed, 29 insertions(+), 68 deletions(-)
Signature · 1 line
2.34.1