All of lore.kernel.org
 help / color / mirror / Atom feed
From: tze.yee.ng@altera.com
To: Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Mahesh Rao <mahesh.rao@altera.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH v3 0/4] stratix10: Add Interrupt support for asynchronous communication with SDM
Date: Wed, 12 Aug 2026 23:35:06 -0700	[thread overview]
Message-ID: <cover.1786600929.git.tze.yee.ng@altera.com> (raw)

From: Tze Yee Ng <tze.yee.ng@altera.com>

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/20250812-sip_svc_irq-v2-0-53098e11705a@altera.com

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/20250812-sip_svc_irq-v2-0-53098e11705a@altera.com

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/20250722-sip_svc_irq-v1-0-c5b9e02c1ce6@altera.com

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(-)

-- 
2.43.7


             reply	other threads:[~2026-08-13  6:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13  6:35 tze.yee.ng [this message]
2026-08-13  6:35 ` [PATCH v3 1/4] dt-bindings: firmware: Add interrupt specification for Intel Stratix 10 Service Layer tze.yee.ng
2026-08-13  6:35 ` [PATCH v3 2/4] dts: stratix10: Add support for SDM mailbox interrupt for Intel Stratix10 SoC FPGA tze.yee.ng
2026-08-13  6:35 ` [PATCH v3 3/4] dts: agilex: Add support for SDM mailbox interrupt for Intel Agilex " tze.yee.ng
2026-08-13  6:35 ` [PATCH v3 4/4] firmware: stratix10-svc: Add for SDM mailbox doorbell interrupt tze.yee.ng
2026-08-13  6:51   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1786600929.git.tze.yee.ng@altera.com \
    --to=tze.yee.ng@altera.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahesh.rao@altera.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.