diff options
author | Jarkko Nikula <[email protected]> | 2024-09-20 17:44:31 +0300 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-11-01 00:06:14 +0100 |
commit | 6ca2738174e4ee44edb2ab2d86ce74f015a0cc32 (patch) | |
tree | 1c3efbe45c28d1029026955194b1c488981a6b92 /tools/perf/scripts/python/gecko.py | |
parent | 3082990592f7c6d7510a9133afa46e31bbe26533 (diff) |
i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
Bus cleanup path in DMA mode may trigger a RING_OP_STAT interrupt when
the ring is being stopped. Depending on timing between ring stop request
completion, interrupt handler removal and code execution this may lead
to a NULL pointer dereference in hci_dma_irq_handler() if it gets to run
after the io_data pointer is set to NULL in hci_dma_cleanup().
Prevent this my masking the ring interrupts before ring stop request.
Signed-off-by: Jarkko Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions