[PATCH v2 0/3] bus: rifsc: add stm32mp21 support and config dump debug entry
From: Gatien Chevallier
Date: Thu Nov 06 2025 - 04:32:36 EST
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.
Signed-off-by: Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx>
---
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/20251104-rifsc_debugfs-v1-0-7ebdfbf8d33f@xxxxxxxxxxx
---
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,
--
Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx>