aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2020-11-05 14:51:36 -0600
committerBjorn Helgaas <[email protected]>2020-11-30 11:39:11 -0600
commit6534aac198b58309ff2337981d3f893e0be1d19d (patch)
treea43d66dbadfe0f011feebc80d3c3e4c62f9d8605 /tools/perf/util/scripting-engines/trace-event-python.c
parent2f0cd59c6ff91b4bae4b6650ef9bfe00639b5061 (diff)
PCI: Bounds-check command-line resource alignment requests
32-bit BARs are limited to 2GB size (2^31). By extension, I assume 64-bit BARs are limited to 2^63 bytes. Limit the alignment requested by the "pci=resource_alignment=" command-line parameter to 2^63. Link: https://lore.kernel.org/r/20201007123045.GS4282@kadam Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions