]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Export intel_iommu_enabled to signal when iommu is in use
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Wed, 23 Nov 2011 18:42:14 +0000 (16:42 -0200)
committerKeith Packard <keithp@keithp.com>
Fri, 16 Dec 2011 16:49:57 +0000 (08:49 -0800)
commit62398e76d5c5c79ac0a36926d240e34c157e2cfc
tree259cc3a7b192afbde9c4b2bf066f0e1a3e4b3999
parent5310ae9c31f7a2b655273220cc0adadd8e654100
iommu: Export intel_iommu_enabled to signal when iommu is in use

In i915 driver, we do not enable either rc6 or semaphores on SNB when dmar
is enabled. The new 'intel_iommu_enabled' variable signals when the
iommu code is in operation.

Cc: Ted Phelps <phelps@gnusto.com>
Cc: Peter <pab1612@gmail.com>
Cc: Lukas Hejtmanek <xhejtman@fi.muni.cz>
Cc: Andrew Lutomirski <luto@mit.edu>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/iommu/intel-iommu.c
include/linux/dma_remapping.h