From: Theodore Dubois <tblodt@icloud.com>
To: linux-kernel@vger.kernel.org
Cc: tglx@linutronix.de
Subject: What clockevents are needed to boot properly?
Date: Sun, 7 Mar 2021 16:10:07 -0800 [thread overview]
Message-ID: <02EC6936-C879-4681-AC37-76DFAA7DA3AC@icloud.com> (raw)
I'm playing around with a new kernel arch and running into problems with properly configuring the clockevents, especially with SMP. Without SMP you can easily set up a clockevents masked to cpu 0, and this seems to work fine. But on SMP this fails silently: high-res timers created on cpu != 0 never fire.
The obvious next thing to try would be to set the mask of the clockevents to cpu_possible_mask, but this silently fails as well: the clockevents just doesn't get used at all. There seem to be a lot of drivers in the tree that do this, I'm not sure why it works for those.
Do you have to register a new clockevents for each CPU? I can't find a lot of information on this.
~Theodore
reply other threads:[~2021-03-08 0:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=02EC6936-C879-4681-AC37-76DFAA7DA3AC@icloud.com \
--to=tblodt@icloud.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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®