x86/amd-iommu: Reset command buffer if wait loop fails
commit6a1eddd2f951656a6abbd42e2cddc2267c4a639d
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:15:10 +0000 (3 15:15 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:56:19 +0000 (3 15:56 +0200)
treed9290794ae58aef32738b332e8613b5f2b761ffb
parentb26e81b871bd18184968f0bb3f12945906eadfce
x86/amd-iommu: Reset command buffer if wait loop fails

Instead of a panic on an comletion wait loop failure, try to
recover from that event from resetting the command buffer.

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