]> git.karo-electronics.de Git - karo-tx-linux.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)
commit999ba417cc1a43881126d08876d5d7e653113ae3
tree6e8bcde9d590566e61c96491d3959d9c01c39066
parent5f6a59d8ad55781d4d2ff0d327f84aaeed2c4127
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