iommu/vt-d: Don't copy translation tables if RTT bit needs to be changed
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 10:39:25 +0000 (12:39 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:35 +0000 (10:59 +0200)
commitc3361f2f6e1d64bc7e7b8148bbd1c66b8007a898
treee1021d3d5780e43aa1646ecdb8501b24322fa771
parenta87f491890e994dca4bee64690d7e5183a19264e
iommu/vt-d: Don't copy translation tables if RTT bit needs to be changed

We can't change the RTT bit when translation is enabled, so
don't copy translation tables when we would change the bit
with our new root entry.

Tested-by: ZhenHua Li <zhen-hual@hp.com>
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c