The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: tze.yee.ng@altera.com
To: Dinh Nguyen <dinguyen@kernel.org>, linux-kernel@vger.kernel.org
Cc: Tze Yee Ng <tze.yee.ng@altera.com>,
	Adrian Ng Ho Yin <adrian.ho.yin.ng@altera.com>,
	Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
Subject: [PATCH 0/3] firmware: stratix10-rsu: expose QSPI flash size and erase size from firmware
Date: Thu, 14 May 2026 00:32:15 -0700	[thread overview]
Message-ID: <cover.1778742913.git.tze.yee.ng@altera.com> (raw)

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

This series lets user space read per-device QSPI flash size and erase
size for the Intel Stratix 10 RSU driver, using the existing service
layer SMC path.

Patch 1 documents the new sysfs attributes (size0-size3 and
erase_size0-erase_size3).

Patch 2 implements COMMAND_RSU_GET_DEVICE_INFO in the RSU and service
drivers, caches up to four devices in the driver, and adds the sysfs
files.

Patch 3 fixes probe/remove teardown after the async client is registered:
remove the async client before freeing the SVC channel so async state
is not leaked. It also corrects probe return values on the affected
error paths.

Tze Yee Ng (3):
  Documentation: ABI: add stratix10-rsu QSPI size and erase_size sysfs
  firmware: stratix10-rsu: Add flash device info retrieval via SMC
  Fixes: 15847537b623 ("firmware: stratix10-rsu: Migrate RSU driver to
    use stratix10 asynchronous framework.")

 .../sysfs-devices-platform-stratix10-rsu      |  58 +++++
 drivers/firmware/stratix10-rsu.c              | 210 +++++++++++++++++-
 drivers/firmware/stratix10-svc.c              |  94 +++++++-
 include/linux/firmware/intel/stratix10-smc.h  |  25 ++-
 .../firmware/intel/stratix10-svc-client.h     |  12 +-
 5 files changed, 382 insertions(+), 17 deletions(-)

-- 
2.43.7


             reply	other threads:[~2026-05-14  7:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14  7:32 tze.yee.ng [this message]
2026-05-14  7:32 ` [PATCH 1/3] Documentation: ABI: add stratix10-rsu QSPI size and erase_size sysfs tze.yee.ng
2026-05-14  7:32 ` [PATCH 2/3] firmware: stratix10-rsu: Add flash device info retrieval via SMC tze.yee.ng
2026-05-14  7:32 ` [PATCH 3/3] Fixes: 15847537b623 ("firmware: stratix10-rsu: Migrate RSU driver to use stratix10 asynchronous framework.") tze.yee.ng
2026-05-14 17:18   ` Dinh Nguyen

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.1778742913.git.tze.yee.ng@altera.com \
    --to=tze.yee.ng@altera.com \
    --cc=adrian.ho.yin.ng@altera.com \
    --cc=dinguyen@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=muhammad.nazim.amirul.nazle.asmade@altera.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox