From 52fb15e486638320524c8c1046f680d5d668fe34 Mon Sep 17 00:00:00 2001 From: Wentao Guan Date: Fri, 4 Sep 2026 23:03:46 +0800 Subject: [PATCH] deepin: config: arm64: disable pseudo-NMI support Drop CONFIG_ARM64_PSEUDO_NMI from the arm64 desktop defconfig. This option builds support for NMI-like interrupts using GIC interrupt priorities. Even though pseudo-NMI mode still requires the runtime irqchip.gicv3_pseudo_nmi=1 parameter before high-priority interrupts are used, enabling the Kconfig option keeps the priority-masking code paths compiled in for arm64 exception and interrupt handling. When the option is enabled, the kernel has to support PMR-based IRQ masking through ICC_PMR_EL1, save and restore the PMR state in exception entry code, and branch through pseudo-NMI-aware IRQ handling paths. That adds overhead to hot interrupt/exception paths and can reduce performance on desktop systems that do not need pseudo-NMI diagnostics. Leave it disabled by default for the deepin arm64 desktop configuration. Improved unixbench benchmark by 0.5%. Signed-off-by: Wentao Guan --- arch/arm64/configs/deepin_arm64_desktop_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/configs/deepin_arm64_desktop_defconfig b/arch/arm64/configs/deepin_arm64_desktop_defconfig index c3451b17ed45..3457a657b726 100644 --- a/arch/arm64/configs/deepin_arm64_desktop_defconfig +++ b/arch/arm64/configs/deepin_arm64_desktop_defconfig @@ -108,7 +108,6 @@ CONFIG_SWP_EMULATION=y CONFIG_CP15_BARRIER_EMULATION=y CONFIG_SETEND_EMULATION=y CONFIG_ARM64_PMEM=y -CONFIG_ARM64_PSEUDO_NMI=y CONFIG_RANDOMIZE_BASE=y CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y CONFIG_CMDLINE="pcie_aspm=off"