iommu/vt-d: Make root entry visible for hardware right after allocation
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 07:18:53 +0000 (09:18 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:34 +0000 (10:59 +0200)
commit5f0a7f7614a9d99325ac8d618f1cdf7a3014287c
tree6fec61fe80852313b1309f69c4afaa79dc64d46a
parentb63d80d1e01e949dbe469e1d72fc0b7e173dbdd8
iommu/vt-d: Make root entry visible for hardware right after allocation

In case there was an old root entry, make our new one
visible immediately after it was allocated.

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