From nobody Mon Jun 8 05:26:07 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7D953CCFD2; Tue, 2 Jun 2026 23:12:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780441942; cv=none; b=p2trDc3uY6TGLdJH+I905Wp961qKdKd6akcL0SfoL/QeP0+ms10lN4JznF2lGEqvkVVS+TlA6wPb8Tp6wo8+yWK0KJovU8dya3gFq7kPojgSpHRp+3BgUqrbiOhuayVuHLHwJGx6T66hBSZ4d9NQQlQ0hb6lpv4qGdgm4Dr9evg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780441942; c=relaxed/simple; bh=i/jl82jpEx1wbbq8sJ6Fkw6rDayIHoOQPfcB8KSmV3A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=m7HPJ9EjeQTzefDflHxIZBNx1/SnK7UXadFPokvapVm97vuI/IVBlzlRO47Qy0fo8k4PsF6VtzZkCZ87TctFZyrYBkuHe0aOBTiuq3B2xQjnOlFPFsUM9nwxFZ3j68oSwCXF9pyV+kw+WasIwT0zil6OpoQyGR9RyoesLg89/aU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=cEetZ2kJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=q7/MrqKc; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="cEetZ2kJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="q7/MrqKc" Date: Tue, 02 Jun 2026 23:12:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780441938; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jvIhFfUPMRow+bF6d/0mKYZeaBKE2NRGxQcKjzb+VLU=; b=cEetZ2kJVunFwJEfZZHy9iaBEABf1Lsr3eQho5RfSvFw6cvmPcMnEMUquDNDG/GFwFtq4U cUUXa8MoY+slNkjkSRJpukbkTWqy2vzW+d9jrsXDTzjbrrFvFwswLZ5rWiqqI0plxFDyUH O3aov7h/xDzGvC+Hg51ZTJQPLl+5btg6iQAeKr7SqxIs9L6BkYmWxikxCdXUeSYF133qME 9J7mzv8+uwytenFynv5YEHjkCBe1HTmK4YxkInSoGjbqdegd6jy/lNboigwBvJjo/wcxh4 Zd8BsJC1ubNB+HWbMBV3G8kh1zrl9J9cB4OWm5Z2CiEoEyQ62+sbX831W/1WOw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780441938; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jvIhFfUPMRow+bF6d/0mKYZeaBKE2NRGxQcKjzb+VLU=; b=q7/MrqKc3/fD5fiskdrr57M9MmqXe7a6vM8A/hsA+o96DyrRV9Iw5174mQZvQaZ43LH4nt gI+NIfA8AnfWLAAQ== From: "tip-bot2 for Thorsten Blum" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/platform/uv: Use str_enabled_disabled() in uv_nmi_setup_hubless_intr() Cc: Thorsten Blum , "Borislav Petkov (AMD)" , Kyle Meyer , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260504181945.143928-2-thorsten.blum@linux.dev> References: <20260504181945.143928-2-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178044193608.710.5286350047132471966.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: d022ff2557accbc7e169e4812bd9899e7c77fb5c Gitweb: https://git.kernel.org/tip/d022ff2557accbc7e169e4812bd9899e7= c77fb5c Author: Thorsten Blum AuthorDate: Mon, 04 May 2026 20:19:46 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 02 Jun 2026 13:57:38 -07:00 x86/platform/uv: Use str_enabled_disabled() in uv_nmi_setup_hubless_intr() Replace hard-coded strings with the str_enabled_disabled() helper. This unifies the output and helps the linker with deduplication, which can result in a smaller binary. Additionally, address the following Coccinelle/coccich= eck warning reported by string_choices.cocci: opportunity for str_enabled_disabled(uv_pch_intr_now_enabled) Signed-off-by: Thorsten Blum Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Kyle Meyer Link: https://patch.msgid.link/20260504181945.143928-2-thorsten.blum@linux.= dev --- arch/x86/platform/uv/uv_nmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/uv_nmi.c b/arch/x86/platform/uv/uv_nmi.c index 5c50e55..565ab43 100644 --- a/arch/x86/platform/uv/uv_nmi.c +++ b/arch/x86/platform/uv/uv_nmi.c @@ -18,6 +18,7 @@ #include #include #include +#include #include =20 #include @@ -340,7 +341,7 @@ static void uv_nmi_setup_hubless_intr(void) uv_pch_intr_now_enabled ? GPIROUTNMI : 0); =20 nmi_debug("UV:NMI: GPP_D_0 interrupt %s\n", - uv_pch_intr_now_enabled ? "enabled" : "disabled"); + str_enabled_disabled(uv_pch_intr_now_enabled)); } =20 static struct init_nmi {