From: Gatien Chevallier <gatien.chevallier@foss.st.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Gatien Chevallier <gatien.chevallier@foss.st.com>,
Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH v2 0/3] bus: rifsc: add stm32mp21 support and config dump debug entry
Date: Thu, 6 Nov 2025 10:31:47 +0100 [thread overview]
Message-ID: <20251106-rifsc_debugfs-v2-0-f90e94ae756d@foss.st.com> (raw)
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@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,
--
Gatien Chevallier <gatien.chevallier@foss.st.com>
next reply other threads:[~2025-11-06 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-06 9:31 Gatien Chevallier [this message]
2025-11-06 9:31 ` [PATCH v2 1/3] dt-bindings: bus: add stm32mp21 RIFSC compatible Gatien Chevallier
2025-11-06 9:31 ` [PATCH v2 2/3] arm64: dts: st: set RIFSC as an access controller on stm32mp21x platforms Gatien Chevallier
2025-11-06 9:31 ` [PATCH v2 3/3] bus: rifsc: add debugfs entry to dump the firewall configuration Gatien Chevallier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251106-rifsc_debugfs-v2-0-f90e94ae756d@foss.st.com \
--to=gatien.chevallier@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).