diff options
| author | Dharma Balasubiramani <dharma.b@microchip.com> | 2025-10-06 16:21:50 +0530 |
|---|---|---|
| committer | William Breathitt Gray <wbg@kernel.org> | 2025-10-13 14:56:30 +0900 |
| commit | 109ff654934a4752f8875ded672efd1fbfe4d31d (patch) | |
| tree | 9160da45cc30566473ba96dfdc06dfe5e313ceed /tools/testing/selftests/bpf/prog_tests/arg_parsing.c | |
| parent | 3a8660878839faadb4f1a6dd72c3179c1df56787 (diff) | |
counter: microchip-tcb-capture: Allow shared IRQ for multi-channel TCBs
Mark the interrupt as IRQF_SHARED to permit multiple counter channels to
share the same TCB IRQ line.
Each Timer/Counter Block (TCB) instance shares a single IRQ line among its
three internal channels. When multiple counter channels (e.g., counter@0
and counter@1) within the same TCB are enabled, the second call to
devm_request_irq() fails because the IRQ line is already requested by the
first channel.
Cc: stable@vger.kernel.org
Fixes: e5d581396821 ("counter: microchip-tcb-capture: Add IRQ handling")
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Reviewed-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Reviewed-by: Bence Csókás <bence98@sch.bme.hu>
Link: https://lore.kernel.org/r/20251006-microchip-tcb-v1-1-09c19181bb4a@microchip.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/arg_parsing.c')
0 files changed, 0 insertions, 0 deletions