mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* What clockevents are needed to boot properly?
@ 2021-03-08  0:10 Theodore Dubois
  0 siblings, 0 replies; only message in thread
From: Theodore Dubois @ 2021-03-08  0:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: tglx

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-08  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08  0:10 What clockevents are needed to boot properly? Theodore Dubois

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®