Skip to content
Commit a8c485bb authored by Chris Wright's avatar Chris Wright Committed by Joerg Roedel
Browse files

amd-iommu: disable cmd buffer and evt logging before reprogramming iommu



The IOMMU spec states that IOMMU behavior may be undefined when the
IOMMU registers are rewritten while command or event buffer is enabled.
Disable them in IOMMU disable path.

Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 42a49f96
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment