iommu/vt-d: Enable upto 57 bits of domain address width
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 20 Dec 2017 19:59:24 +0000 (11:59 -0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 Jan 2018 14:02:49 +0000 (15:02 +0100)
commit5e3b4a15dd8da6bded2092694c8db3b505cbf711
tree34c9140038e015b08883a693734e95ced01512c9
parent9d2e6505f6d6934e681aed502f566198cb25c74a
iommu/vt-d: Enable upto 57 bits of domain address width

Update the IOMMU default domain address width to 57 bits. This would
enable the IOMMU to do upto 5-levels of paging for second level
translations - IOVA translation requests without PASID.

Even though the maximum supported address width is being increased to
57, __iommu_calculate_agaw() would set the actual supported address
width to the maximum support available in IOMMU hardware.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c