commit | cbf3ccd09d683abf1cacd36e3640872ee912d99b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Oct 20 14:59:36 2015 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Oct 21 11:29:06 2015 +0200 |
tree | 3fbda4ca1a94e2bc939d644246c3525606b96652 | |
parent | d14f6fced5f9360edca5a1325ddb7077aab1203b [diff] |
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: G. Richard Bellamy <rbellamy@pteradigm.com> Tested-by: G. Richard Bellamy <rbellamy@pteradigm.com> Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <jroedel@suse.de>