diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-03-01 11:23:11 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-03-01 10:23:35 +0100 |
commit | 41b80db227993394f210f0eb705a326db5f605b6 (patch) | |
tree | 279b488d3ea250a190bd7f643c21d9c8ef731ed1 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | d8b8591054575f33237556c32762d54e30774d28 (diff) |
iommu/vt-d: Set context field after value initialized
Otherwise, the translation type field of a context entry for
a PCI device will always be 0. All translated DMA requests
will be blocked by IOMMU. As the result, the PCI devices with
PCI ATS (device IOTBL) support won't work as expected.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Suggested-by: Kevin Tian <kevin.tian@intel.com>
Fixes: 7373a8cc38197 ("iommu/vt-d: Setup context and enable RID2PASID support")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions