From: Marc Zyngier <maz@kernel.org>
To: Sudeep Holla <sudeep.holla@kernel.org>,
Jack Matthews <jack@jackmatthe.ws>
Cc: Mark Rutland <mark.rutland@arm.com>,
linux-arm-kernel@lists.infradead.org,
regressions@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org
Subject: Re: Regression in split ARM MMIO timer driver
Date: Sat, 09 May 2026 18:58:00 +0100 [thread overview]
Message-ID: <87wlxca2jb.wl-maz@kernel.org> (raw)
In-Reply-To: <20260509-ruddy-dragonfly-of-poetry-45e9f1@sudeepholla>
On Sat, 09 May 2026 13:19:56 +0100,
Sudeep Holla <sudeep.holla@kernel.org> wrote:
>
> On Fri, May 08, 2026 at 03:48:14PM -0400, Jack Matthews wrote:
> > Hello,
> >
> > I am working on mainlining an old chip, Qualcomm's MDM9625 modem.
> > I had previously booted 6.17-rc3 before putting this project to the side,
> > but when I restarted work on 7.0 I was unable to boot.
> > I have bisected this to commit 0f67b56d84b4c49adfd61f19f81f84ec613ab51a
> > (https://lore.kernel.org/all/20250814154622.10193-4-maz@kernel.org/) and
> > reverting this commit makes the device boot successfully. Unfortunately I do
> > not have access to low level debugging such as UART so I have not been able
> > to pinpoint exactly what is missing.
> > My changes for this chip are all available here in case it is an issue of my
> > own doing: https://github.com/jackmthws/linux/commits/mdm9625-latest/.
>
> Looking briefly into the DTS file, I couldn't find the sysreg based
> arch timer node in the DT. It could be just an overlook unless there
> is some issue with it that it's not added. After the above mentioned
> commit, the MMIO timer gets initialised bit late in the boot and
> could be the reason for boot failure. Unless you have intentionally
> not added it, I would suggest to add it and try.
Ah, that's a good point. Not having per-CPU timers is not going to
fly, I'm afraid. The MMIO timer will kick in very late, and we
probably need to schedule threads way before that.
This looks to be a single Cortex-A5 however, not an A5MP, meaning it
does not have the TWD, and relies on a global timer, which is a
terrible thing to have. Not to mention that MMIO accesses on the
counter is going to be even worse.
Anyway, if that's indeed the case, we'll have to get creative to
support this sort of horror (not going to butcher the driver to make
this work).
M.
--
Jazz isn't dead. It just smells funny.
next prev parent reply other threads:[~2026-05-09 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 19:48 Regression in split ARM MMIO timer driver Jack Matthews
2026-05-09 8:45 ` Marc Zyngier
2026-05-09 12:19 ` Sudeep Holla
2026-05-09 17:58 ` Marc Zyngier [this message]
2026-05-10 19:23 ` Sudeep Holla
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=87wlxca2jb.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=jack@jackmatthe.ws \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=regressions@lists.linux.dev \
--cc=sudeep.holla@kernel.org \
/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