Re: [PATCH 1/1] x86: SMP broken on Xen PV DomU since 6.9

From: Niels Dettenbach
Date: Fri Oct 04 2024 - 06:36:42 EST


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@xxxxxxxxxxxx>
>
> Does the attached patch instead of yours help?
>
> Compile tested only.

Thanks Jürgen - will try until monday...


niels.





Attachment: signature.asc
Description: This is a digitally signed message part.