[PATCH v2] arch/powerpc/pseries: Fix KVM guest detection for disabling hardlockup detector

Michael Ellerman patch-notifications at ellerman.id.au
Sun Nov 17 23:09:57 AEDT 2024


On Fri, 08 Nov 2024 15:18:37 +0530, Gautam Menghani wrote:
> As per the kernel documentation[1], hardlockup detector should be
> disabled in KVM guests as it may give false positives. On PPC, hardlockup
> detector is enabled inside KVM guests because disable_hardlockup_detector()
> is marked as early_initcall and it relies on kvm_guest static key
> (is_kvm_guest()) which is initialized later during boot by
> check_kvm_guest(), which is a core_initcall. check_kvm_guest() is also
> called in pSeries_smp_probe(), which is called before initcalls, but it is
> skipped if KVM guest does not have doorbell support or if the guest is
> launched with SMT=1.
> 
> [...]

Applied to powerpc/next.

[1/1] arch/powerpc/pseries: Fix KVM guest detection for disabling hardlockup detector
      https://git.kernel.org/powerpc/c/44e5d21e6d3fd2a1fed7f0327cf72e99397e2eaf

cheers


More information about the Linuxppc-dev mailing list