From: "Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>
To: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
"Sjoerd Simons" <sjoerd@collabora.com>
Cc: "Pablo Sun (孫毓翔)" <pablo.sun@mediatek.com>,
"lihongbo22@huawei.com" <lihongbo22@huawei.com>,
"robh@kernel.org" <robh@kernel.org>,
"kernel@collabora.com" <kernel@collabora.com>,
"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
"Moudy Ho (何宗原)" <Moudy.Ho@mediatek.com>,
"mbrugger@suse.com" <mbrugger@suse.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"Nicolas Prado" <nfraprado@collabora.com>,
"macpaul@gmail.com" <macpaul@gmail.com>,
"wenst@chromium.org" <wenst@chromium.org>,
"Bear Wang (萩原惟德)" <bear.wang@mediatek.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"y.oudjana@protonmail.com" <y.oudjana@protonmail.com>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"MandyJH Liu (劉人僖)" <MandyJH.Liu@mediatek.com>
Subject: Re: [PATCH v3 04/10] pmdomain: mediatek: Refactor bus protection regmaps retrieval
Date: Wed, 29 Oct 2025 15:01:24 +0000 [thread overview]
Message-ID: <3ea6f9cbdd36c0dc17a9627c543cbea26eab635d.camel@mediatek.com> (raw)
In-Reply-To: <21f51f37-787b-48a5-a871-d61810adff42@collabora.com>
On Wed, 2025-10-29 at 11:56 +0100, AngeloGioacchino Del Regno wrote:
>
[snip]
> Thanks for the logs! Getting issues on MSDC is really odd because the
> MSDC
> controller does *not* use nor have any power domain...
>
> I'll take a look at this as soon as I can, anyway.
>
> Thanks again,
> Angelo
>
> > [ 1.291055] mtk-msdc 11240000.mmc: msdc_track_cmd_data: cmd=8
> > arg=000001AA; host->error=0x00000002
> > [ 1.292775] mtk-msdc 11240000.mmc: msdc_track_cmd_data: cmd=55
> > arg=00000000; host->error=0x00000002
> > [ 1.294539] mtk-msdc 11240000.mmc: msdc_track_cmd_data: cmd=55
> > arg=00000000; host->error=0x00000002
> > [ 1.296293] mtk-msdc 11240000.mmc: msdc_track_cmd_data: cmd=55
> > arg=00000000; host->error=0x00000002
> > ...
> > [ 1.430408] mtk-msdc 11240000.mmc: msdc_track_cmd_data: cmd=55
> > arg=00000000; host->error=0x00000002
> > [ 1.433766] mmc0: Failed to initialize a non-removable card
> > [ 22.297240] rcu: INFO: rcu_preempt detected stalls on
> > CPUs/tasks:
> > [ 22.298723] rcu: 6-...0: (2 ticks this GP)
> > idle=104c/1/0x4000000000000000 softirq=45/45 fqs=37
> > [ 22.299827] rcu: (detected by 2, t=5256 jiffies, g=-1051,
> > q=200
> > ncpus=8)
> > [ 22.300689] Sending NMI from CPU 2 to CPUs 6:
> >
> > Best regards,
> > Macpaul Lin
>
>
The command retry only happens in the very beginning during linux boot.
The following rcu_preempt and cpu/task stall are keep appearing until
poewr off. It is more like cpu not responding or runtime-PM? I've not
try to disable any power related kernel option yet.
[22649.698912] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[22649.699687] rcu: 5-...0: (0 ticks this GP)
idle=1b7c/1/0x4000000000000000 softirq=32/32 fqs=976599
[22649.700835] rcu: (detected by 1, t=5662102 jiffies, g=-1055,
q=216 ncpus=8)
[22649.701728] Sending NMI from CPU 1 to CPUs 5:
[22659.701734] rcu: rcu_preempt kthread starved for 2495 jiffies! g-
1055 f0x0 RCU_GP_DOING_FQS(6) ->state=0x0 ->cpu=0
[22659.703592] rcu: Unless rcu_preempt kthread gets sufficient CPU
time, OOM is now expected behavior.
[22659.704746] rcu: RCU grace-period kthread stack dump:
[22659.705386] task:rcu_preempt state:I stack:0 pid:15
tgid:15 ppid:2 task_flags:0x208040 flags:0x00000010
[22659.706784] Call trace:
[22659.707097] __switch_to+0xf0/0x1b0 (T)
[22659.707590] __schedule+0x3b0/0xca8
[22659.708039] schedule+0x3c/0x120
[22659.708453] schedule_timeout+0x8c/0x130
[22659.708956] rcu_gp_fqs_loop+0x140/0x6c0
[22659.709459] rcu_gp_kthread+0x208/0x258
[22659.709951] kthread+0x14c/0x230
[22659.710365] ret_from_fork+0x10/0x20
[22659.710824] rcu: Stack dump where RCU GP kthread last ran:
[22659.711517] Sending NMI from CPU 1 to CPUs 0:
[22659.712109] NMI backtrace for cpu 0
[22659.712117] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.18.0-
rc3-next-20251028-mtk+modified-04392-g5c921b2c5975 #1 PREEMPT
[22659.712123] Hardware name: MediaTek Genio 1200 EVK-P1V2-EMMC (DT)
[22659.712126] pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT -SSBS
BTYPE=--)
[22659.712130] pc : cpuidle_enter_state+0x2bc/0x720
[22659.712137] lr : cpuidle_enter_state+0x2b8/0x720
[22659.712141] sp : ffff800084473d00
[22659.712143] x29: ffff800084473d00 x28: 0000000000000000 x27:
ffff0001fef7d8c0
[22659.712151] x26: 0000000000000001 x25: 0000149be00653eb x24:
0000149be01736ef
[22659.712157] x23: 0000000000000002 x22: ffff0000c2d38880 x21:
0000000000000002
[22659.712163] x20: ffff0000c2d38968 x19: ffff0001fee7e9f8 x18:
000000005bd3baae
[22659.712169] x17: 000000040044ffff x16: 005000f2b5503510 x15:
0000000000000000
[22659.712175] x14: ffff800084487540 x13: ffff80017b8c8000 x12:
ffff8000816f9830
[22659.712181] x11: 0000000000000000 x10: 0000000000000000 x9 :
ffff8000801dc64c
[22659.712187] x8 : 000000f2b5503510 x7 : 0000000000f0000f x6 :
00000000ff0ffff0
[22659.712193] x5 : ffff80017b8c8000 x4 : 0000000000000000 x3 :
ffff800084473c10
[22659.712199] x2 : 000000449d287e7f x1 : ffff800084487540 x0 :
0000000000000000
[22659.712205] Call trace:
[22659.712207] cpuidle_enter_state+0x2bc/0x720 (P)
[22659.712212] cpuidle_enter+0x40/0x60
[22659.712219] do_idle+0x208/0x298
[22659.712226] cpu_startup_entry+0x3c/0x50
[22659.712232] rest_init+0xfc/0x120
[22659.712236] start_kernel+0x7a4/0x920
[22659.712243] __primary_switched+0x88/0x98
Regards,
Macpaul Lin
next prev parent reply other threads:[~2025-10-29 15:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-05 7:47 [PATCH v3 00/10] pmdomain: Partial refactor, support modem and RTFF AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 01/10] dt-bindings: memory: mtk-smi: Document #access-controller-cells AngeloGioacchino Del Regno
2025-08-05 17:53 ` Rob Herring
2025-08-05 7:47 ` [PATCH v3 02/10] dt-bindings: clock: mediatek: " AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 03/10] dt-bindings: power: mediatek: Document access-controllers property AngeloGioacchino Del Regno
2025-08-05 17:56 ` Rob Herring (Arm)
2025-08-05 7:47 ` [PATCH v3 04/10] pmdomain: mediatek: Refactor bus protection regmaps retrieval AngeloGioacchino Del Regno
2025-10-13 13:41 ` Sjoerd Simons
2025-10-14 9:59 ` AngeloGioacchino Del Regno
2025-10-29 4:11 ` Macpaul Lin (林智斌)
2025-10-29 10:56 ` AngeloGioacchino Del Regno
2025-10-29 15:01 ` Macpaul Lin (林智斌) [this message]
2025-11-21 12:57 ` AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 05/10] pmdomain: mediatek: Handle SoCs with inverted SRAM power-down bits AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 06/10] pmdomain: mediatek: Move ctl sequences out of power_on/off functions AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 07/10] pmdomain: mediatek: Add support for modem power sequences AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 08/10] pmdomain: mediatek: Add support for RTFF Hardware in MT8196/MT6991 AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 09/10] pmdomain: mediatek: Convert all SoCs to new style regmap retrieval AngeloGioacchino Del Regno
2025-08-05 7:47 ` [PATCH v3 10/10] arm64: dts: mediatek: Convert all SoCs to use access-controllers AngeloGioacchino Del Regno
2025-08-05 14:36 ` [PATCH v3 00/10] pmdomain: Partial refactor, support modem and RTFF Rob Herring (Arm)
2025-08-19 12:27 ` Ulf Hansson
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=3ea6f9cbdd36c0dc17a9627c543cbea26eab635d.camel@mediatek.com \
--to=macpaul.lin@mediatek.com \
--cc=MandyJH.Liu@mediatek.com \
--cc=Moudy.Ho@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bear.wang@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=lihongbo22@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=macpaul@gmail.com \
--cc=matthias.bgg@gmail.com \
--cc=mbrugger@suse.com \
--cc=nfraprado@collabora.com \
--cc=pablo.sun@mediatek.com \
--cc=robh@kernel.org \
--cc=sjoerd@collabora.com \
--cc=ulf.hansson@linaro.org \
--cc=wenst@chromium.org \
--cc=y.oudjana@protonmail.com \
/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).