diff options
author | Philipp Rosenberger <p.rosenberger@kunbus.com> | 2023-05-09 07:28:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-12 04:00:37 +0300 |
commit | 995585ecdf42c14fbd4d9d12ca73bf54358581c6 (patch) | |
tree | d94a545560110ec9d3e9330648e5e5cdf2badd8c /.gitignore | |
parent | bc88ba0cad64a4aa85f9deca79c6f3addcd21795 (diff) | |
download | linux-995585ecdf42c14fbd4d9d12ca73bf54358581c6.tar.xz |
net: enc28j60: Use threaded interrupt instead of workqueue
The Microchip ENC28J60 SPI Ethernet driver schedules a work item from
the interrupt handler because accesses to the SPI bus may sleep.
On PREEMPT_RT (which forces interrupt handling into threads) this
old-fashioned approach unnecessarily increases latency because an
interrupt results in first waking the interrupt thread, then scheduling
the work item. So, a double indirection to handle an interrupt.
Avoid by converting the driver to modern threaded interrupt handling.
Signed-off-by: Philipp Rosenberger <p.rosenberger@kunbus.com>
Signed-off-by: Zhi Han <hanzhi09@gmail.com>
[lukas: rewrite commit message, linewrap request_threaded_irq() call]
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
Link: https://lore.kernel.org/r/342380d989ce26bc49f0e5d45fbb0416a5f7809f.1683606193.git.lukas@wunner.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions