diff options
author | Daire McNamara <[email protected]> | 2023-07-28 14:13:59 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2023-08-08 12:58:21 +0200 |
commit | 4f0b91247f78ccd702f2da5a17d4524101adfc7d (patch) | |
tree | 7bbce83bf3df6460c86e135b34e229e08c6175c0 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d1d6a0c9e79c595b3961d5b62594e058d811d6cb (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/[email protected]
Signed-off-by: Daire McNamara <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions