Han, Weidong 34aaaa948e 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 <weidong.han@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-04-04 10:41:32 +01:00
..
2005-10-18 08:26:15 -07:00
2008-10-16 16:53:15 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2009-03-20 10:48:14 -07:00
2009-03-20 10:48:14 -07:00
2009-03-30 12:15:52 -07:00
2009-02-13 12:01:56 -08:00
2008-06-25 16:05:13 -07:00