]> git.baikalelectronics.ru Git - kernel.git/commit
x86, AMD IOMMU: flush domain TLB when there is more than one page to flush
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Jul 2008 17:35:08 +0000 (19:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 09:44:40 +0000 (11:44 +0200)
commitd0bc4b4a8d80d9077e8499f56471c963ff028f17
tree6e8bcde9d590566e61c96491d3959d9c01c39066
parent156830576a6c08490351fee3916bed86f7e2a080
x86, AMD IOMMU: flush domain TLB when there is more than one page to flush

This patch changes the domain TLB flushing behavior of the driver. When there
is more than one page to flush it flushes the whole domain TLB instead of every
single page. So we send only a single command to the IOMMU in every case which
is faster to execute.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c
include/asm-x86/amd_iommu_types.h