Activation
Hardware support for NMI interrupts is required to activate NMI watchdog on AArch64 platforms. Virtualized environments lack standard NMI support but offer pseudo-NMI functionality, which requires the following setup before system boot:
- Modify the VM OS boot configuration file (for example, /boot/efi/EFI/openEuler/grub.cfg) by appending these parameters:
nmi_watchdog=1 pmu_nmi_enable hardlockup_cpu_freq=auto irqchip.gicv3_pseudo_nmi=1 disable_sdei_nmi_watchdog hardlockup_enable=1
- Apply the changes by rebooting:
1reboot
- Only the described configuration is supported in virtualized environments.
- The irqchip.gicv3_pseudo_nmi=1 parameter is strictly necessary for the pseudo-NMI-based NMI Watchdog.
- Kernel compilation must include CONFIG_ARM64_PSEUDO_NMI (enabled by default) for pseudo-NMI functionality.
Parent topic: Usage