All of lore.kernel.org
 help / color / mirror / Atom feed
* MTRR init sequence in Xen
@ 2026-01-22 15:56 Jürgen Groß
  2026-01-22 17:18 ` Roger Pau Monné
  2026-01-22 17:21 ` Andrew Cooper
  0 siblings, 2 replies; 7+ messages in thread
From: Jürgen Groß @ 2026-01-22 15:56 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org, Jan Beulich, Andrew Cooper,
	Roger Pau Monné


[-- Attachment #1.1.1: Type: text/plain, Size: 771 bytes --]

Just as a heads up: a hardware partner of SUSE has seen hard lockups
of the Linux kernel during boot on a new machine. This machine has
8 NUMA nodes and 960 CPUs. The hang occurs in roughly 1.5% of the boot
attempts in MTRR initialization of the APs.

I have sent a small patch series to LKML which seems to fix the problem:
https://lore.kernel.org/lkml/20260121141106.755458-1-jgross@suse.com/

As Xen MTRR handling is taken from the Linux kernel, I guess the same
problem could happen in Xen, too.

As the hang always occurred while waiting for the lock, which is
serializing the single CPUs doing MTRR initialization, my solution was
to eliminate the lock, allowing all APs to init MTRRs in parallel.

Maybe we want to do the same in Xen.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-23  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 15:56 MTRR init sequence in Xen Jürgen Groß
2026-01-22 17:18 ` Roger Pau Monné
2026-01-22 19:22   ` Jürgen Groß
2026-01-22 17:21 ` Andrew Cooper
2026-01-22 17:36   ` Roger Pau Monné
2026-01-22 19:24     ` Jürgen Groß
2026-01-23  9:24       ` Roger Pau Monné

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.