Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Ard Biesheuvel
On Fri, 11 Apr 2025 at 16:28, Jason Andryuk wrote: > > > > On 2025-04-11 07:35, Ard Biesheuvel wrote: > > On Thu, 10 Apr 2025 at 23:49, Andrew Cooper > > wrote: > >> > >> On 10/04/2025 8:50 pm, Jason Andryuk wrote: > >>> A Xen PVH dom0 on an AMD processor triple faults early in boot on > >>> 6.6

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Jason Andryuk
On 2025-04-11 07:35, Ard Biesheuvel wrote: On Thu, 10 Apr 2025 at 23:49, Andrew Cooper wrote: On 10/04/2025 8:50 pm, Jason Andryuk wrote: A Xen PVH dom0 on an AMD processor triple faults early in boot on 6.6.86. CPU detection appears to fail, as the faulting instruction is vmcall in xen_h

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Jan Beulich
On 11.04.2025 14:46, Alejandro Vallejo wrote: > On Thu Apr 10, 2025 at 8:50 PM BST, Jason Andryuk wrote: >> A Xen PVH dom0 on an AMD processor triple faults early in boot on >> 6.6.86. CPU detection appears to fail, as the faulting instruction is >> vmcall in xen_hypercall_intel() and not vmmcall

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Alejandro Vallejo
On Fri Apr 11, 2025 at 2:08 PM BST, Jan Beulich wrote: > On 11.04.2025 14:46, Alejandro Vallejo wrote: >> On Thu Apr 10, 2025 at 8:50 PM BST, Jason Andryuk wrote: >>> A Xen PVH dom0 on an AMD processor triple faults early in boot on >>> 6.6.86. CPU detection appears to fail, as the faulting instru

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Alejandro Vallejo
On Thu Apr 10, 2025 at 8:50 PM BST, Jason Andryuk wrote: > A Xen PVH dom0 on an AMD processor triple faults early in boot on > 6.6.86. CPU detection appears to fail, as the faulting instruction is > vmcall in xen_hypercall_intel() and not vmmcall in xen_hypercall_amd(). > > Detection fails because

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-11 Thread Ard Biesheuvel
On Thu, 10 Apr 2025 at 23:49, Andrew Cooper wrote: > > On 10/04/2025 8:50 pm, Jason Andryuk wrote: > > A Xen PVH dom0 on an AMD processor triple faults early in boot on > > 6.6.86. CPU detection appears to fail, as the faulting instruction is > > vmcall in xen_hypercall_intel() and not vmmcall in

Re: [RFC PATCH] x86/xen: Fix PVH dom0 xen_hypercall detection

2025-04-10 Thread Andrew Cooper
On 10/04/2025 8:50 pm, Jason Andryuk wrote: > A Xen PVH dom0 on an AMD processor triple faults early in boot on > 6.6.86. CPU detection appears to fail, as the faulting instruction is > vmcall in xen_hypercall_intel() and not vmmcall in xen_hypercall_amd(). > > Detection fails because __xen_hyperc