diff options
author | Marek Vasut <[email protected]> | 2018-05-24 16:36:21 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2018-05-24 18:39:59 +0100 |
commit | 1aea58be739816f05232c64f970784d75a84cd96 (patch) | |
tree | 8dacbee3fdd36b1fa8a4e6f28246d3d48abc8359 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53f1aebfbe46ffe422138758c9d015502740f714 (diff) |
PCI: rcar: Teardown MSI setup if rcar_pcie_enable() fails
If the rcar_pcie_enable() fails and MSIs are enabled, the setup done in
rcar_pcie_enable_msi() is never undone. Add a function to tear down the
MSI setup by disabling the MSI handling in the PCIe block, deallocating
the pages requested for the MSIs and zapping the IRQ mapping.
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Phil Edworthy <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions