Skip to content

[4.16?] VT-d: misc (regression) fixes

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 3 repliesIn review
  2. v1 posting 1/23 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3[4.16] VT-d: per-domain IOMMU bitmap needs to have dynamic sizexen/drivers/passthrough/vtd/iommu.c xen/include/asm-x86/iommu.h+12 -52 replies
2/3[4.16?] VT-d: fix reduced page table levels support when sharing tablesxen/drivers/passthrough/vtd/iommu.c+11 -90 replies
3/3[4.16?] VT-d: don't needlessly engage the untrusted-MSI workaroundxen/drivers/passthrough/vtd/iommu.c+9 -80 replies

Reviews trailers per patch

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

PatchKevin TianIan Jackson
1/3R-b Release-Acked-by
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 0/3][4.16?] VT-d: misc (regression) fixes

(re-sending upon Ian's request with his address adjusted, including Kevin's R-b at this occasion)

1: per-domain IOMMU bitmap needs to have dynamic size 2: fix reduced page table levels support when sharing tables 3: don't needlessly engage the untrusted-MSI workaround

As to 4.16 considerations: Only patch 1 addresses a regression introduced after 4.15, the others are older. Patch 3 additionally only addresses an inefficiency; the code we have is correct from a functional pov.

As to patch 1: Without the earlier change, systems with more than 32 IOMMUs simply would fail to enable use of the IOMMUs altogether. Now systems with more than 64 IOMMUs would observe memory corruption (with unclear knock-on effects). Whether systems with this many IOMMUs actually exist I can't tell; I know of ones with 40, which isn't all that far away from 64.

Jan