diff options
| author | Sebastian Ott <[email protected]> | 2014-07-09 12:46:39 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-09 14:16:48 -0700 |
| commit | 7276883f1f98cd0a92fdc049f69bdc0912f7fc16 (patch) | |
| tree | 6cd012e0005b3128c6034a5eb57c2dd95419b14a /tools/perf/scripts/python | |
| parent | d584f69d3217fb4336e58f14afca07d709b1c205 (diff) | |
misc/GenWQE: fix pci_enable_msi usage
GenWQE used to call pci_enable_msi_block to allocate a desired number
of MSI's. If that was not possible pci_enable_msi_block returned with a
smaller number which might be possible to allocate. GenWQE then called
pci_enable_msi_block with that number.
Since commit a30d0108b
"GenWQE: Use pci_enable_msi_exact() instead of pci_enable_msi_block()"
pci_enable_msi_exact is used which fails if the desired number of MSI's
was not possible to allocate. Change GenWQE to use pci_enable_msi_range
to restore the old behavior.
Signed-off-by: Sebastian Ott <[email protected]>
Reviewed-by: Alexander Gordeev <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions