firmware: arm_scmi/imx: Support dump syslog
Status from this message: I picked them up for v7.0/v6.20, thanks!
Get series with b4
b4 am [email protected] change-id 20250910-sm-syslog-40a0dec6944bVersions newest first · linked by author and title
- v3 Latest2 patches 7 repliesApplied
- v22 patches 1 replySuperseded
- v12 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Rebased to next-20251028
- Drop unused variable to avoid build warning reported by kernel test robot
- Link to v2: https://lore.kernel.org/arm-scmi/[email protected]/
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | firmware: arm_scmi: imx: Support getting syslog of MISC protocoldrivers/ include/ | +85 | 1 reply | |
| 2/2 | firmware: imx: sm-misc: Dump syslog infodrivers/ | +36 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Sudeep Holla |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] firmware: arm_scmi/imx: Support dump syslog
This is the patch 5 and 6 from patchset [1] with switching to using raw dump, per check with Sudeep and NXP i.MX SM firmware owner
System Manager firmware provides API to dump system log information. So add the interface for Linux to retrieve the information.
In patch 1, I drop the two structures compared to patch 5 in [1]:
struct scmi_imx_misc_sys_sleep_rec
struct scmi_imx_misc_syslog
No other changes in this patch.
In patch 2, I switched to use debugfs to do raw dump the syslog, compared with patch 6 in [1].
---
Changes in v3:
- Rebased to next-20251028
- Drop unused variable to avoid build warning reported by kernel test robot
- Link to v2: https://lore.kernel.org/arm-scmi/[email protected]/
Changes in v2:
- Rebased to next-20251010
- Patch 2: Remove the IS_ERR check for debugfs_create_dir per Dan Carpenter Change 'return 0' to 'return devm_add_action_or_reset'
Drop the size check
Include 'linux/sizes.h' to avoid build break
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Peng Fan (2):
firmware: arm_scmi: imx: Support getting syslog of MISC protocol
firmware: imx: sm-misc: Dump syslog info
.../firmware/arm_scmi/vendors/imx/imx-sm-misc.c | 83 ++++++++++++++++++++++ drivers/firmware/imx/sm-misc.c | 37 +++++++++- include/linux/scmi_imx_protocol.h | 2 + 3 files changed, 121 insertions(+), 1 deletion(-)
---
base-commit: f7d2388eeec24966fc4d5cf32d706f0514f29ac5
change-id: 20251029-sm-syslog-v3-0143f85b0ce6
Best regards,
Signature · 1 line
Peng Fan <[email protected]>