diff options
author | Lu Baolu <[email protected]> | 2018-09-08 09:42:53 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2018-09-25 14:33:02 +0200 |
commit | be9e6598aeb0db70a7927d6b3bb4d3d6fb1c3e18 (patch) | |
tree | 6a3b6e84ed02d93dcd2681ca6932c42ebe8097ac /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 74bc2abca7603c956d1e331e8b9bee7b874c1eec (diff) |
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 <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Mika Westerberg <[email protected]>
Reported-and-tested-by: Pelton Kyle D <[email protected]>
Tested-by: Mika Westerberg <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions