Skip to content

bus: rifsc: add stm32mp21 support and config dump debug entry

Gatien Chevallier linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20251104-rifsc_debugfs-5053ea033ce3

Versions newest first

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- Added Conor tag on bindings
- Fixed coccinelle warning by using str_enabled_disabled() when
applicable
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: bus: add stm32mp21 RIFSC compatibleDocumentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml+6 -20 replies
2/3arm64: dts: st: set RIFSC as an access controller on stm32mp21x platformsarch/arm64/boot/dts/st/stm32mp211.dtsi+3 -10 replies
3/3bus: rifsc: add debugfs entry to dump the firewall configurationdrivers/bus/stm32_rifsc.c+593 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] bus: rifsc: add stm32mp21 support and config dump debug entry

The STM32MP21x platforms have a slightly different RIFSC. Add support for these platforms.

Also, the RIF is a complex firewall framework which can be tricky to debug. To facilitate the latter, add a debugfs entry that can be used to display the whole RIFSC firewall configuration at runtime.

---
Changes in v2:
- Added Conor tag on bindings
- Fixed coccinelle warning by using str_enabled_disabled() when
applicable
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Gatien Chevallier (3):
dt-bindings: bus: add stm32mp21 RIFSC compatible
arm64: dts: st: set RIFSC as an access controller on stm32mp21x platforms
bus: rifsc: add debugfs entry to dump the firewall configuration

 .../bindings/bus/st,stm32mp25-rifsc.yaml           |   8 +-
 arch/arm64/boot/dts/st/stm32mp211.dtsi             |   4 +-
 drivers/bus/stm32_rifsc.c                          | 597 ++++++++++++++++++++-
 3 files changed, 602 insertions(+), 7 deletions(-)

---
base-commit: 6146a0f1dfae5d37442a9ddcba012add260bceb0
change-id: 20251104-rifsc_debugfs-5053ea033ce3

Best regards,

Signature · 1 line
Gatien Chevallier <[email protected]>