]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Avoid global flushes with caching mode.
authorNadav Amit <nadav.amit@gmail.com>
Thu, 8 Apr 2010 20:00:41 +0000 (23:00 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 9 Apr 2010 14:54:41 +0000 (15:54 +0100)
commit32c12fd248485c8a14c1850b8ef809f93b3e4702
treed992607aba2b178a251d52d4e2ac6f9c62709c10
parentf9e3064bc738faf69c9be170e05f179ac9fdbb30
intel-iommu: Avoid global flushes with caching mode.

While it may be efficient on real hardware, emulation of global
invalidations is very expensive as all shadow entries must be examined.
This patch changes the behaviour when caching mode is enabled (which is
the case when IOMMU emulation takes place). In this case, page specific
invalidation is used instead.

Signed-off-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c