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

Alexandre TORGUE alexandre.torgue at foss.st.com
Fri Nov 14 00:51:16 PST 2025


Hi Gatien

On 11/6/25 10:31, Gatien Chevallier wrote:
> 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 at foss.st.com>
> ---
> 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@foss.st.com
> 
> ---
> 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,

DT patch applied on stm32-next.

I'll send a dedicated PR for other patches to arm-soc tree.

regards
Alex




More information about the linux-arm-kernel mailing list