Re: 3.6.11 AMD-Vi: Completion-Wait loop timed out

From: Suravee Suthikulpanit
Date: Wed Jan 23 2013 - 10:00:09 EST


On 1/23/2013 8:19 AM, Udo van den Heuvel wrote:
On 2013-01-23 00:29, Suravee Suthikulanit wrote:
I sent out a patch
(http://marc.info/?l=linux-kernel&m=135889686523524&w=2) which should
implement
the workaround for AMD processor family15h model 10-1Fh erratum 746 in
the IOMMU driver.
In your case, the output from "setpci -s 00:00.02 F4.w" is "0050" which
tells me that BIOS doesn't
implement the work around. After patching, you should see the following
message in "dmesg".

"AMD-Vi: Applying erratum 746 for IOMMU at 0000:00:00.2"
Thanks!
I'll check for that after these messages.

The following patch slightly modify
the code to always issue "COMPLETION_WAIT" after every command. This
should help increasing the chance of reproducing
the issue.
Should I test with these two patches together?
Or should I apply the first one first and then see what the second can help?
Please try the first one first. If the issue doesn't reproduce, you can use the second patch to try to trigger it.

Thank you,

Suravee


Kind regards,
Udo



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/