x86/xen/hvm: Get rid of DEAD_FROZEN handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 May 2023 21:07:25 +0000 (23:07 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 May 2023 11:44:55 +0000 (13:44 +0200)
commitab24eb9abb9c60c45119370731735b79ed79f36c
tree8f9749ecf9b5ec7ca86bf82c4ce54d63fda532d6
parent2de7fd26d90729c4e3430f9924b199dea810a9bc
x86/xen/hvm: Get rid of DEAD_FROZEN handling

No point in this conditional voodoo. Un-initializing the lock mechanism is
safe to be called unconditionally even if it was already invoked when the
CPU died.

Remove the invocation of xen_smp_intr_free() as that has been already
cleaned up in xen_cpu_dead_hvm().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205256.423407127@linutronix.de
arch/x86/xen/enlighten_hvm.c