From mboxrd@z Thu Jan 1 00:00:00 1970 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 A80943D4112; Wed, 29 Jul 2026 09:55:14 +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=1785318919; cv=none; b=Ss6T0Elylgh0qqQDKZyLOc+SWBq9cDuRDfBGLtsD91q95GeAxvx281bWaHNoc3I7stmwIe8pD47nZVmedeA3pVhScG51szt/5TomyjMG3F1UmHrMBB2tXdg+VRZqGoVqS8RU1Hcb8wewJ8MVxjL4alP46lYExACXu+pBoNjKpYo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785318919; c=relaxed/simple; bh=Xi2XcnADPnHOD0Gl0EMAQ+qMF/d8XHOh0rhvLHbuCo4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=a663MZbIcUFP4swd5PnbpgNzmHABCfEKUVWCiEEHQcZ5ergF/QulYGuRwRjWWu507VW5Wyh9ANCV2ziyf3eWRhKQt75W0m1nAj8gv4UAnYJ7eodw7F2esbbDjWlOuwVnXbU9uMY/4UBnYgfAQ2hTb1oMnqy5x7mOUFBVIDgbr2k= 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=Comhtz26; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=le2vHREU; 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="Comhtz26"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="le2vHREU" Date: Wed, 29 Jul 2026 09:55:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1785318911; 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=g6KXRz30LHYu7I2LPHg4Ojuvwmwozr+bkR8cuWuyLIM=; b=Comhtz26IVPYNKEGJRyl9h6aHQ0KngsRNvoVfXBbFf931bqdDSWeUNDZRmShN23zt2XtMx RO2ZoRRDAzO5psQE3skvQl6GbWcZw1Yz3ZsLlc9R7WivYnChsxAyNglqFqUxhJYun0XLSq Qb3vKSkKgJiS8KSysqKGWQusLQLE2e13JlqcXj+0unJdkfh10+dsKoa/J70/dwvKLDS4OL NVnhiAe29SPUeEKvfv9cPhTFJN47eWHTdtUzE4f/OXSEDEv1uOGzChdKLYYy2TMVKOpac2 uabCctJzA+Mccpt0FHJrjjm8MBQtyPHvLdtf7dc1nvU1bA+let9ND/7Kv/sg7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1785318911; 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=g6KXRz30LHYu7I2LPHg4Ojuvwmwozr+bkR8cuWuyLIM=; b=le2vHREUMESigoD6iOhWpWU+Urqj72UmngpZk4eIOysf9Pj2yrj5ctBwaam0/fQEFMD8L1 HbUJjjhTehS7R6Dw== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] asm-generic/runtime-const: Add dummy runtime_const_mask_32() Cc: "Peter Zijlstra (Intel)" , K Prateek Nayak , Charlie Jenkins , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260728052540.4728-8-kprateek.nayak@amd.com> References: <20260728052540.4728-8-kprateek.nayak@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178531890954.112641.5901174393000933364.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 locking/core branch of tip: Commit-ID: c24195555982b292efa05762aed9d98dfebb6585 Gitweb: https://git.kernel.org/tip/c24195555982b292efa05762aed9d98dfeb= b6585 Author: Peter Zijlstra AuthorDate: Tue, 28 Jul 2026 05:25:39=20 Committer: Peter Zijlstra CommitterDate: Tue, 28 Jul 2026 13:07:16 +02:00 asm-generic/runtime-const: Add dummy runtime_const_mask_32() Add a dummy runtime_const_mask_32() for all the architectures that do not support runtime-const. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: K Prateek Nayak Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Charlie Jenkins Tested-by: Charlie Jenkins Link: https://patch.msgid.link/20260227161841.GH606826@noisy.programming.kick= s-ass.net Link: https://patch.msgid.link/20260728052540.4728-8-kprateek.nayak@amd.com --- include/asm-generic/runtime-const.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/asm-generic/runtime-const.h b/include/asm-generic/runtim= e-const.h index 6704994..03e6e3e 100644 --- a/include/asm-generic/runtime-const.h +++ b/include/asm-generic/runtime-const.h @@ -10,6 +10,7 @@ */ #define runtime_const_ptr(sym) (sym) #define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym)) +#define runtime_const_mask_32(val, sym) ((u32)(val)&(sym)) #define runtime_const_init(type,sym) do { } while (0) =20 #endif