AMD IOMMU: Reset tail and head pointer of cmd buffer and event log
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 13 Jan 2009 15:16:46 +0000 (15:16 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 13 Jan 2009 15:16:46 +0000 (15:16 +0000)
commit542f7a560fe424158b1093e2a3c8be36ba187e0c
tree7a640eefeca29c89a90eac591bf125dbbfb2d27f
parent334ed7f65e426e7acd7923a23054294de9a4293a
AMD IOMMU: Reset tail and head pointer of cmd buffer and event log

Reset the tail and the head pointers of command buffer and event log
to zero in case that iommu does not reset them after the base
addresses of those buffers are updated.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_init.c