acrn-kernel/arch/x86/xen
Juergen Gross 7f3982de36 x86/xen: Fix secondary processors' FPU initialization
commit fe3e0a13e5 upstream.

Moving the call of fpu__init_cpu() from cpu_init() to start_secondary()
broke Xen PV guests, as those don't call start_secondary() for APs.

Call fpu__init_cpu() in Xen's cpu_bringup(), which is the Xen PV
replacement of start_secondary().

Fixes: b81fac906a ("x86/fpu: Move FPU initialization into arch_cpu_finalize_init()")
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230703130032.22916-1-jgross@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-08 20:03:49 +02:00
..
Kconfig
Makefile x86/PVH: obtain VGA console info in Dom0 2023-04-06 12:10:39 +02:00
apic.c
debugfs.c
debugfs.h
efi.c
enlighten.c
enlighten_hvm.c
enlighten_pv.c x86/PVH: obtain VGA console info in Dom0 2023-04-06 12:10:39 +02:00
enlighten_pvh.c x86/PVH: avoid 32-bit build warning when obtaining VGA console info 2023-04-06 12:10:58 +02:00
grant-table.c
irq.c
mmu.c
mmu.h
mmu_hvm.c
mmu_pv.c
multicalls.c
multicalls.h
p2m.c
platform-pci-unplug.c
pmu.c
pmu.h
setup.c
smp.c x86/xen: Fix memory leak in xen_smp_intr_init{_pv}() 2022-12-31 13:31:59 +01:00
smp.h
smp_hvm.c
smp_pv.c x86/xen: Fix secondary processors' FPU initialization 2023-08-08 20:03:49 +02:00
spinlock.c x86/xen: Fix memory leak in xen_init_lock_cpu() 2022-12-31 13:31:59 +01:00
suspend.c
suspend_hvm.c
suspend_pv.c
time.c
trace.c
vga.c x86/PVH: obtain VGA console info in Dom0 2023-04-06 12:10:39 +02:00
xen-asm.S
xen-head.S
xen-ops.h x86/PVH: obtain VGA console info in Dom0 2023-04-06 12:10:39 +02:00