x86/amd-iommu: Improve handling of full command buffer
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 6 Apr 2011 16:38:20 +0000 (18:38 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Apr 2011 08:46:07 +0000 (10:46 +0200)
commitac0ea6e92b2227c86fe4f7f9eb429071d617a25d
tree7094f983ef784cf050f1f5d192112bab67028ae9
parent17b124bf1463582005d662d4dd95f037ad863c57
x86/amd-iommu: Improve handling of full command buffer

This patch improved the handling of commands when the IOMMU
command buffer is nearly full. In this case it issues an
completion wait command and waits until the IOMMU has
processed it before continuing queuing new commands.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c