diff options
author | Eric Auger <[email protected]> | 2019-11-08 16:58:03 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-11-11 16:10:54 +0100 |
commit | 4e7120d79edb31e4ee68e6f8421448e4603be1e9 (patch) | |
tree | 7cd7508a4e2f64c5d8550806d4f0e21b2baf7792 /lib/memory-notifier-error-inject.c | |
parent | 9059f3c9c02714fcb1093cba281efb1a1bb04258 (diff) |
iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
For both PASID-based-Device-TLB Invalidate Descriptor and
Device-TLB Invalidate Descriptor, the Physical Function Source-ID
value is split according to this layout:
PFSID[3:0] is set at offset 12 and PFSID[15:4] is put at offset 52.
Fix the part laid out at offset 52.
Fixes: 0f725561e1684 ("iommu/vt-d: Add definitions for PFSID")
Signed-off-by: Eric Auger <[email protected]>
Acked-by: Jacob Pan <[email protected]>
Cc: [email protected] # v4.19+
Acked-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions