summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-10-20 17:52:13 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2015-10-20 18:26:21 +0300
commit5d52f482ebb7d0845e84cb235700061bc5682ada (patch)
tree30b7a717fa1dc6871308543483e3512ccfd5fae7 /tools/perf/scripts/python
parentb9997e385eb2b9004d989e3710bd9001532410c0 (diff)
downloadlinux-5d52f482ebb7d0845e84cb235700061bc5682ada.tar.xz
iommu/vt-d: Fix SVM IOTLB flush handling
Change the 'pages' parameter to 'unsigned long' to avoid overflow. Fix the device-IOTLB flush parameter calculation — the size of the IOTLB flush is indicated by the position of the least significant zero bit in the address field. For example, a value of 0x12345f000 will flush from 0x123440000 to 0x12347ffff (256KiB). Finally, the cap_pgsel_inv() is not relevant to SVM; the spec says that *all* implementations must support page-selective invaliation for "first-level" translations. So don't check for it. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions