From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9384FC36000 for ; Fri, 21 Mar 2025 17:35:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Subject:References:In-Reply-To:Message-Id:Cc:To:From:Date: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jcHwQGpQOx6GZtNDddAxOwDOWSoyBujaJTuqoyGqXDA=; b=ik0bGebAB64FjVGmSNc+nUkFY0 xlGzoKrbZpuEBKbbNLELjOD1lqPXlWz2/A3c7U+H3SS0n6759AGOSo+EV/9Ei3FTxVIqen6qODfZg kzxnN94fXIbiCJJdrgOegDOWvJUCcPHxWux1A3tj9WZhHxo3EIqRu03WUcaA843GBSH+VvfZGYDzg W0HDGMbXQaLWL41N1e3hTlmUvkU93qMYimsodkV5uGgID+K0GxEXnB6yHUhaPRrz9gpacwu11IWOk aolpCQq2e3Pc1Rf3wfMU4A+24SlhlasO7i/yOjN0FQ7RloIBstvuHz7PMwDWRfW438OaD5V9gm9RB LiyXDevQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tvgHQ-0000000Fikh-1XTy; Fri, 21 Mar 2025 17:35:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvgFl-0000000FiVE-08w0; Fri, 21 Mar 2025 17:33:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :Subject:References:In-Reply-To:Message-Id:Cc:To:From:Date:MIME-Version: Sender:Reply-To:Content-ID:Content-Description; bh=jcHwQGpQOx6GZtNDddAxOwDOWSoyBujaJTuqoyGqXDA=; b=lSWKPtH1gubr4S6qHB2t+STH7x 1onJfzYqe2wnBE5lSa1X48eDCP/VoIQ0+Kq7EUyg4hHK0rFAhHUbTFMJM2sQ3qNWiiJtRUjte7WgT 3rNIo1/Td6NgJ2Ha6SWjtB8D/OVY20H3WIcBZ+4iL7mYCs91rUh3TOP7EHPaNzGnAC9mbP9u91XO8 laokMFPmHRLEI4bRPUjwz84tJfobyGYJ9ZH61PsX2jffIy4ZfGVWyClxoF4ThhvTA+Zs39F0pn/re KKRpM/1bLBsrvFp6/nSz8DLr0YTSZX9MMkdfLyDzm0DItm+exWVAVDrDwAsaiF5VG8TeDDf/o4S9L LejdaL7A==; Received: from flow-a4-smtp.messagingengine.com ([103.168.172.139]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvgFh-00000004TtI-1Hpa; Fri, 21 Mar 2025 17:33:51 +0000 Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailflow.phl.internal (Postfix) with ESMTP id F0255202146; Fri, 21 Mar 2025 13:33:42 -0400 (EDT) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-07.internal (MEProxy); Fri, 21 Mar 2025 13:33:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1742578422; x=1742585622; bh=jcHwQGpQOx6GZtNDddAxOwDOWSoyBujaJTuqoyGqXDA=; b= DLLkrbjxdeZ5VZIGvPAZd4NM/kpOB5yjaRA2bvhlRZZqiAajItla9WOumvbn54t1 awAa2WdDiftQwM9VUrrdOy2B8L6rbJZP1L2CHyFMjUo2bYV5jiVdUCBJ+txYzcyX YfNdALHqJ8vA1g0fKqj/rYooeIPG8pW0+DKZ5pjBDdQ/ov2TUOQvQoS7XX0pmiXf E0jtTwHqb2w3VcZDUJJbENArof3r2e/WJIEaKvPw8kCHgD/xH5vt/Oaa41CisOOt aLby2QkmaE23J33Sau22v+uw207knEJBvxfygvvXmXMkokkBEsxQ+juulQzszHxF prI/sAddxyIp9Iv/S2/Rhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1742578422; x= 1742585622; bh=jcHwQGpQOx6GZtNDddAxOwDOWSoyBujaJTuqoyGqXDA=; b=U i4Dx6rw8n6KelCD0qaTj5zmZdQsre1O+uqLIzcbok/RNBBKaWZy4PEX4GXch+Jbj lGeF4rm/KmmivV4flBuVWpy9M3ugVKbWVfcXdHTDAu4/CJgKdGaPnkWToVcfc1Hw pGV6HAeXLkOX5OanKtfkRnUF8XHkfi0qbIavNs+iHqhH4TTY1MrqulMRfI/e6DwS PJXbL6UQXAhfw+r1cX0pjR9yekCg707nyiuGR2GY3F0MLay1n+DxG8jMS6OyEQen 5c7eHiflpY3UpwHTif8k8jnnl5jgO/iJjoATUB+TYxcGJdukz4ej7g5g44pnW5D5 wL+dD+0XGM01ti8O6vuyQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduhedujedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgfgsehtjeertder tddtnecuhfhrohhmpedftehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnug gsrdguvgeqnecuggftrfgrthhtvghrnhephfdthfdvtdefhedukeetgefggffhjeeggeet fefggfevudegudevledvkefhvdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohep feejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehkvggvshgtohhokhestghhrh homhhiuhhmrdhorhhgpdhrtghpthhtohepuggrnhhivghlsehffhiflhhlrdgthhdprhgt phhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghlvghssh grnhgurhhordgtrghrmhhinhgrthhisehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggr vhhiughgohifsehgohhoghhlvgdrtghomhdprhgtphhtthhopehkuhhnihhtqdguvghvse hgohhoghhlvghgrhhouhhpshdrtghomhdprhgtphhtthhopehmtggrnhgrlhesihhgrghl ihgrrdgtohhmpdhrtghpthhtohepjhgrnhhirdhnihhkuhhlrgesihhnthgvlhdrtghomh dprhgtphhtthhopehmrhhiphgrrhgusehkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 1F6E52220072; Fri, 21 Mar 2025 13:33:41 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T46bf3c12e1d9de2d Date: Fri, 21 Mar 2025 18:33:19 +0100 From: "Arnd Bergmann" To: "Guenter Roeck" , "Alessandro Carminati" , linux-kselftest@vger.kernel.org Cc: "Dave Airlie" , =?UTF-8?Q?Ma=C3=ADra_Canal?= , "Dan Carpenter" , "Kees Cook" , =?UTF-8?Q?Daniel_D=C3=ADaz?= , "David Gow" , "Arthur Grillo" , "Brendan Higgins" , "Naresh Kamboju" , "Maarten Lankhorst" , "Andrew Morton" , "Maxime Ripard" , =?UTF-8?Q?Ville_Syrj=C3=A4l=C3=A4?= , "Daniel Vetter" , "Thomas Zimmermann" , "Alessandro Carminati" , "Jani Nikula" , dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, Linux-Arch , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, loongarch@lists.linux.dev, x86@kernel.org, "Linaro Kernel Functional Testing" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" Message-Id: In-Reply-To: References: <20250313114329.284104-1-acarmina@redhat.com> <20250313114329.284104-11-acarmina@redhat.com> Subject: Re: [PATCH v4 10/14] s390: Add support for suppressing warning backtraces Content-Type: text/plain Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250321_173350_130620_FA6A0CBF X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 21, 2025, at 18:05, Guenter Roeck wrote: > On 3/13/25 04:43, Alessandro Carminati wrote: > > gcc 10.3.0 and later do not have this problem. I also tried s390 builds > with gcc 9.4 > and 9.5 but they both crash for unrelated reasons. > > If this is a concern, the best idea I have is to make KUNIT_SUPPRESS_BACKTRACE > depend on, say, > depends on CC_IS_CLANG || (CC_IS_GCC && GCC_VERSION >= 100300) > > A more complex solution might be to define an architecture flag such > as HAVE_SUPPRESS_BACKTRACE, make that conditional on the gcc version > for s390 only, and make KUNIT_SUPPRESS_BACKTRACE depend on it. That is probably fine, there are very few users on s390 that build their own kernels, and they likely all have modern compilers anyway. I should still send a patch to raise the minimum compiler version to gcc-8.1, but unfortunately that is not enough here. Arnd