From: Marc Zyngier <maz@kernel.org>
To: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Cc: Mostafa Saleh <smostafa@google.com>,
Georgi Djakov <djakov@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Rajendra Nayak <quic_rjendra@quicinc.com>,
Abel Vesa <abelvesa@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Odelu Kukatla <odelu.kukatla@oss.qualcomm.com>
Subject: Re: [PATCH v2 2/3] interconnect: qcom: x1e80100: enable QoS configuration
Date: Mon, 07 Sep 2026 09:49:15 +0100 [thread overview]
Message-ID: <86jyox4fas.wl-maz@kernel.org> (raw)
In-Reply-To: <f58bd978-ca45-48b9-a928-45a2878fb54a@oss.qualcomm.com>
On Mon, 07 Sep 2026 09:18:38 +0100,
Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com> wrote:
>
>
>
> On 9/7/2026 1:39 PM, Marc Zyngier wrote:
> > On Wed, 02 Sep 2026 14:00:52 +0100,
> > Mostafa Saleh <smostafa@google.com> wrote:
> >>
> >> On Wed, May 27, 2026 at 05:37:10AM +0000, Raviteja Laggyshetty wrote:
> >>> Enable QoS configuration for master ports with predefined priority
> >>> and urgency forwarding.
> >>>
> >>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> >>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> >>> Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
> >>
> >> Testing with Linus's tree, this patch broke my Lenovo IdeaCenter Mini X
> >> booting, the board resets very early during boot.
> >> I see that the last patch (device tree) is missing from the tree, I
> >> included it, but that doesn't fix it, disabling the driver also
> >> doesn't help. I can boot again by reverting this patch.
> >>
> >> I have my own device tree as my device is Purwa based [1]
> >>
> >> [1] https://lore.kernel.org/all/20260429141815.827157-1-smostafa@google.com/
> >
> > Same here. My Mini-X hard reboots after 2.45s in the kernel. Example
> > from the serial console:
>
> Is the Mini-X based on Purwa ?
Yes. At least the one I have in the rack.
>
> >
> > <quote>
> > [ 2.280289] VFIO - User Level meta-driver version: 0.3
> > [ 2.286872] usbcore: registered new interface driver usb-storage
> > [ 2.307218] i2c_dev: i2c /dev entries driver
> > [ 2.316386] efifb: probing for efifb
> > [ 2.320065] efifb: framebuffer at 0xe4800000, using 8100k, total 8100k
> > [ 2.326768] efifb: mode is 1920x1080x32, linelength=7680, pages=1
> > [ 2.333026] efifb: scrolling: redraw
> > [ 2.336704] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
> > [ 2.346518] Console: switching to colour frame buffer device 240x67
> > [ 2.356787] fb0: EFI VGA frame buffer device
> > [ 2.361793] clocksource: arch_mmio_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
> > [ 2.372947] arch-timer-mmio 17800000.timer: mmio timer running at 19.20MHz (virt)
> > [ 2.380860] usbcore: registered new interface driver usbhid
> > [ 2.386577] usbhid: USB HID core driver
> > [ 2.391899] hw perfevents: enabled with armv8_pmuv3 PMU driver, 13 (0,80000fff) counters available
> > [ 2.403182] NET: Registered PF_INET6 protocol family
> > [ 2.408516] Segment Routing with IPv6
> > [ 2.412289] In-situ OAM (IOAM) with IPv6
> > [ 2.416326] NET: Registered PF_PACKET protocol family
> > [ 2.421533] 9pnet: Installing 9P2000 support
> > [ 2.425923] Key type dns_resolver registered
> > [ 2.430357] NET: Registered PF_VSOCK protocol family
> > [ 2.440369] registered taskstats version 1
> > [ 2.444633] Loading compiled-in X.509 certificates
> > [ 2.451480] Demotion targets for Node 0: null
> > Format: Log Type - Time(microsec) - Message - Optional Info
> > Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
> > S - QC_IMAGE_VERSION_STRING=BOOT.MXF.2.4-00541-HAMOA-1
> > S - IMAGE_VARIANT_STRING=SocHamoaWP
> > S - OEM_IMAGE_VERSION_STRING=ip-10-195-202-30
> > S - Boot Interface: SPI
> > S - Secure Boot: On
> > S - Boot Config @ 0x221c8600 = 0x00000001
> > S - JTAG ID @ 0x221c8744 = 0x002ad0e1
> > S - OEM ID @ 0x221c8700 = 0x00000040
> > S - Serial Number @ 0x221c8610 = 0x00000460d5171bbb
> > S - Feature Config Row 0 @ 0x221c21e0 = 0x0000000000000000
> > S - Feature Config Row 1 @ 0x221c21e8 = 0x0000000000000000
> > S - Core 0 Frequency, 1363 MHz
> > S - PBL Patch Ver: 0
> > S - PBL freq: 600 MHZ
> > S - Cluster: 0, Core: 0
> > </quote>
> >
> > I'm also seeing spurious resets on my "X1E001DE Snapdragon Devkit for
> > Windows" when doing large file transfers over the network (30GB+).
> > With this patch reverted on top of 7.3-rc1, both machines are as solid
> > as they were before it.
> >
> The current patch enable QoS for Hamoa SoC, which get programmed only during
> driver probe. This shouldn't impact or cause any spurious resets once the
> device is booted up and probe is successful.
And yet it absolutely does break things.
With this patch applied, the box resets within 5GB of heavy network
traffic, probably because some transaction get delayed, and a watchdog
fires. With the patch reverted, the box keeps receiving packets, and
everything is hunky dory (100GB+ so far).
Which makes me think that the set of hardcoded parameters in this
patch is not universal at all.
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2026-09-07 8:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 5:37 [PATCH v2 0/3] Enable QoS configuration on X1E80100 Raviteja Laggyshetty
2026-05-27 5:37 ` [PATCH v2 1/3] dt-bindings: interconnect: qcom,x1e80100-rpmh: add clocks property to enable QoS Raviteja Laggyshetty
2026-05-30 9:55 ` Krzysztof Kozlowski
2026-05-27 5:37 ` [PATCH v2 2/3] interconnect: qcom: x1e80100: enable QoS configuration Raviteja Laggyshetty
2026-09-02 13:00 ` Mostafa Saleh
2026-09-07 8:09 ` Marc Zyngier
2026-09-07 8:18 ` Raviteja Laggyshetty
2026-09-07 8:49 ` Marc Zyngier [this message]
2026-09-07 13:20 ` Konrad Dybcio
2026-09-07 13:34 ` Marc Zyngier
2026-09-07 14:34 ` Konrad Dybcio
2026-09-07 16:50 ` Marc Zyngier
2026-09-08 5:00 ` Raviteja Laggyshetty
2026-05-27 5:37 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100: Add clocks for " Raviteja Laggyshetty
2026-08-31 20:21 ` (subset) [PATCH v2 0/3] Enable QoS configuration on X1E80100 Bjorn Andersson
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=86jyox4fas.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=odelu.kukatla@oss.qualcomm.com \
--cc=quic_rjendra@quicinc.com \
--cc=raviteja.laggyshetty@oss.qualcomm.com \
--cc=robh@kernel.org \
--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®