Skip to content
Commit cbf3ccd0 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Don't clear DTE flags when modifying it



During device assignment/deassignment the flags in the DTE
get lost, which might cause spurious faults, for example
when the device tries to access the system management range.
Fix this by not clearing the flags with the rest of the DTE.

Reported-by: default avatarG. Richard Bellamy <rbellamy@pteradigm.com>
Tested-by: default avatarG. Richard Bellamy <rbellamy@pteradigm.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent d14f6fce
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