[PULL v3 06/32] intel_iommu: fix bug to read DMAR_RTADDR_REG

2020-01-07 Thread Michael S. Tsirkin
From: Yi Sun Should directly read DMAR_RTADDR_REG but not using 's->root'. Because 's->root' is modified in 'vtd_root_table_setup()' so that the first 12 bits are omitted. This causes the guest iommu debugfs cannot show pasid tables. Signed-off-by: Yi Sun Message-Id: <20191205095439.29114-1-yi.

[PULL v3 06/32] intel_iommu: fix bug to read DMAR_RTADDR_REG

2020-01-05 Thread Michael S. Tsirkin
From: Yi Sun Should directly read DMAR_RTADDR_REG but not using 's->root'. Because 's->root' is modified in 'vtd_root_table_setup()' so that the first 12 bits are omitted. This causes the guest iommu debugfs cannot show pasid tables. Signed-off-by: Yi Sun Message-Id: <20191205095439.29114-1-yi.