[PATCH v2 00/39] arm64: Add support for FEAT_NMI

Kiryl Shutsemau (Meta) kas at kernel.org
Thu Dec 3 14:41:11 PST 2026


On Tue, Dec 01, 2026 at 11:35:12AM +0000, Vladimir Murzin wrote:
> IIUC, the fix is making its way into TF-A and is also being
> considered for an LTS backport. That should make it easier for
> vendors to pick it up in a firmware update.
> 
> I'm not sure a kernel-side change is justified. We can't assume
> that affected systems that miss the firmware update will get a
> kernel update. For those systems, we seem to have a workaround
> already: cpuidle.off=1 which we might want to document.

Expecting all firmware to get fixed is way too optimistic.

The missing EOI has been in TF-A since the SDEI dispatcher went in, in
2017, and is in every release. Jinjie's HIP12 firmware does not even
refuse to signal a masked CPU, which TF-A has done since v2.13.

The affected systems do get kernel updates. Nothing signalled event 0
before v7.3, where the SDEI NMI backtrace went in, so every system that
hits this runs v7.3 or later. The fix is tagged for stable.

cpuidle.off=1 gives up power-down idle on every CPU to keep a debug
path from wedging the machine. And nobody learns they need it until a
backtrace locks the machine up, as one sysrq-l did on Jinjie's.

The kernel fix is posted:

  https://lore.kernel.org/r/20261124194707.1030653-1-kas@kernel.org

It costs a per-CPU lock on the way into power-down idle and works with
the firmware already out there.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov



More information about the linux-arm-kernel mailing list