Re: [PATCH] x86/xen: Fix __xen_hypercall_setfunc

2025-04-11 Thread Ingo Molnar
* Jürgen Groß wrote: > On 11.04.25 11:27, Ingo Molnar wrote: > > > > * Juergen Gross wrote: > > > > > On 10.04.25 21:31, Jason Andryuk wrote: > > > > Hypercall detection is failing with xen_hypercall_intel() chosen even on > > > > an AMD processor. Looking at the disassembly, the call to >

Re: [PATCH] x86/xen: Fix __xen_hypercall_setfunc

2025-04-11 Thread Jürgen Groß
On 11.04.25 11:27, Ingo Molnar wrote: * Juergen Gross wrote: On 10.04.25 21:31, Jason Andryuk wrote: Hypercall detection is failing with xen_hypercall_intel() chosen even on an AMD processor. Looking at the disassembly, the call to xen_get_vendor() was removed. The check for boot_cpu_has(X

Re: [PATCH] x86/xen: Fix __xen_hypercall_setfunc

2025-04-11 Thread Ingo Molnar
* Juergen Gross wrote: > On 10.04.25 21:31, Jason Andryuk wrote: > > Hypercall detection is failing with xen_hypercall_intel() chosen even on > > an AMD processor. Looking at the disassembly, the call to > > xen_get_vendor() was removed. > > > > The check for boot_cpu_has(X86_FEATURE_CPUID) w

Re: [PATCH] x86/xen: Fix __xen_hypercall_setfunc

2025-04-11 Thread Juergen Gross
On 10.04.25 21:31, Jason Andryuk wrote: Hypercall detection is failing with xen_hypercall_intel() chosen even on an AMD processor. Looking at the disassembly, the call to xen_get_vendor() was removed. The check for boot_cpu_has(X86_FEATURE_CPUID) was used as a proxy for the x86_vendor having be

[PATCH] x86/xen: Fix __xen_hypercall_setfunc

2025-04-10 Thread Jason Andryuk
Hypercall detection is failing with xen_hypercall_intel() chosen even on an AMD processor. Looking at the disassembly, the call to xen_get_vendor() was removed. The check for boot_cpu_has(X86_FEATURE_CPUID) was used as a proxy for the x86_vendor having been set. When CONFIG_X86_REQUIRED_FEATURE_