summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2018-09-08 09:42:53 +0800
committerJoerg Roedel <jroedel@suse.de>2018-09-25 14:33:02 +0200
commitbe9e6598aeb0db70a7927d6b3bb4d3d6fb1c3e18 (patch)
tree6a3b6e84ed02d93dcd2681ca6932c42ebe8097ac /drivers/pcmcia
parent74bc2abca7603c956d1e331e8b9bee7b874c1eec (diff)
downloadlinux-be9e6598aeb0db70a7927d6b3bb4d3d6fb1c3e18.tar.bz2
iommu/vt-d: Handle memory shortage on pasid table allocation
Pasid table memory allocation could return failure due to memory shortage. Limit the pasid table size to 1MiB because current 8MiB contiguous physical memory allocation can be hard to come by. W/o a PASID table, the device could continue to work with only shared virtual memory impacted. So, let's go ahead with context mapping even the memory allocation for pasid table failed. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107783 Fixes: cc580e41260d ("iommu/vt-d: Per PCI device pasid table interfaces") Cc: Ashok Raj <ashok.raj@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Mika Westerberg <mika.westerberg@linux.intel.com> Reported-and-tested-by: Pelton Kyle D <kyle.d.pelton@intel.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions