[RFC PATCH 28/36] arm64: cpufeature: Detect PE support for FEAT_NMI
Vladimir Murzin
vladimir.murzin at arm.com
Tue Jul 14 02:33:21 PDT 2026
On 7/10/26 03:25, Jinjie Ruan wrote:
>> + BUILD_BUG_ON(IS_ENABLED(CONFIG_ARM64_PSEUDO_NMI) &&
>> + (ARM64_NMI <= ARM64_HAS_GIC_PRIO_MASKING));
>> + if (cpus_have_cap(ARM64_HAS_GIC_PRIO_MASKING)) {
>> + pr_info("Pseudo NMI enabled, not using architected NMI\n");
>> + return false;
> A small suggestion is to change it to pr_info_once. Otherwise, a large
> number of print information will be displayed.
>
Good catch! I'll fix that in next iteration.
> Otherwise, LGTM
> Reviewed-by: Jinjie Ruan <ruanjinjie at huawei.com>
Thanks!
Vladimir
More information about the linux-arm-kernel
mailing list