summary refs log tree commit diff
path: root/net/qrtr
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2019-02-19 11:04:52 -0800
committerJoerg Roedel <jroedel@suse.de>2019-02-26 11:07:05 +0100
commit1b84778a62ad6d0d97ace457072d93933f306ef5 (patch)
tree352a19312d191639d2b45e77ec7edb2bcef265b4 /net/qrtr
parente5567f5f67621877726f99be040af9fbedda37dc (diff)
downloadlinux-1b84778a62ad6d0d97ace457072d93933f306ef5.tar.gz
iommu/vt-d: Fix PRI/PASID dependency issue.
In Intel IOMMU, if the Page Request Queue (PRQ) is full, it will
automatically respond to the device with a success message as a keep
alive. And when sending the success message, IOMMU will include PASID in
the Response Message when the Page Request has a PASID in Request
Message and it does not check against the PRG Response PASID requirement
of the device before sending the response. Also, if the device receives
the PRG response with PASID when its not expecting it the device behavior
is undefined. So if PASID is enabled in the device, enable PRI only if
device expects PASID in PRG Response Message.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Keith Busch <keith.busch@intel.com>
Suggested-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions