summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaire McNamara <daire.mcnamara@microchip.com>2023-07-28 14:13:59 +0100
committerLorenzo Pieralisi <lpieralisi@kernel.org>2023-08-08 12:58:21 +0200
commit4f0b91247f78ccd702f2da5a17d4524101adfc7d (patch)
tree7bbce83bf3df6460c86e135b34e229e08c6175c0 /tools/perf/scripts/python
parentd1d6a0c9e79c595b3961d5b62594e058d811d6cb (diff)
PCI: microchip: Clean up initialisation of interrupts
Refactor interrupt handling in _init() function into disable_interrupts(), init_interrupts(), clear_sec_errors() and clear ded_errors() because current code is unwieldy and prone to bugs. Disable interrupts as soon as possible and only enable interrupts after address translation is setup to prevent spurious axi2pcie and pcie2axi translation errors being reported. Link: https://lore.kernel.org/r/20230728131401.1615724-6-daire.mcnamara@microchip.com Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions