iommu/amd: Set IOTLB invalidation timeout
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:51:53 +0000 (14:51 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:56:56 +0000 (14:56 +0100)
commit1456e9d2c4667a6e9221eda27b9648fb3bcc1e8e
tree6ef0a4f1ba7d25c97babd5a0f2a41db068150281
parent2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c
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