iommu/amd: Set IOTLB invalidation timeout
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:51:53 +0000 (14:51 +0100)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:43 +0000 (11:11 +0200)
commitac2b520c46800dec16f3c23d0cf8759826750937
treeb105bad9949f62fabfd184ab38ec20748bb06063
parentc5f474e1c921c271aeb5d1dead969c2bff87bcbd
iommu/amd: Set IOTLB invalidation timeout

To protect the command buffer from hanging when a device
does not respond to an IOTLB invalidation, set a timeout of
1s for outstanding IOTLB invalidations.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h