From: Han, Weidong Date: Sat, 4 Apr 2009 09:21:26 +0000 (+0800) Subject: x86, dmar: check if it's initialized before disable queue invalidation X-Git-Tag: v2.6.30-rc1~175^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34aaaa948e3c9dd65b27fa499c5c9e8d8f1227cf;p=pandora-kernel.git x86, dmar: check if it's initialized before disable queue invalidation If queue invalidation is disabled after it's already initialized, dmar_enable_qi won't re-enable it due to iommu->qi is allocated. It may result in system hang when use queue invalidation. Add this check to avoid this case. Signed-off-by: Weidong Han Signed-off-by: David Woodhouse --- Reading git-diff-tree failed