aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <[email protected]>2018-07-18 10:18:45 +0100
committerMichael S. Tsirkin <[email protected]>2018-08-22 00:56:58 +0300
commit69599206ea9a3f8f2e94d46580579cbf9d08ad6c (patch)
tree0055bfef1896dc50627021081e305fcaa0b83257 /tools/perf/scripts/python/export-to-postgresql.py
parent3fc92a96c2b7efdb7fc4f856713e2ab7439757f6 (diff)
virtio: pci-legacy: Validate queue pfn
Legacy PCI over virtio uses a 32bit PFN for the queue. If the queue pfn is too large to fit in 32bits, which we could hit on arm64 systems with 52bit physical addresses (even with 64K page size), we simply miss out a proper link to the other side of the queue. Add a check to validate the PFN, rather than silently breaking the devices. Cc: "Michael S. Tsirkin" <[email protected]> Cc: Jason Wang <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Christoffer Dall <[email protected]> Cc: Peter Maydel <[email protected]> Cc: Jean-Philippe Brucker <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions