From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 B9DAF2DC334 for ; Wed, 7 Jan 2026 21:47:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767822428; cv=none; b=FlpZknTRgCzeJvmrwH9smLIDGQOMZH0eWs4wDZGYl45EjUC00pc6zX8Ay7a1scJmJN5aivkUbQAESbLJTpkyiMxK4e2zqHm+VntJhMIygrobw2vBhRwhvSphja9V13NVs6xcxI7bEkPMhr41X8F5l127OUquh89Vzz3N4yq1iKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767822428; c=relaxed/simple; bh=Qci+ukEyS7yYzGzM5IrR8tgsp0dNpoLT0yfewN/7caE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lKStQ18gizFoGf4AFMPXL5Q+8wr5LBbd/Q73j2BRpXt1fEBcT6nlBDLCh0GkCVu+Mu+zZbHdwnzPM41A1m/rBLnVS0p7hUTxPTHIYo7f7MtDRks/dnbKfEPJXTYgbK6P/4UvJ5SkStnNlA3N8kfc9YXSph6hnqq8ld6TzHLzb4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=oG4QQR+q; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="oG4QQR+q" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Qci+ukEyS7yYzGzM5IrR8tgsp0dNpoLT0yfewN/7caE=; b=oG4QQR+qPS6PHcfxLEupWA6ciU TfVFSkUYYGbCTWrfeCQwp4k9xvmXZsFjUbap95jXq5H3N6s67jtzL+pMhJ1isAS6A4nLY51qOgL2F nsG5LciyCId/RsyUoNwjsrySJCHFMX0aLPWlcHlBjwAs/tmldpOQfQU5/c3fXCf2GByoWaNOtRezQ TYUkJwvWK7Ktr+eZRrlKnpfxJtKr1Csf6ngANlMnA48kq1O4yMF+Cn1wpXFF8jVF7OlAAcISs6jEn JAtlkaNnLuVDVtzMSWBjTaoFXs0Kacb0EIecQOzHAUV/TWyVL5dFBB4xqu0S05Uu0iMDNvIeJZZU8 us/A/MEw==; Received: from 2001-1c00-8d85-5700-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:5700:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vdbMq-0000000CBE2-2OSQ; Wed, 07 Jan 2026 21:47:01 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 71376301A54; Wed, 07 Jan 2026 22:46:59 +0100 (CET) Date: Wed, 7 Jan 2026 22:46:59 +0100 From: Peter Zijlstra To: Kees Cook Cc: Erhard Furtner , linux-kernel@vger.kernel.org, kunit-dev@googlegroups.com, Alessandro Carminati Subject: Re: WARNING: CPU: 27 PID: 7051 at lib/math/int_log.c:63 intlog2+0xaa/0xe0 at running int_log_kunit test (v6.15-rc1) Message-ID: <20260107214659.GA694817@noisy.programming.kicks-ass.net> References: <20250408200208.40f56431@outsider.home> <202601071229.C721443D5@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202601071229.C721443D5@keescook> On Wed, Jan 07, 2026 at 12:35:10PM -0800, Kees Cook wrote: > It seems like we have another case of needed to silence warnings under > kunit[1]. Alessandro and Peter, where does the linked series stand > currently? Well, x86 and s390 now have BUG_FORMAT support and can do all of WARN*() in __report_bug(). I'm thinking 'someone' wants to get ARM64 and Power implemented too to cover all the 'big' architectures. This in turn would enable those suppress-a-warn hacks to live in a single place and not mess up code-gen.