mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Vladyslav Tymoshchuk <tvlad744@gmail.com>, yzddMr6 <yzddmr6@gmail.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	Melody Olvera <melody.olvera@oss.qualcomm.com>,
	Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] soc: qcom: llcc-qcom: Reserve ISLAND1 ways on SM8750
Date: Fri, 13 Nov 2026 08:55:33 +0100	[thread overview]
Message-ID: <c879f18f-fcb6-4545-b390-5d11399b95b8@oss.qualcomm.com> (raw)
In-Reply-To: <20261112173523.1474-1-tvlad744@gmail.com>

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

  reply	other threads:[~2026-11-13  7:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  7:21 yzddMr6 via B4 Relay
2026-11-12 17:35 ` Vladyslav Tymoshchuk
2026-11-13  7:55   ` Konrad Dybcio [this message]
2026-11-13  9:01 ` Konrad Dybcio
2026-11-16 16:47   ` yzddMr6

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=c879f18f-fcb6-4545-b390-5d11399b95b8@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=ajay.nandam@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=melody.olvera@oss.qualcomm.com \
    --cc=tvlad744@gmail.com \
    --cc=yzddmr6@gmail.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

all inboxes | Powered by JetHome®