accel/ivpu: Replace IPC kthread with threaded IRQ
Status from this message: Applied to drm-misc-next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 6 repliesApplied
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Don't do bit operations on enum irqreturn
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | accel/ivpu: Rename cons->rx_msg_lockdrivers/ drivers/ | +14 | 1 reply | |
| 2/5 | accel/ivpu: Do not use irqsave in ivpu_ipc_dispatchdrivers/ | +3 | 1 reply | |
| 3/5 | accel/ivpu: Do not use cons->aborted for job_done_threaddrivers/ drivers/ | +9 | 1 reply | |
| 4/5 | accel/ivpu: Use dedicated work for job timeout detectiondrivers/ drivers/ drivers/ | +43 | 1 reply | |
| 5/5 | accel/ivpu: Use threaded IRQ to handle JOB done messagesdrivers/ drivers/ drivers/ +5 more | +199 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jeffrey Hugo |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] accel/ivpu: Replace IPC kthread with threaded IRQ
Use threaded IRQ to handle incoming IPC messages. IPC consumers can now provide optional callback that will be executed once message is received. This allows to handle multiple message types in a generic manner.
Removing kthread also simplifies synchronization as disable_irq() will block until all pending messages are handled.
v2:
- Don't do bit operations on enum irqreturn
v1: https://lore.kernel.org/all/[email protected]
Jacek Lawrynowicz (1):
accel/ivpu: Use threaded IRQ to handle JOB done messages
Stanislaw Gruszka (4):
accel/ivpu: Rename cons->rx_msg_lock accel/ivpu: Do not use irqsave in ivpu_ipc_dispatch accel/ivpu: Do not use cons->aborted for job_done_thread accel/ivpu: Use dedicated work for job timeout detection
drivers/accel/ivpu/ivpu_drv.c | 30 ++-- drivers/accel/ivpu/ivpu_drv.h | 3 +- drivers/accel/ivpu/ivpu_hw_37xx.c | 29 ++-- drivers/accel/ivpu/ivpu_hw_40xx.c | 30 ++-- drivers/accel/ivpu/ivpu_ipc.c | 223 +++++++++++++++++------------- drivers/accel/ivpu/ivpu_ipc.h | 24 +++- drivers/accel/ivpu/ivpu_job.c | 99 +++---------- drivers/accel/ivpu/ivpu_job.h | 6 +- drivers/accel/ivpu/ivpu_pm.c | 31 +++++ drivers/accel/ivpu/ivpu_pm.h | 3 + 10 files changed, 251 insertions(+), 227 deletions(-)
--
2.42.0