Skip to content

IOMMU: restrict visibility/scope if certain variables

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. v2 Latest5 patches 11 repliesIn review
  2. v15 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5IOMMU: iommu_intremap is x86-onlydocs/misc/xen-command-line.pandoc xen/drivers/passthrough/iommu.c xen/drivers/passthrough/x86/iommu.c +1 more+18 -31 reply
2/5IOMMU: iommu_intpost is x86/HVM-onlydocs/misc/xen-command-line.pandoc xen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c +2 more+35 -126 replies
3/5IOMMU: iommu_igfx is x86-onlyxen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c xen/include/xen/iommu.h+6 -21 reply
4/5IOMMU: iommu_qinval is x86-onlyxen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c xen/include/xen/iommu.h+5 -51 reply
5/5IOMMU: iommu_snoop is x86-onlyxen/drivers/passthrough/iommu.c xen/drivers/passthrough/vtd/iommu.c xen/include/xen/iommu.h+18 -61 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin TianPaul Durrant
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v2 thread

Cover letter [Xen-devel] [PATCH v2 0/5] IOMMU: restrict visibility/scope if certain variables

A number of the command line controlled variables are x86- or even x86-HVM-specific. Don't have those variables elsewhere in the first place (in some cases replace them by a #define), and as a result also don't silently accept such "iommu=" sub-options which in fact have no effect.

1: iommu_intremap is x86-only
2: iommu_intpost is x86/HVM-only
3: iommu_igfx is x86-only
4: iommu_qinval is x86-only
5: iommu_snoop is x86-only

The series contextually depends on "AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode"

v2 addresses review comments, at least as far as agreement was reached. See individual patches.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel