mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Cc: Abel Vesa <abel.vesa@oss.qualcomm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Abel Vesa <abelvesa@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Mostafa Saleh <smostafa@google.com>,
	Odelu Kukatla <odelu.kukatla@oss.qualcomm.com>
Subject: Re: [PATCH] interconnect: qcom: icc-rpmh: Add opt-out parameter for QoS settings
Date: Tue, 08 Sep 2026 11:46:27 +0100	[thread overview]
Message-ID: <865x0g3trw.wl-maz@kernel.org> (raw)
In-Reply-To: <17d7ebef-9ec7-4bf8-bf16-34e3bd3cd92e@oss.qualcomm.com>

On Tue, 08 Sep 2026 09:29:44 +0100,
Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com> wrote:
> 
> 
> 
> On 9/8/2026 1:04 PM, Abel Vesa wrote:
> > On 26-09-07 22:15:09, Marc Zyngier wrote:
> >> On Mon, 07 Sep 2026 21:21:44 +0100,
> >> Abel Vesa <abel.vesa@oss.qualcomm.com> wrote:
> >>>
> >>> On 26-09-07 18:17:29, Marc Zyngier wrote:
> >>>> Recent addition of QoS configuration to the X1 variants resulted in
> >>>> systems that spontaneously reset at boot time or under load.
> >>>>
> >>>> Given that this is both very unpleasant and hard to debug, give the
> >>>> affected user the option to survive such event with a module parameter.
> >>>>
> >>>> Passing "icc_rpmh.enable_qos=0" to the kernel command-line will skip the
> >>>> offending QoS setup.
> >>>>
> >>>
> >>> Lets not start doing this, please.
> >>>
> >>> Can we figure out which platform deosn't work and then maybe we can 
> >>> add a quirk in DT per platform?
> >>
> >> We have at least 3 machines that are dysfunctional since [1] was
> >> merged (mini-x, sp12 and devkit). Probably some more, but I'm not
> >> going to be the one doing a survey.
> >>
> >> What really should happen is [1] to be reversed until QC figures out a
> >> set of parameters that actually works, instead of making this platform
> >> even more unreliable than it already is.
> > 
> > I'd rather have the patch reverted than adding a module parameter which
> > users might not know about and distros will probably never addopt.
> > 
> >>
> >> Just like [2] should have been reverted.
> >>
> >> Until then, we'll have to paper over this stuff.
> > 
> > But a module parameter complicates things rather than just papering over.
> > 
> > I suggest we get both reverted if they break existing platforms.
> 
> I will share a patch to add interconnect support for Purwa. 
> Purwa is similar to Hamoa, but there are few port additions and deletions with 
> respect to PCIe, and trying to program QoS for them can result in crash. 

This is unfortunately not solely about Purwa, as repeatedly pointed
out in this thread and the original one.

Hamoa (at least the machine I use for a lot of my upstream work) has
become completely unreliable since the QoS patch was merged, and
randomly resets under IO load. Not applying the QoS configuration
restores stability.

My conclusion is that merging this stuff was premature and has
evidently not seen enough testing and verification.

	M.

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2026-09-08 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07 17:17 Marc Zyngier
2026-09-07 20:21 ` Abel Vesa
2026-09-07 21:15   ` Marc Zyngier
2026-09-08  7:34     ` Abel Vesa
2026-09-08  8:29       ` Raviteja Laggyshetty
2026-09-08 10:46         ` Marc Zyngier [this message]
2026-09-08  8:42       ` Marc Zyngier

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=865x0g3trw.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=odelu.kukatla@oss.qualcomm.com \
    --cc=raviteja.laggyshetty@oss.qualcomm.com \
    --cc=smostafa@google.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®