stratix10: Add Interrupt support for asynchronous communication with SDM
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest4 patches 3 repliesIn review
Changes in v3 from the cover letter
- Reflow commit message body to ~75 columns (fix Dinh's comment in v2 review)
- Add a newline before stratix10_async_workqueue_handler description (fix Dinh's comment in v2 review)
- Treat of_irq_get() failure as irq <= 0, since 0 is also a failing value (fix Dinh's comment in v2 review)
- Fix IRQ disable race: only call disable_irq_nosync() when queue_work() newly queues work, and disable the fired irq argument rather than actrl->irq
- Do not invoke client callbacks under trx_list_lock; copy cb/cb_arg under the lock and call the callback after unlock
- Use disable_irq() + flush_work() + devm_free_irq() on teardown, and treat unset IRQ as 0
- Demote successful IRQ registration log from dev_alert() to dev_info(), and demote async poll failure log from dev_err() to dev_dbg()
- Clarify INTEL_SIP_SMC_ASYNC_POLL_ON_IRQ kdoc to match a1-a4 bitmap usage
- Drop Reviewed-by: Matthew Gerlach from all patches
(no longer at Altera)
- Link to RESEND v2:
https://lore.kernel.org/r/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: firmware: Add interrupt specification for Intel Stratix 10 Service Layer.Documentation/ | +10 | 0 replies | |
| 2/4 | dts: stratix10: Add support for SDM mailbox interrupt for Intel Stratix10 SoC FPGA.arch/ | +4 | 0 replies | |
| 3/4 | dts: agilex: Add support for SDM mailbox interrupt for Intel Agilex SoC FPGA.arch/ | +2 | 0 replies | |
| 4/4 | firmware: stratix10-svc: Add for SDM mailbox doorbell interruptdrivers/ include/ | +145 | 1 reply |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] stratix10: Add Interrupt support for asynchronous communication with SDM
From: Tze Yee Ng <[email protected]>
This patch-set adds support for interrupt from Secure Device Manager (SDM) to Stratix10 SoC for asynchronous communication.
Following things are added in this patch-set:
- Add support for interrupt from SDM to Stratix10 SoC.
- Add documentation for SDM interrupt in Stratix10 SoC.
- Enable SDM interrupt in Stratix10 SoC.
- Enable SDM interrupt in Agilex SoC.
I am taking over this series from Mahesh Rao and posting v3 on his behalf. Reference:
https://lore.kernel.org/r/[email protected]
Changes in v3:
- Reflow commit message body to ~75 columns (fix Dinh's comment in v2 review)
- Add a newline before stratix10_async_workqueue_handler description (fix Dinh's comment in v2 review)
- Treat of_irq_get() failure as irq <= 0, since 0 is also a failing value (fix Dinh's comment in v2 review)
- Fix IRQ disable race: only call disable_irq_nosync() when queue_work() newly queues work, and disable the fired irq argument rather than actrl->irq
- Do not invoke client callbacks under trx_list_lock; copy cb/cb_arg under the lock and call the callback after unlock
- Use disable_irq() + flush_work() + devm_free_irq() on teardown, and treat unset IRQ as 0
- Demote successful IRQ registration log from dev_alert() to dev_info(), and demote async poll failure log from dev_err() to dev_dbg()
- Clarify INTEL_SIP_SMC_ASYNC_POLL_ON_IRQ kdoc to match a1-a4 bitmap usage
- Drop Reviewed-by: Matthew Gerlach from all patches
(no longer at Altera)
- Link to RESEND v2:
https://lore.kernel.org/r/[email protected]
Changes in v2:
- Separated from the larger SIP SVC upstream series into a dedicated interrupt-support series as requested
- Link to v1:
https://lore.kernel.org/r/[email protected]
Mahesh Rao (4):
dt-bindings: firmware: Add interrupt specification for Intel Stratix
10 Service Layer.
dts: stratix10: Add support for SDM mailbox interrupt for Intel
Stratix10 SoC FPGA.
dts: agilex: Add support for SDM mailbox interrupt for Intel Agilex
SoC FPGA.
firmware: stratix10-svc: Add for SDM mailbox doorbell interrupt
.../firmware/intel,stratix10-svc.yaml | 10 ++ .../boot/dts/altera/socfpga_stratix10.dtsi | 4 + arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 + drivers/firmware/stratix10-svc.c | 135 ++++++++++++++++-- include/linux/firmware/intel/stratix10-smc.h | 21 +++ 5 files changed, 161 insertions(+), 11 deletions(-)
Signature · 1 line
2.43.7