From: Niels Dettenbach <nd@syndicat.com>
To: x86@kernel.org, "Borislav Petkov" <bp@alien8.de>,
"Jürgen Groß" <jgross@suse.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH 1/1] x86: SMP broken on Xen PV DomU since 6.9
Date: Fri, 04 Oct 2024 12:36:09 +0200 [thread overview]
Message-ID: <14053472.RDIVbhacDa@gongov> (raw)
In-Reply-To: <45f3a10c-8695-42cb-abb8-8c13ce1a476b@suse.com>
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
Am Freitag, 4. Oktober 2024, 12:29:57 schrieben Sie:
> On 04.10.24 12:05, Niels Dettenbach wrote:
> > Virtual machines under Xen Hypervisor (DomU) running in Xen PV mode use a
> > special, nonstandard synthetized CPU topology which "just works" under
> > kernels 6.9.x while newer kernels wrongly assuming a "crash kernel" and
> > disable SMP (reducing to one CPU core) because the newer topology
> > implementation produces a wrong error "[Firmware Bug]: APIC enumeration
> > order not specification compliant" after new topology checks which are
> > improper for Xen PV platform. As a result, the kernel disables SMP and
> > activates just one CPU core within the PV DomU "VM" (DomU in PV mode).
> >
> > The patch disables the regarding checks if it is running in Xen PV
> > mode (only) and bring back SMP / all CPUs as in the past to such DomU
> > VMs. The Xen subsystem takes care of the proper interaction between
> > "guest" (DomU) and the "host" (Dom0).
> >
> > Signed-off-by: Niels Dettenbach <nd@syndicat.com>
>
> Does the attached patch instead of yours help?
>
> Compile tested only.
Thanks Jürgen - will try until monday...
niels.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-10-04 10:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2210883.Icojqenx9y@gongov>
[not found] ` <878qv8ypkl.ffs@tglx>
2024-10-04 10:05 ` [PATCH 1/1] x86: SMP broken on Xen PV DomU since 6.9 Niels Dettenbach
2024-10-04 10:29 ` Jürgen Groß
2024-10-04 10:36 ` Niels Dettenbach [this message]
2024-10-07 10:29 ` Niels Dettenbach
2024-10-07 12:12 ` Thomas Gleixner
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=14053472.RDIVbhacDa@gongov \
--to=nd@syndicat.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@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