iommu/vt-d: Tylersburg isoch identity map check is done too late.
authorAshok Raj <ashok.raj@intel.com>
Mon, 30 Jan 2017 17:39:53 +0000 (09:39 -0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 31 Jan 2017 11:50:05 +0000 (12:50 +0100)
commit21e722c4c8377b5bc82ad058fed12165af739c1b
treebf352d347916dcecc143ee76a394638527df4060
parentaaa59306b0b7e0ca4ba92cc04c5db101cbb1c096
iommu/vt-d: Tylersburg isoch identity map check is done too late.

The check to set identity map for tylersburg is done too late. It needs
to be done before the check for identity_map domain is done.

To: Joerg Roedel <joro@8bytes.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: iommu@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Cc: Ashok Raj <ashok.raj@intel.com>
Fixes: 86080ccc22 ("iommu/vt-d: Allocate si_domain in init_dmars()")
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Reported-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c