Skip to content

VT-d supports 48 bits address width

Peter Xu qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- renaming "aw-bits" to "x-aw-bits", and clarify that this parameter is experimental [AlexW]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2intel_iommu: check validity for GAW bits in CEhw/i386/intel_iommu.c hw/i386/intel_iommu_internal.h+18 -13 replies
2/2intel_iommu: provide "x-aw-bits" parameterhw/i386/acpi-build.c hw/i386/intel_iommu.c hw/i386/intel_iommu_internal.h +1 more+28 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] VT-d supports 48 bits address width

V3:
- renaming "aw-bits" to "x-aw-bits", and clarify that this parameter is experimental [AlexW]

(V2 is mostly a re-written of V1, so no change log is appended)

The first patch did some check to make sure the CE GAW bits are always valid.

The second patch extended VT-d GAW (Guest Address Width) from 39 bits to 48 bits by providing "aw-bits" parameter for intel-iommu.

Test done:

- boot vm without "x-aw-bits" or "x-aw-bits=39": guest boots with 39 bits
- boot vm with "x-aw-bits=48": guest boots with 48 bits
- boot vm with illegal x-aw-bits: guest refuses to boot

Please review. Thanks,

Peter Xu (2):
intel_iommu: check validity for GAW bits in CE
intel_iommu: provide "x-aw-bits" parameter

 hw/i386/acpi-build.c           |  8 +++++++-
 hw/i386/intel_iommu.c          | 38 ++++++++++++++++++++++++++++++++------
 hw/i386/intel_iommu_internal.h | 13 ++++++-------
 include/hw/i386/intel_iommu.h  |  1 +
 4 files changed, 46 insertions(+), 14 deletions(-)
Signature · 1 line
2.7.4