Re: [PATCH v2 1/3] x86/crash: Disable virt in core NMI crash handler to avoid double shootdown

From: Guilherme G. Piccoli
Date: Wed May 18 2022 - 11:50:53 EST


On 17/05/2022 21:16, Sean Christopherson wrote:
> [...]
> Fixes: ed72736183c4 ("x86/reboot: Force all cpus to exit VMX root if VMX is supported)
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>
> Cc: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Link: https://lore.kernel.org/all/20220427224924.592546-2-gpiccoli@xxxxxxxxxx
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---
> arch/x86/include/asm/reboot.h | 1 +
> arch/x86/kernel/crash.c | 16 +--------
> arch/x86/kernel/reboot.c | 66 ++++++++++++++++++++++++++++-------
> 3 files changed, 56 insertions(+), 27 deletions(-)

Thanks Sean, great patch! It's working fine according to my tests, and
the comments made the code very clear.
Feel free to add:

Tested-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>