Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
@ 2026-11-11  7:21 yzddMr6 via B4 Relay
  2026-11-12 17:35 ` Vladyslav Tymoshchuk
  2026-11-13  9:01 ` Konrad Dybcio
  0 siblings, 2 replies; 6+ messages in thread
From: yzddMr6 via B4 Relay @ 2026-11-11  7:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: Abel Vesa, Melody Olvera, Ajay Kumar Nandam, linux-arm-msm,
	linux-kernel, stable, yzddMr6

From: yzddMr6 <yzddmr6@gmail.com>

The SM8750 table gives the island slice (LLCC_ISLAND1, SCID 12) its way
mask 0x7fffffff as bonus ways and reserves none. Bonus ways are only
allocated when no other slice has reserved them, while reserved ways
belong to the slice alone. The first posting of the SM8750 support [1]
had these ways reserved, as the downstream table shipped for this SoC
still has them (res_ways = 0x7fffffff, no bonus ways). They became bonus
ways when v2 converted the table to designated initializers, and v3,
which refreshed the table, kept them.

With this table, system suspend can reset the SoC once nothing votes
for the LPASS core. On a Xiaomi Pad 8 Pro with the LPASS_HW_MACRO_VOTE
and LPASS_HW_DCODEC_VOTE votes released, 16 suspend attempts (15 with
s2idle, one with PSCI system suspend) ended in a reset. The PMIC PON log
shows only PS_HOLD-triggered resets and no PMIC fault. Holding
LPASS_HW_MACRO_VOTE or LPASS_HW_LPR_VOTE across suspend let one s2idle
cycle each resume, but cxsd did not increase in either case.

The reset stayed hidden while the LPASS macro codecs took both votes at
probe and held them until removal, as they did before v7.3. Since v7.3
the codecs manage these votes through the PM clock framework and drop
them when they runtime suspend.

Reserve the ways again. With that, all six s2idle cycles that went to
sleep (48 to 60 s each, no LPASS vote held) resumed normally, with the
cxsd and ddr residencies in qcom_stats within 0.1 s of the time spent
asleep. The ADSP island counter increases at runtime with either
table. The mechanism behind the suspend reset is not yet understood.

The mismatch was found with the help of an AI coding assistant.

Fixes: 2c04e58e30ce ("soc: qcom: llcc-qcom: Add support for SM8750")
Link: https://lore.kernel.org/r/20250113-sm8750_llcc_master-v1-3-5389b92e2d7a@quicinc.com [1]
Cc: stable@vger.kernel.org
Signed-off-by: yzddMr6 <yzddmr6@gmail.com>
---
Tested on a Xiaomi Pad 8 Pro (SM8750) running v7.4-rc1 with out-of-tree
board support and the TX/VA patches of Ajay's "manage clocks in runtime
PM" series [2], which replace the PM clock handling with explicit clock
management and also force the macros into runtime suspend for system
sleep. For the comparison I set these two fields back to the current
values in a copy of the same kernel image; DT, initramfs and root file
system were the same. With the current values, the first s2idle attempt
ended in a reset, and the PMIC PON log again shows only
PS_HOLD-triggered resets. With this patch, three s2idle cycles (38, 46
and 59 s) resumed normally, with the cxsd and ddr residencies within
0.01 s of the time spent asleep.

The numbers in the changelog come from earlier runs on a v7.2-based
kernel with the v7.3 TX and VA macro runtime PM conversions backported
and the same patches of [2] on top. Not counted there on either side:
attempts that exited at once because of a debug setting (two before the
fix with CX collapse blocked, two after it with console_suspend=N).

All of these suspend tests were done with a USB cable connected.
Build-tested on the base commit below (arm64 defconfig, W=1); in the
object only these two fields of sm8750_data change.

v1 had {LLCC_ISLAND1, 12, 7936, 7, 1, 0, 0x7FFFFFFF, ...}, the same
values as the downstream sun_data, e.g. in the OnePlus 13 kernel
release [3]. The downstream driver writes res_ways to TRP_ATTR0_CFGn and
bonus_ways to TRP_ATTR1_CFGn, as _qcom_llcc_cfg_program_v6() does here.

The final table also differs from v1 and downstream elsewhere: v2
changed CVP from ovcap_en to vict_prio and the CAMRTRF priority from 3
to 1, and v3 set ovcap_prio where v1 and downstream set ovcap_en for
VIDDEC, CAMOFE, CAMRTIP, CAMSRTIP, CAMRTRF and CAMSRTRF. I can't test
those and left them alone.

Downstream moved the SM8550 island slices from bonus to reserved ways in
2023 ("as per design recommendation") [4]; upstream sm8550_data still
has the earlier bonus values. I have no SM8550 hardware to test that.

Kaanapali also uses bonus ways for ISLAND1, but that matches its
downstream table [5], so I left it alone.

I used an AI coding assistant for this work. It ran the suspend
experiments on the tablet, found the table mismatch and drafted this
patch and changelog. I have reviewed the change and the measurements.

[2] https://lore.kernel.org/r/20260928-xo-sd-runtimepm-v1-final-v1-0-e3ebade3aeb7@oss.qualcomm.com
[3] https://github.com/OnePlusOSS/android_kernel_oneplus_sm8750/blob/6028f47faddaa27700f8dd3a1d83906ea8f27170/drivers/soc/qcom/llcc-qcom.c#L479
[4] https://git.codelinaro.org/clo/la/kernel/msm-5.15/-/commit/adec35fd4cf84dca253eca06d9a4960f1eb85db0
[5] https://github.com/OnePlusOSS/android_kernel_oneplus_sm8850/blob/fc30e54174d254ff7f33622a9278e4435f6718d2/drivers/soc/qcom/llcc-qcom.c#L665
---
 drivers/soc/qcom/llcc-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index d7a42a8040a1..007593d1e951 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -3923,7 +3923,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.max_cap = 7936,
 		.priority = 7,
 		.fixed_size = true,
-		.bonus_ways = 0x7fffffff,
+		.res_ways = 0x7fffffff,
 	}, {
 		.usecase_id = LLCC_DISP_WB,
 		.slice_id = 23,

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261028-sm8750-llcc-island1-20f477fcfb2a

Best regards,
--  
yzddMr6 <yzddmr6@gmail.com>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
  2026-11-11  7:21 [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750 yzddMr6 via B4 Relay
@ 2026-11-12 17:35 ` Vladyslav Tymoshchuk
  2026-11-13  7:55   ` Konrad Dybcio
  2026-11-13  9:01 ` Konrad Dybcio
  1 sibling, 1 reply; 6+ messages in thread
From: Vladyslav Tymoshchuk @ 2026-11-12 17:35 UTC (permalink / raw)
  To: yzddMr6
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Melody Olvera,
	Ajay Kumar Nandam, linux-arm-msm, linux-kernel

On Wed, Nov 11, 2026 at 03:21:13PM +0800, yzddMr6 wrote:
> With this table, system suspend can reset the SoC once nothing votes
> for the LPASS core. On a Xiaomi Pad 8 Pro with the LPASS_HW_MACRO_VOTE
> and LPASS_HW_DCODEC_VOTE votes released, 16 suspend attempts (15 with
> s2idle, one with PSCI system suspend) ended in a reset. The PMIC PON log
> shows only PS_HOLD-triggered resets and no PMIC fault.

I tried the patch on another SM8750 tablet, the OnePlus Pad 3, which has
what looks like the same symptom: the SoC resets about a minute after
s2idle entry, and the PMIC PON log shows a PS_HOLD warm reset followed
by a PS_HOLD hard reset.

It does not cure the reset here. The tree is v7.3-rc5 with out-of-tree
board support, without Ajay's series. Each run is one 60 s s2idle on
battery with the USB cable disconnected:

  this patch, Wi-Fi WoWLAN enabled                    reset
  this patch, Wi-Fi WoWLAN disabled                   reset
  this patch, rpmhpd domains left at their highest
    corner (rpmhpd sync_state callback removed)       reset
  no patch, MC0 kept voted in the sleep set           resumes

The last line is a local workaround in the interconnect driver that
keeps a minimal MC0 vote in the sleep bucket. It is the only thing that
avoids the reset on this tablet so far, and with it cxsd, aosd and ddr
in qcom_stats stay at 0. The first three runs are without it.

> Holding LPASS_HW_MACRO_VOTE or LPASS_HW_LPR_VOTE across suspend let one
> s2idle cycle each resume, but cxsd did not increase in either case.

On this tree the two votes do not seem to be dropped: with all five
macro codecs runtime suspended, clk_summary still shows LPASS_HW_MACRO
and LPASS_HW_DCODEC with a prepare count of 6 (LPASS_HW_LPR_VOTE is 0).
I read that on the workaround kernel while awake, not during suspend,
and the codecs have no system sleep callbacks here. So the resets above
most likely happened with both votes held, which is the state your
tablet resumes in.

> All of these suspend tests were done with a USB cable connected.

Does your tablet also resume with the cable disconnected? And does your
tree leave anything voted on MC0 in the sleep set?

I can run other variants here if that is useful.

Thanks,
Vladyslav

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
  2026-11-12 17:35 ` Vladyslav Tymoshchuk
@ 2026-11-13  7:55   ` Konrad Dybcio
  0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-11-13  7:55 UTC (permalink / raw)
  To: Vladyslav Tymoshchuk, yzddMr6
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Melody Olvera,
	Ajay Kumar Nandam, linux-arm-msm, linux-kernel

On 11/12/26 6:35 PM, Vladyslav Tymoshchuk wrote:
> On Wed, Nov 11, 2026 at 03:21:13PM +0800, yzddMr6 wrote:
>> With this table, system suspend can reset the SoC once nothing votes
>> for the LPASS core. On a Xiaomi Pad 8 Pro with the LPASS_HW_MACRO_VOTE
>> and LPASS_HW_DCODEC_VOTE votes released, 16 suspend attempts (15 with
>> s2idle, one with PSCI system suspend) ended in a reset. The PMIC PON log
>> shows only PS_HOLD-triggered resets and no PMIC fault.
> 
> I tried the patch on another SM8750 tablet, the OnePlus Pad 3, which has
> what looks like the same symptom: the SoC resets about a minute after
> s2idle entry, and the PMIC PON log shows a PS_HOLD warm reset followed
> by a PS_HOLD hard reset.
> 
> It does not cure the reset here. The tree is v7.3-rc5 with out-of-tree
> board support, without Ajay's series. Each run is one 60 s s2idle on
> battery with the USB cable disconnected:
> 
>   this patch, Wi-Fi WoWLAN enabled                    reset
>   this patch, Wi-Fi WoWLAN disabled                   reset
>   this patch, rpmhpd domains left at their highest
>     corner (rpmhpd sync_state callback removed)       reset
>   no patch, MC0 kept voted in the sleep set           resumes

This means something is accessing DDR as your platform sleeps
without voting for it. That indicates it's likely something that
Linux set up, as various subsystems (ADSP etc.) cast their own
votes. 

> The last line is a local workaround in the interconnect driver that
> keeps a minimal MC0 vote in the sleep bucket. It is the only thing that
> avoids the reset on this tablet so far, and with it cxsd, aosd and ddr
> in qcom_stats stay at 0. The first three runs are without it.
> 
>> Holding LPASS_HW_MACRO_VOTE or LPASS_HW_LPR_VOTE across suspend let one
>> s2idle cycle each resume, but cxsd did not increase in either case.
> 
> On this tree the two votes do not seem to be dropped: with all five
> macro codecs runtime suspended, clk_summary still shows LPASS_HW_MACRO
> and LPASS_HW_DCODEC with a prepare count of 6 (LPASS_HW_LPR_VOTE is 0).
> I read that on the workaround kernel while awake, not during suspend,
> and the codecs have no system sleep callbacks here. So the resets above
> most likely happened with both votes held, which is the state your
> tablet resumes in.
> 
>> All of these suspend tests were done with a USB cable connected.

I don't think ToT linux will let you get cxsd with a cable connected.

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
  2026-11-11  7:21 [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750 yzddMr6 via B4 Relay
  2026-11-12 17:35 ` Vladyslav Tymoshchuk
@ 2026-11-13  9:01 ` Konrad Dybcio
  2026-11-16 16:47   ` yzddMr6
  1 sibling, 1 reply; 6+ messages in thread
From: Konrad Dybcio @ 2026-11-13  9:01 UTC (permalink / raw)
  To: yzddmr6, Bjorn Andersson, Konrad Dybcio
  Cc: Abel Vesa, Melody Olvera, Ajay Kumar Nandam, linux-arm-msm,
	linux-kernel, stable

On 11/11/26 8:21 AM, yzddMr6 via B4 Relay wrote:
> From: yzddMr6 <yzddmr6@gmail.com>
> 
> The SM8750 table gives the island slice (LLCC_ISLAND1, SCID 12) its way
> mask 0x7fffffff as bonus ways and reserves none. Bonus ways are only
> allocated when no other slice has reserved them, while reserved ways
> belong to the slice alone. The first posting of the SM8750 support [1]
> had these ways reserved, as the downstream table shipped for this SoC
> still has them (res_ways = 0x7fffffff, no bonus ways). They became bonus
> ways when v2 converted the table to designated initializers, and v3,
> which refreshed the table, kept them.

Turns out there's way more things wrong with this table. I'll send
a patch.

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
  2026-11-13  9:01 ` Konrad Dybcio
@ 2026-11-16 16:47   ` yzddMr6
  2026-11-29 19:08     ` Vladyslav Tymoshchuk
  0 siblings, 1 reply; 6+ messages in thread
From: yzddMr6 @ 2026-11-16 16:47 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Melody Olvera,
	Ajay Kumar Nandam, linux-arm-msm, linux-kernel, stable

On Fri, Nov 13, 2026 at 08:55:33AM +0100, Konrad Dybcio wrote:
> On 11/12/26 6:35 PM, Vladyslav Tymoshchuk wrote:
>> It does not cure the reset here. The tree is v7.3-rc5 with out-of-tree
>> board support, without Ajay's series. Each run is one 60 s s2idle on
>> battery with the USB cable disconnected:
>>
>>   this patch, Wi-Fi WoWLAN enabled                    reset
>>   this patch, Wi-Fi WoWLAN disabled                   reset
>>   this patch, rpmhpd domains left at their highest
>>     corner (rpmhpd sync_state callback removed)       reset
>>   no patch, MC0 kept voted in the sleep set           resumes
>
> This means something is accessing DDR as your platform sleeps
> without voting for it. That indicates it's likely something that
> Linux set up, as various subsystems (ADSP etc.) cast their own
> votes.

Thanks, Vladyslav, for trying it on the Pad 3, and Konrad for the
table fix [1], which includes this change.

On this tablet the reset went away once the ISLAND1 ways were
reserved, with CX and DDR still collapsing, which fits that reading.
Some of the numbers below are from a second tablet, a OnePlus Pad 2
Pro (OPD2413, from the same erhai project as the Pad 3), which runs
this patch on the same v7.4-rc2 based tree as this one.

>> On this tree the two votes do not seem to be dropped: with all five
>> macro codecs runtime suspended, clk_summary still shows LPASS_HW_MACRO
>> and LPASS_HW_DCODEC with a prepare count of 6 (LPASS_HW_LPR_VOTE is 0).
>> I read that on the workaround kernel while awake, not during suspend,
>> and the codecs have no system sleep callbacks here. So the resets above
>> most likely happened with both votes held, which is the state your
>> tablet resumes in.

In the one s2idle cycle I ran with each of LPASS_HW_MACRO_VOTE and
LPASS_HW_LPR_VOTE held, this tablet resumed with cxsd, aosd and ddr all
staying at 0, as with your MC0 vote, and Gopi reports that held LPASS
votes keep CX and DDR from collapsing on Glymur too [2]. So with the
votes held I would expect DDR not to collapse in your runs either, and
the MC0 vote to make no difference. Since it does, I think the votes
were released in the runs that reset.

On v7.3-rc5, as on v7.4-rc2, the six consumers of these votes in
sm8750.dtsi, the five macros and the LPI pin controller, take them
through pm_clk, which drops them on runtime suspend. With the five
macros suspended, only the LPI pin controller could still hold them,
so I would expect a count of at most 1; 6 looks like all six were
active when you read it. A device that is still active when system
suspend starts stays active until resume, though, unless it has a
system sleep callback, which is what Gopi's LPI and SoundWire patches
[2][3] add.

Here the count read right before suspend was 3, 3 and 0 for MACRO,
DCODEC and LPR in each of the 23 s2idle cycles I recorded with this
kernel, 18 on this tablet and 5 on the Pad 2 Pro. Still, cxsd and ddr
grew by about the time asleep in 21 of them; in the other two, both
on this tablet, they did not grow at all. This tree forces all six
consumers and the SoundWire controllers into runtime suspend at system
sleep (Ajay's TX/VA patches, changes equivalent to [2] and [3], and
the same for the RX and WSA macros), which drops the votes during
suspend. Without such callbacks, a non-zero count read right before
suspend would mean the votes were held.

>>> All of these suspend tests were done with a USB cable connected.
>
> I don't think ToT linux will let you get cxsd with a cable connected.

On this tree it does: 21 of the 23 cycles above reached cxsd with the
tablet attached to a PC as a USB device, and so did the tests in the
patch. The tree carries a fair amount on top of v7.4-rc2, though,
including Vladyslav's USB GDSC retention patch [4], so I can't say
what ToT does.

Vladyslav, to your two questions: yes, this tablet resumes with the
cable disconnected, though the battery cycles with stats here were
PSCI system suspend, not s2idle. Each tablet ran two cycles on
battery, with an RTC alarm 180 s and 70 s ahead, and resumed at the
alarm every time. On this tablet mem_sleep was deep, and cxsd and ddr
grew by 179.1 s and 69.2 s. On the Pad 2 Pro they were s2idle, and
cxsd and ddr grew by about 178 s and 65 s. aosd stayed at 0 in all
four, as in every cycle I have recorded on either tablet.

As for MC0, nothing that I can see is voted on it in the sleep set.
The interconnect drivers are as in v7.4-rc2, where the MC0 keepalive
only votes in the active and wake sets, and a sleep-set vote on MC0
would keep ddr from growing in every cycle, while it grew in 25 of the
27 cycles above (21 of 23 with the cable, all four on battery).

One difference between the two tablets that may matter for the Pad 3:
on the Pad 2 Pro, adsp_island did not grow in any of its five s2idle
cycles with the cable connected, which ran from 59 s to 2.9 hours,
although the ADSP does enter island mode there while awake, and cxsd
and ddr count a new entry every 5 s or so (every half second on
battery). On this tablet the ADSP stays in island mode for nearly the
whole sleep, and with this kernel cxsd and ddr count at most three
entries per cycle, even in one of 1.8 hours. If the Pad 3 behaves like
the Pad 2 Pro, the ISLAND1 slice is not in use during its s2idle, and
this patch could not make a difference there.

Since you offered to run variants: could you read the three prepare
counts right before suspend on the kernel that resets?

[1] https://lore.kernel.org/r/20261113-topic-8750_llcc-v1-1-6536cb46d7fe@oss.qualcomm.com
[2] https://lore.kernel.org/r/20261112-lpass-lpi-system-sleep-v1-1-438cb997e0e9@oss.qualcomm.com
[3] https://lore.kernel.org/r/20261112-qcom-swr-system-sleep-v1-1-a61a83f6475d@oss.qualcomm.com
[4] https://lore.kernel.org/r/20261110213346.1359-1-tvlad744@gmail.com

Thanks,
yzddMr6

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
  2026-11-16 16:47   ` yzddMr6
@ 2026-11-29 19:08     ` Vladyslav Tymoshchuk
  0 siblings, 0 replies; 6+ messages in thread
From: Vladyslav Tymoshchuk @ 2026-11-29 19:08 UTC (permalink / raw)
  To: yzddMr6
  Cc: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Melody Olvera, Ajay Kumar Nandam, linux-arm-msm, linux-kernel

On Tue, Nov 17, 2026 at 12:47:50AM +0800, yzddMr6 wrote:
> With the five macros suspended, only the LPI pin controller could still
> hold them, so I would expect a count of at most 1; 6 looks like all six
> were active when you read it.

You are right, the 6 was an artifact of how I read it. clk_summary takes
a runtime PM reference on every clock provider before it walks the tree,
and the TX macro is one (it provides "mclk"), so reading clk_summary
resumes it and its pm_clk prepares both votes. Right after a clk_summary
read the TX macro is active; without it all five macros are runtime
suspended.

> Since you offered to run variants: could you read the three prepare
> counts right before suspend on the kernel that resets?

On v7.3-rc5 without the MC0 sleep-set vote, read from
clk/<name>/clk_prepare_count right before rtcwake, MACRO, DCODEC and LPR
were 0, 0 and 0 in all ten runs where I read them, and in the eight of
those where I also read runtime_status all five macros were suspended.
Every one of those runs ended in a reset.
So the resets here happen with the LPASS votes released.

Five runs or more per case, one s2idle cycle each, 10 s RTC alarm,
gadget soft-disconnected and input current limit 0 (cable present in
some runs; the resets came both with and without it):

  MC0 voted in the sleep set                      5 of 5 resumed
  no MC0 vote                                     5 of 5 reset
  no MC0 vote, Konrad's table fix [1] applied     5 of 5 reset

In the seven new runs where I have the time, the reset came 60 to 72 s
after s2idle entry; earlier runs spread from 11 to 111 s, once before
the alarm fired.

One boot was different. On the kernel without the MC0 vote the ADSP
audio services did not come up (APM commands timed out, the LPI pin
controller and all macros stayed in deferred probe), and that boot went
through eight s2idle cycles without a reset, one of them 4.7 hours.
That is a single boot, so it may be chance. Keeping only the LPI pin
controller module out, so that no macro binds while the ADSP and APM
work normally, still reset 3 of 3. So if that boot was not chance, what
matters is the state of the ADSP, not the APPS-side LPASS drivers.

With the LPI pin controller module kept out, stopping the ADSP
remoteproc right before rtcwake resumed 4 of 4 (three boots), and
stopping it and starting it again 30 s before sleep reset 3 of 3.
Keeping the ADSP awake through suspend with an open playback stream also
resumed 3 of 3. Unloading the pmic_glink clients (battmgr, UCSI,
altmode) with the ADSP running still reset 3 of 3, and so did disabling
island mode in the sensors registry.

I would not read "the ADSP does it" into the resumed runs, though. In
ddr_stats the DDR goes to 200 MHz during s2idle with the MC0 vote and
both DSPs running, but stays at 547 MHz for the whole suspend when a
DSP remoteproc was stopped before it (ADSP or CDSP, also with the MC0
vote present) and in the playback runs. So in the runs that resumed
without the MC0 vote and where I logged ddr_stats, the DDR was not
taken down at all; the resets come where the ADSP is running and idle.
What holds it there after a DSP stop I do not know: in the AOP vote
table I found no vote that tells those runs from the control runs that
go to 200 MHz.

In an earlier test a sleep-set vote on llcc_mc -> ebi from a test module
avoided the reset; one on chm_apps -> qns_llcc (SH0/SH1) does not.

> If the Pad 3 behaves like the Pad 2 Pro, the ISLAND1 slice is not in use
> during its s2idle, and this patch could not make a difference there.

In the five resumed runs adsp_island stayed at the same count before
and after each cycle, so it does look like the Pad 2 Pro here.

[1] https://lore.kernel.org/r/20261113-topic-8750_llcc-v1-1-6536cb46d7fe@oss.qualcomm.com

Thanks,
Vladyslav

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-29 19:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11  7:21 [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750 yzddMr6 via B4 Relay
2026-11-12 17:35 ` Vladyslav Tymoshchuk
2026-11-13  7:55   ` Konrad Dybcio
2026-11-13  9:01 ` Konrad Dybcio
2026-11-16 16:47   ` yzddMr6
2026-11-29 19:08     ` Vladyslav Tymoshchuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox