aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlan Mikhak <[email protected]>2019-05-23 21:55:40 +0000
committerLorenzo Pieralisi <[email protected]>2019-06-11 09:55:36 +0000
commit3041a643613a2530ade35a9ae97709a9da4c0c72 (patch)
tree88456033c500f82bf26e4af96e9ea065901b9ab9 /tools/perf/scripts/python/event_analyzing_sample.py
parentPCI: endpoint: Allocate enough space for fixed size BAR (diff)
downloadkernel-3041a643613a2530ade35a9ae97709a9da4c0c72.tar.gz
kernel-3041a643613a2530ade35a9ae97709a9da4c0c72.zip
PCI: endpoint: Skip odd BAR when skipping 64bit BAR
Always skip odd BAR when skipping 64bit BARs in pci_epf_test_set_bar() and pci_epf_test_alloc_space() otherwise pci_epf_test_set_bar() will call pci_epc_set_bar() on an odd loop index when skipping reserved 64bit BAR. Moreover, pci_epf_test_alloc_space() will call pci_epf_alloc_space() on bind for an odd loop index when BAR is 64bit but leaks on subsequent unbind by not calling pci_epf_free_space(). Signed-off-by: Alan Mikhak <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Kishon Vijay Abraham I <[email protected]> Reviewed-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions