aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2021-03-20 10:41:56 +0800
committerJoerg Roedel <jroedel@suse.de>2021-04-07 10:09:54 +0200
commit1d421058c815d54113d9afdf6db3f995c788cf0d (patch)
tree4e9f2c52c2003d7bdf14ee1ffce647dd9a8d427c /include/trace
parentiommu/vt-d: Fix lockdep splat in intel_pasid_get_entry() (diff)
downloadlinux-dev-1d421058c815d54113d9afdf6db3f995c788cf0d.tar.xz
linux-dev-1d421058c815d54113d9afdf6db3f995c788cf0d.zip
iommu/vt-d: Don't set then clear private data in prq_event_thread()
The VT-d specification (section 7.6) requires that the value in the Private Data field of a Page Group Response Descriptor must match the value in the Private Data field of the respective Page Request Descriptor. The private data field of a page group response descriptor is set then immediately cleared in prq_event_thread(). This breaks the rule defined by the VT-d specification. Fix it by moving clearing code up. Fixes: 5b438f4ba315d ("iommu/vt-d: Support page request in scalable mode") Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Reviewed-by: Liu Yi L <yi.l.liu@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20210320024156.640798-1-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions