summaryrefslogtreecommitdiff
path: root/net/core/devlink.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-05 22:03:15 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-05 22:03:16 -0800
commit0da6855378b9e89c025d3eb43125712498b71e0e (patch)
treec67a345c49fd0c16d4879d0c369595641cd6e49e /net/core/devlink.c
parentafd50da912865732c28afebd3ff075558694a55c (diff)
parentbfb798545d47d3517474a0a6e5ce4e6ff9ed4d95 (diff)
Merge branch 'net-ipa-simplify-ipa-interrupt-handling'
Alex Elder says: ==================== net: ipa: simplify IPA interrupt handling One of the IPA's two IRQs fires when data on a suspended channel is available (to request that the channel--or system--be resumed to recieve the pending data). This interrupt also handles a few conditions signaled by the embedded microcontroller. For this "IPA interrupt", the current code requires a handler to be dynamically registered for each interrupt condition. Any condition that has no registered handler is quietly ignored. This design is derived from the downstream IPA driver implementation. There isn't any need for this complexity. Even in the downstream code, only four of the available 30 or so IPA interrupt conditions are ever handled. So these handlers can pretty easily just be called directly in the main IRQ handler function. This series simplifies the interrupt handling code by having the small number of IPA interrupt handlers be called directly, rather than having them be registered dynamically. Version 2 just adds a missing forward-reference, as suggested by Caleb. ==================== Link: https://lore.kernel.org/r/20230104175233.2862874-1-elder@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions