.../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(-)
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.
Changes in v2:
- No code changes in all patches, only documentation updates to fix commit
title and description in Patch 3.
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
firmware: stratix10-rsu: remove async client before freeing channel on
probe errors
.../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
Hi Tze Yee, On 5/14/26 21:11, tze.yee.ng@altera.com wrote: > 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. > > Changes in v2: > - No code changes in all patches, only documentation updates to fix commit > title and description in Patch 3. > > 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 > firmware: stratix10-rsu: remove async client before freeing channel on > probe errors > > .../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(-) > I've applied the first 2 patches in this series, but for patch 3/3, please make the following update and re-send: - You have marked a patch with a "Fixes:" tag for a commit that is in an older released kernel, yet you do not have a cc: stable line in the signed-off-by area at all, which means that the patch will not be applied to any older kernel releases. To properly fix this, please follow the documented rules in the Documentation/process/stable-kernel-rules.rst file for how to resolve this. And I think for patch 3, it might be a : Cc: stable@vger.kernel.org # v6.18+, but please double check. Thanks, Dinh
On 19/5/2026 8:13 pm, Dinh Nguyen wrote: > Hi Tze Yee, > > On 5/14/26 21:11, tze.yee.ng@altera.com wrote: >> 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. >> >> Changes in v2: >> - No code changes in all patches, only documentation updates to fix >> commit >> title and description in Patch 3. >> >> 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 >> firmware: stratix10-rsu: remove async client before freeing channel on >> probe errors >> >> .../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(-) >> > > I've applied the first 2 patches in this series, but for patch 3/3, > please make the following update and re-send: > > - You have marked a patch with a "Fixes:" tag for a commit that is in an > older released kernel, yet you do not have a cc: stable line in the > signed-off-by area at all, which means that the patch will not be > applied to any older kernel releases. To properly fix this, please > follow the documented rules in the > Documentation/process/stable-kernel-rules.rst file for how to resolve > this. > > And I think for patch 3, it might be a : > > Cc: stable@vger.kernel.org # v6.18+, > > but please double check. > > Thanks, > Dinh > > Added Cc: stable@vger.kernel.org # v6.19+ for the Fixes: tag in v3 patch. Regards, Tze Yee
© 2016 - 2026 Red Hat, Inc.