]> git.ipfire.org Git - thirdparty/linux.git/commit
bus: rifsc: add debugfs entry to dump the firewall configuration
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Thu, 6 Nov 2025 09:31:50 +0000 (10:31 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 14 Nov 2025 08:49:09 +0000 (09:49 +0100)
commit3bae4748c1cdd51f5d25b6c2fcf5a5634ab686f1
tree7626e299da3db31b871b502d080ed3e34173ce4e
parentd50807fee6aced4d82e14fd7894ad5ed8db438b1
bus: rifsc: add debugfs entry to dump the firewall configuration

RIFSC configuration can be difficult to debug. Add a debugfs entry
that dumps the configuration of the RISUPs, the RISALs and the RIMUs.
This will allow to display the whole RIFSC firewall configuration at
runtime.

While there, fix a bug on the computation of firewall entries in the
probe function.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20251106-rifsc_debugfs-v2-3-f90e94ae756d@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
drivers/bus/stm32_rifsc.c