Re: [PATCH v3 3/9] stop_machine: Introduce stop_machine_nmi_cpuslocked()
From: Nikolay Borisov
Date: Fri Nov 06 2026 - 12:48:46 EST
On 16.10.26 г. 0:14 ч., Chang S. Bae wrote:
With the NMI control logic in place, introduce an API to run the target
function from NMI context.
Originally-by: David Kaplan <david.kaplan@xxxxxxx>
Suggested-by: Borislav Petkov <bp@xxxxxxxxx>
Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
Link: https://lore.kernel.org/lkml/20260202105411.GVaYCCUygtEUNrMUtG@fat_crate.local
---
V2 -> V3: Address Sashiko review
* Ensure runtime only via `stop_machine_initialized`
* Ensure target CPUs online
* Add a fallback prototype
* Adjust function description (to align with mainline changes)
---
stop_machine_nmi_cpuslocked() is not referenced until patch 6, so either it should become patch 5 or entirely introduced alongside the changes of patch 6.