x86, AMD IOMMU: add an emergency exit to the completion wait loop
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 11 Jul 2008 15:14:27 +0000 (17:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 16:01:13 +0000 (18:01 +0200)
To make the loop waiting for the completion wait command not wait forever this
patch adds a limit of cycles that loop.

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
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found