android_kernel_motorola_sm6225/arch/x86/xen
Juergen Gross 64f142253b x86/xen: Fix secondary processors' FPU initialization
commit fe3e0a13e597c1c8617814bf9b42ab732db5c26e 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: b81fac906a8f ("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 19:49:19 +02:00
..
apic.c
debugfs.c
debugfs.h
efi.c
enlighten.c
enlighten_hvm.c
enlighten_pv.c xen/x86: fix PV trap handling on secondary processors 2021-10-06 15:31:10 +02:00
enlighten_pvh.c
grant-table.c
irq.c
Kconfig
Makefile
mmu.c
mmu.h
mmu_hvm.c
mmu_pv.c
multicalls.c
multicalls.h
p2m.c xen: fix setting of max_pfn in shared_info 2021-09-22 11:47:57 +02:00
pci-swiotlb-xen.c
platform-pci-unplug.c
pmu.c xen: fix is_xen_pmu() 2022-04-15 14:14:53 +02:00
pmu.h xen: fix is_xen_pmu() 2022-04-15 14:14:53 +02:00
setup.c
smp.c x86/xen: Fix memory leak in xen_smp_intr_init{_pv}() 2023-01-18 11:30:07 +01:00
smp.h
smp_hvm.c xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 2022-04-15 14:15:03 +02:00
smp_pv.c x86/xen: Fix secondary processors' FPU initialization 2023-08-08 19:49:19 +02:00
spinlock.c x86/xen: Fix memory leak in xen_init_lock_cpu() 2023-01-18 11:30:07 +01:00
suspend.c
suspend_hvm.c
suspend_pv.c
time.c xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 2022-04-15 14:15:03 +02:00
trace.c
vdso.h
vga.c
xen-asm.S
xen-asm_32.S
xen-asm_64.S
xen-head.S
xen-ops.h xen/events: only register debug interrupt for 2-level events 2023-01-18 11:30:07 +01:00
xen-pvh.S