Skip to content

x86/iommu: PVH Dom0 workarounds for missing RMRR entries

Roger Pau Monne xen-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest6 patches 7 repliesIn review
  2. v76 patches 14 repliesSuperseded
  3. v66 patches 11 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v58 patches18 repliesSuperseded
v44 patches19 repliesSuperseded
v34 patches20 repliesSuperseded
v25 patches23 repliesSuperseded
v14 patches35 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6iommu: rename iommu_dom0_strict and iommu_passthroughxen/arch/x86/x86_64/mm.c xen/drivers/passthrough/amd/iommu_init.c xen/drivers/passthrough/amd/pci_amd_iommu.c +4 more+32 -282 replies
2/6iommu: introduce dom0-iommu optiondocs/misc/xen-command-line.markdown xen/drivers/passthrough/iommu.c+48 -40 replies
3/6iommu: make iommu_inclusive_mapping a suboption of dom0-iommudocs/misc/xen-command-line.markdown xen/drivers/passthrough/amd/pci_amd_iommu.c xen/drivers/passthrough/arm/iommu.c +7 more+103 -652 replies
4/6mm: introduce a helper to get the memory type of a pagexen/arch/x86/mm.c xen/include/xen/mm.h+45 -00 replies
5/6x86/iommu: switch the hwdom mapping function to use page_get_typexen/drivers/passthrough/x86/iommu.c+34 -280 replies
6/6x86/iommu: add map-reserved dom0-iommu option to map reserved memory rangesdocs/misc/xen-command-line.markdown xen/arch/x86/hvm/io.c xen/drivers/passthrough/amd/pci_amd_iommu.c +6 more+78 -83 replies

Reviews trailers per patch

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

PatchJan BeulichKevin TianWei LiuPaul DurrantJulien GrallSuravee Suthikulpanit
1/6R-b R-b R-b A-b
2/6R-b R-b
3/6R-b R-b R-b A-b A-b
4/6R-b
5/6R-b R-b
6/6A-b R-b R-b R-b A-b A-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 6 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/6] x86/iommu: PVH Dom0 workarounds for missing RMRR entries

Hello,

The following series implement a workaround for missing RMRR entries for a PVH Dom0. It's based on the iommu_inclusive_mapping VTd option.

The PVH workaround identity maps all regions marked as reserved in the memory map.

Note that this workaround is enabled by default on Intel hardware. It's also available to AMD hardware, although it's disabled by default in that case.

The series can be found at:

git://xenbits.xen.org/people/royger/xen.git iommu_inclusive_v8

Thanks.

Roger Pau Monne (6):
iommu: rename iommu_dom0_strict and iommu_passthrough
iommu: introduce dom0-iommu option
iommu: make iommu_inclusive_mapping a suboption of dom0-iommu
mm: introduce a helper to get the memory type of a page x86/iommu: switch the hwdom mapping function to use page_get_type x86/iommu: add map-reserved dom0-iommu option to map reserved memory
ranges

 docs/misc/xen-command-line.markdown         |  41 ++++++++
 xen/arch/x86/hvm/io.c                       |   5 +
 xen/arch/x86/mm.c                           |  42 ++++++++
 xen/arch/x86/x86_64/mm.c                    |   3 +-
 xen/drivers/passthrough/amd/iommu_init.c    |   2 +-
 xen/drivers/passthrough/amd/pci_amd_iommu.c |  11 +-
 xen/drivers/passthrough/arm/iommu.c         |   4 +
 xen/drivers/passthrough/arm/smmu.c          |   9 ++
 xen/drivers/passthrough/iommu.c             |  72 +++++++++++---
 xen/drivers/passthrough/vtd/extern.h        |   2 -
 xen/drivers/passthrough/vtd/iommu.c         |  25 ++---
 xen/drivers/passthrough/vtd/x86/vtd.c       |  58 +----------
 xen/drivers/passthrough/x86/iommu.c         | 105 ++++++++++++++++++++
 xen/include/asm-x86/hvm/io.h                |   3 +
 xen/include/xen/iommu.h                     |   8 +-
 xen/include/xen/mm.h                        |   3 +
 16 files changed, 300 insertions(+), 93 deletions(-)
Signature · 7 lines
2.18.0


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