Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp111994lqb; Thu, 14 Mar 2024 06:54:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhL6ZKVzyZ3bwBw5XmL0P4sHdstoCvajvAdpAnow/25MHzOonUSFccNCmwOUWOXro14iCKiAyAEug/TpseTpUR4IHtsRSwu3+rGGJ3fg== X-Google-Smtp-Source: AGHT+IHB0jr8tVsAJZJscT/q3XqLfi6Uc85nGjcU2oaw7Esq9D786fkhNJnZoXZQvNEQ3ZUOXEV5 X-Received: by 2002:a17:906:b4e:b0:a46:3809:3b2f with SMTP id v14-20020a1709060b4e00b00a4638093b2fmr1303789ejg.31.1710424486731; Thu, 14 Mar 2024 06:54:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710424486; cv=pass; d=google.com; s=arc-20160816; b=Gj4sXV6qA2oI+P02PuWgqpFd/8sarSKQUnAbYo2qXJCC8sRIZL6vcptTF+4uVJZU+d 6+K47Uh1n5otRn7C3AqwOBwN55EFOmwu6M2ftxRanRZFDF7hycVPPMCh3FWJZGzWrg0w ZEgwZRRJ/FiUOtLZQC7haFNTHEuqvSOtzD7FHuF7f2Kk5MIj+sfcVkKP/mIqHwZTUzFS wBwJgMYpziQCpBXA4AvBoppOdFXOmxNdXxTzFJQTpRhrPPCIr8XJnXL0udo69g7r79ae h6LdJIXaCr6/2DTw7QaG4nRJl4q48wi7HFIYsh9RBpPGWp8bFmp1jy0DX+ZtqCOwAgHa 5ODQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=VYCoE6x/5FFdiDNbW6/F39BZo8+6Gfyjcn8t3LZwS0o=; fh=15AnA7BkJumwVZ9Ec65h08fBOq1E/xXbPb+sPBQUY40=; b=f+rHgj+FQpEuPicMLtGBaj0dDOCNooX8wyYUvnrZgMKFHZ9cwXlldxM6X69oeErEXX mfHSXED7Ny/6Bxh+LtUU50HsSnyBeIoFn1cOF3AsJPgLnv0r+jBc2faXxYL5Of5ZiD/S hAuDu1avTTAX0u2mb0WOROxiq+2lKFiYbrmfS0g7CXvL4FCsSHRTaViM7k6p/cIztZnt w3UkbJgVRuws1iUeculcZMAS3oJS3mPlAJEj1caRdZ9Rs1E1X1z01M9QfQczprP3HLU4 yVmMWloUTzaO3H3w6HR97scurhuzOLICq/UUEY92HTWzTb3Gp6/Dbsuvxe9TTCUpMRXH F0vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A7EJN+DR; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-103325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103325-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v9-20020a170906564900b00a4637e0adaasi746152ejr.481.2024.03.14.06.54.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 06:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A7EJN+DR; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-103325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103325-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3006F1F23081 for ; Thu, 14 Mar 2024 13:54:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 772AA6F070; Thu, 14 Mar 2024 13:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A7EJN+DR" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE5785D8F8; Thu, 14 Mar 2024 13:54:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710424478; cv=none; b=VxQwbX8LySOiWgdAQUcWP1T1GRTGCc+RnKkl6zV+eqy0RM+FOPKgFZeHCqPb8f59WjXUczRbuxuWGjJFVT+XB9omz4wAYh+NWPx3K2qTlL8SeAVSG6Yz5Ui57W1Kz20b2YtOxAvNCocOwDnfgKzNPP2Uk6m/YH0bw16lnKOXEp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710424478; c=relaxed/simple; bh=FNV5T9NIZtwTe7vw9OneotxdbKRbZTrJQVawh1BYalE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ve/jmCvGFjiUWTGjdSHETFGF2Ag1/v7+hjY6IrzWrBqbW9qDlsXQo1c2rTPfcxm6RqNAvq/osm9K6m3Vp1TYCQ4mLEEvovodZfa78/qMoB1Yj/5mDK+YKMc4S3YbozEl84deC511JMNMcjuhr024VjsUkuRM7GFlbkHqI6jqt2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A7EJN+DR; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1dc09556599so7552825ad.1; Thu, 14 Mar 2024 06:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710424476; x=1711029276; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=VYCoE6x/5FFdiDNbW6/F39BZo8+6Gfyjcn8t3LZwS0o=; b=A7EJN+DRwst1iuoGfgDJhqxtHJOMVWAwe4dXYfIxhptr4KZ54TyfsPyJ72GZS/0KiT 2D3FXO5ERcV8JbDi/NyYroLrucfJhpt/1DZZTtIPTC+yvT2XKbH3ArzAYycBS9TRoqlf dqPqI5Yc5h/Ffx76FFByVPe73lUr+Vnkw0KjjhX5R/GnmIKPwcNgGlvrlvMvF+6p2027 2SfMxW8ppo19TbQrYOQkG8BuStkzFfIDOA0k9eQgX+qg91E5sKVEIKZBTFWllLRE2Bum Njnq//DmF/5AkYF0EpbvH2hAtjgCOlP5eofFxJ/IM2Q//hEDGYurwoJ1Lbip6eBgqJdt /Uww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710424476; x=1711029276; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VYCoE6x/5FFdiDNbW6/F39BZo8+6Gfyjcn8t3LZwS0o=; b=nohz5S2eFvlSN4uWI+9Vqe1qP2M5ZQRdHnu8y7jYPVPxkGUB/Xyj0tv4+w3jhm6FBP BAOoV3MBNcDD/W1x2Yts+trFFqvZ1Hn7i0Riyy9iZPOdnZHy4HJ/g/fbPX9K+683MDjg Bs5JuOk3yANDCP+QAWDoXXYQQ7jXCwqiSgYNavHSkDPMX3GBTloO+ohnqdDNeFBVgF4r bFB3zk7vr0BWI5y5YAfIf0BKwe9jv/MO49bhXlt69hWYKJAgrRnpbzUvdGDIYd8XlWpA 0CmfYrfWPRugMjNnpb3UrKRvl3KBH++9dOv/KqBeyBVEOhW6hQD0RTSh3EszzRkXGtbC nvZA== X-Forwarded-Encrypted: i=1; AJvYcCWythKINyjROHuBP517XfvcZxPueLzgpyajvUaxMdumNfP3wpTYFkmsoO/CRc6SgSGQpVps1WRZ4ykqDHHb8u+zakFoUtxOS9i4vOAxvaV9+sPq9A3T54EVRFhB5NY/SYMxYoSArIdHrqFKggic9rnGzl7+Zu0KenSiOgj8jvvMs0YMeSxekryiRFbWEsL0p0jxRhNphwEVtrXG6Ju0JWUBk7Pg9jwWV/MFhpL1o0P3MP1HnjKUo+vFel1wTCcZZnsx/a+fJ9Ixjy1voinLv8eFzxwNuMZYsQ== X-Gm-Message-State: AOJu0YxfcUzQ0vD2YZuVb2Wlxpry/ffsTar9pgooFtcPFX2A+IrSL1I8 ABM65eO9dq2Eq+7LJnJ8rORVFSvUyDTRKSlI/Es73KUkJMgcGf82XE0ZKMmw X-Received: by 2002:a17:902:d2d0:b0:1dc:6d64:dcff with SMTP id n16-20020a170902d2d000b001dc6d64dcffmr41795plc.37.1710424476027; Thu, 14 Mar 2024 06:54:36 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id u10-20020a170902e80a00b001dd95b5dd0fsm1700430plg.69.2024.03.14.06.54.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 06:54:35 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Thu, 14 Mar 2024 06:54:33 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 11/14] s390: Add support for suppressing warning backtraces Content-Language: en-US To: Geert Uytterhoeven Cc: linux-kselftest@vger.kernel.org, David Airlie , Arnd Bergmann , =?UTF-8?Q?Ma=C3=ADra_Canal?= , Dan Carpenter , Kees Cook , Daniel Diaz , David Gow , Arthur Grillo , Brendan Higgins , Naresh Kamboju , Maarten Lankhorst , Andrew Morton , Maxime Ripard , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Daniel Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-arch@vger.kernel.org, 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, netdev@lists.linux.dev References: <20240312170309.2546362-1-linux@roeck-us.net> <20240312170309.2546362-12-linux@roeck-us.net> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCx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8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/14/24 00:57, Geert Uytterhoeven wrote: > Hi Günter, > > On Tue, Mar 12, 2024 at 6:06 PM Guenter Roeck wrote: >> Add name of functions triggering warning backtraces to the __bug_table >> object section to enable support for suppressing WARNING backtraces. >> >> To limit image size impact, the pointer to the function name is only added >> to the __bug_table section if both CONFIG_KUNIT and CONFIG_DEBUG_BUGVERBOSE >> are enabled. Otherwise, the __func__ assembly parameter is replaced with a >> (dummy) NULL parameter to avoid an image size increase due to unused >> __func__ entries (this is necessary because __func__ is not a define but a >> virtual variable). >> >> Signed-off-by: Guenter Roeck > > Thanks for your patch! > >> --- a/arch/s390/include/asm/bug.h >> +++ b/arch/s390/include/asm/bug.h >> @@ -8,19 +8,30 @@ >> >> #ifdef CONFIG_DEBUG_BUGVERBOSE >> >> +#if IS_ENABLED(CONFIG_KUNIT) >> +# define HAVE_BUG_FUNCTION >> +# define __BUG_FUNC_PTR " .long %0-.\n" >> +# define __BUG_FUNC __func__ >> +#else >> +# define __BUG_FUNC_PTR >> +# define __BUG_FUNC NULL >> +#endif /* IS_ENABLED(CONFIG_KUNIT) */ >> + >> #define __EMIT_BUG(x) do { \ >> asm_inline volatile( \ >> "0: mc 0,0\n" \ >> ".section .rodata.str,\"aMS\",@progbits,1\n" \ >> "1: .asciz \""__FILE__"\"\n" \ >> ".previous\n" \ >> - ".section __bug_table,\"awM\",@progbits,%2\n" \ >> + ".section __bug_table,\"awM\",@progbits,%3\n" \ > > This change conflicts with commit 3938490e78f443fb ("s390/bug: > remove entry size from __bug_table section") in linus/master. > I guess it should just be dropped? > Yes, I know. I'll send v2 rebased to v6.9-rc1 once it is available and, yes, the change will be gone after that. Thanks, Guenter