iommu/vt-d: Init QI before root entry is allocated
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 07:14:34 +0000 (09:14 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:33 +0000 (10:59 +0200)
commitb63d80d1e01e949dbe469e1d72fc0b7e173dbdd8
treea43402fbd67c1f08153477fbd2051ea8bb4c19b2
parent9f10e5bf62f7b9937afeee8ff0a491f87438e2a2
iommu/vt-d: Init QI before root entry is allocated

QI needs to be available when we write the root entry into
hardware because flushes might be necessary after this.

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