commit | 2e2e35d512798193b4165ed884a5d1d9b181e231 | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Fri Nov 03 10:51:32 2017 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Fri Nov 03 10:51:32 2017 -0600 |
tree | 2b162122b86deba8109f27e5ead56ac08fc36be4 | |
parent | a593472591a5cf2d91244bc3f319c9dd91119343 [diff] |
iommu/vt-d: Missing checks for pasid tables if allocation fails intel_svm_alloc_pasid_tables() might return an error but never be checked by the callers. Later when intel_svm_bind_mm() is called, there are no checks for valid pasid tables before enabling them. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Liu, Yi L <yi.l.liu@intel.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>