qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/2] intel-iommu: Extend address width to 48 bits
@ 2017-11-14 23:13 prasad.singamsetty
  2017-11-14 23:13 ` [Qemu-devel] [PATCH v1 1/2] intel-iommu: Redefine macros to enable supporting 48 bit address width prasad.singamsetty
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: prasad.singamsetty @ 2017-11-14 23:13 UTC (permalink / raw)
  To: qemu-devel, pbonzini, rth, ehabkost, mst, imammedo; +Cc: peterx, konrad.wilk

From: Prasad Singamsetty <prasad.singamsetty@oracle.com>

This pair of patches extends the intel-iommu to support address
width to 48 bits. This is required to support qemu guest with large
memory (>=1TB). 

Patch1 implements changes to redefine macros and usage to
allow further changes to add support for 48 bit address width.
This patch doesn't change the existing functionality or behavior.

Patch2 adds support for 48 bit address width but keeping the
default to 39 bits.

NOTE: Peter Xu had originaly started on this enhancement
but it was not completed or integrated.

Unit testing done:

patch-1:
   * Boot vm with and without intel-iommu enabled
   * Boot vm with #cpus below and above 255 cpus
patch-2:
   * boot vm without "x-aw-bits" or "x-aw-bits=39": guest boots with 39
   * boot vm with "x-aw-bits=48": guest boots with 48 bits
   * boot vm with invalid value for x-aw-bits: guest fails to boot
   * boot vm with >=1TB memory and "x-aw-bits=48": guest boots

Prasad Singamsetty (2):
  intel-iommu: Redefine macros to enable supporting 48 bit address width
  intel-iommu: Extend address width to 48 bits

 hw/i386/acpi-build.c           |   3 +-
 hw/i386/intel_iommu.c          | 123 +++++++++++++++++++++++++----------------
 hw/i386/intel_iommu_internal.h |  43 +++++++++-----
 include/hw/i386/intel_iommu.h  |   7 ++-
 4 files changed, 110 insertions(+), 66 deletions(-)

-- 
2.14.0-rc1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2018-01-11 16:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14 23:13 [Qemu-devel] [PATCH v1 0/2] intel-iommu: Extend address width to 48 bits prasad.singamsetty
2017-11-14 23:13 ` [Qemu-devel] [PATCH v1 1/2] intel-iommu: Redefine macros to enable supporting 48 bit address width prasad.singamsetty
2017-12-01 11:23   ` Liu, Yi L
2017-12-01 18:15     ` Prasad Singamsetty
2017-11-14 23:13 ` [Qemu-devel] [PATCH v1 2/2] intel-iommu: Extend address width to 48 bits prasad.singamsetty
2017-11-28 17:32   ` Michael S. Tsirkin
2017-11-29 21:05     ` Prasad Singamsetty
2017-11-30  3:25       ` Peter Xu
2017-11-30 18:33         ` Prasad Singamsetty
2017-11-30 18:56           ` Michael S. Tsirkin
2017-11-30 19:12             ` Prasad Singamsetty
2017-12-01  4:43               ` Peter Xu
2017-12-01 17:02                 ` Prasad Singamsetty
2017-12-01 17:03                   ` Michael S. Tsirkin
2017-12-04  4:07                   ` Peter Xu
2017-11-30  5:22   ` Liu, Yi L
2017-11-30  9:11     ` Peter Xu
2017-11-30  9:54       ` Liu, Yi L
2017-11-30 11:58         ` Peter Xu
2017-12-01 11:29   ` Liu, Yi L
2018-01-11  0:05     ` Prasad Singamsetty
2018-01-11  2:46       ` Liu, Yi L
2018-01-11 16:19         ` Prasad Singamsetty
2017-11-15  7:40 ` [Qemu-devel] [PATCH v1 0/2] " Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).