From: sashiko-bot@kernel.org
To: "Dario Binacchi" <dario.binacchi@amarulasolutions.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231
Date: Wed, 15 Jul 2026 06:33:58 +0000 [thread overview]
Message-ID: <20260715063359.23C391F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260715062201.3599458-3-dario.binacchi@amarulasolutions.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [High] Incomplete fix: missing `power-domains` property in `sdmmc1` for `stm32mp251.dtsi`
--
--- Patch [2]: [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 ---
commit 769d56084241db8b67f4b5d03d7c0c7f1c901c53
Author: Dario Binacchi <dario.binacchi@amarulasolutions.com>
arm64: dts: st: add power-domains to sdmmc1 on stm32mp231
This commit adds the missing power-domains property to the sdmmc1 node in
stm32mp231.dtsi to map the power domain that was missed during early bring-up.
> diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> index 9e1d240888ff2..0feb8943efae6 100644
> --- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> @@ -727,6 +727,7 @@ sdmmc1: mmc@48220000 {
> cap-mmc-highspeed;
> max-frequency = <120000000>;
> access-controllers = <&rifsc 76>;
> + power-domains = <&cluster_pd>;
[Severity: High]
This isn't a bug introduced by this patch, but should the same power-domains
property be added to sdmmc1 in arch/arm64/boot/dts/st/stm32mp251.dtsi?
Looking at sdmmc1 in stm32mp251.dtsi:
sdmmc1: mmc@48220000 {
compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell";
arm,primecell-periphid = <0x00353180>;
reg = <0x48220000 0x400>, <0x44230400 0x8>;
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc CK_KER_SDMMC1 >;
clock-names = "apb_pclk";
resets = <&rcc SDMMC1_R>;
cap-sd-highspeed;
cap-mmc-highspeed;
max-frequency = <120000000>;
access-controllers = <&rifsc 76>;
status = "disabled";
};
It appears to suffer from the same omission described in the commit message.
If a board includes stm32mp251.dtsi, enables sdmmc1, and the kernel attempts
to probe the controller while its power domain is off, could this cause a
synchronous external abort or kernel panic?
> status = "disabled";
> };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260715062201.3599458-1-dario.binacchi@amarulasolutions.com?part=2
next prev parent reply other threads:[~2026-07-15 6:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 6:20 [RESEND PATCH v7 00/16] arm64: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 01/16] dt-bindings: arm: stm32: " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 Dario Binacchi
2026-07-15 6:33 ` sashiko-bot [this message]
2026-07-15 6:20 ` [RESEND PATCH v7 03/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp251 Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 04/16] arm64: dts: st: add SDMMC2 support on stm32mp25 Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 05/16] arm64: dts: st: add CAN1 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 06/16] arm64: dts: st: add i2c1 pins for stm32mp25 Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 07/16] arm64: dts: st: add ltdc " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 08/16] arm64: dts: st: add can1 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 09/16] arm64: dts: st: add pwm2/pwm4 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 10/16] arm64: dts: st: add sai1 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 11/16] arm64: dts: st: add sdmmc2 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 12/16] arm64: dts: st: add spi1 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 13/16] arm64: dts: st: add usart1 " Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 14/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257 SoM Dario Binacchi
2026-07-15 6:20 ` [RESEND PATCH v7 15/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
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=20260715063359.23C391F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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