Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2306323pxb; Tue, 23 Feb 2021 04:00:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4O/NJI6Ea6nwVEnoHaYmHZF3Fb81c7X0IVS1ZROxSmmRxWIA7xm8RQxX60t74LessPX/B X-Received: by 2002:a17:906:3e52:: with SMTP id t18mr12172778eji.461.1614081628518; Tue, 23 Feb 2021 04:00:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614081628; cv=none; d=google.com; s=arc-20160816; b=hMGwP9g9znoh1ypOtikylccjLbzPbHJ3IqHz5ZsMArGpSOjE9/nquO4Kbe9F2vVA6U qKzBHlIsAIbEu+7ZjBjprED1r+xn7DGEwfKj702vOdbza04T0Zo5FmiwrbA5EmIJxCGk 4LI33KZqWbsfnIRyXpSjZX+QDaynza74ZjN5bSj9F3Rwv15n6CAUb2x3wC4c8efaoqqe UgwFPqwSrHoTPitch+tgdokqsgRC6JPxICGbz/s/9jp+QWCntYppXiueWMALZdejdyVd gmMlnPq75KO+0+z6RPf8FyIk+5GClgDpythB6Y5R1vGWaeCaTA3TuVO3KeKQ26yz9pyu D9DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C6hhHGsSYuLx59MIo/P3YZpsGYjes3e5/h8fmrfLkkQ=; b=tjOyUn3F2GUFwYFNiYZ//BF9eS+nbMz7pLQBdB6Fnlowf71ztnUlFpfeYoBQkUsIdT XJ8FUZMmDVPEGTYAa86+X45Y4UfJuuJYVJX7P08idOhK3NhPJwMqnBc+yWNcSjGNJS5r dY6ydZRrIUGhGd7NwTVCoEXLGZ6IhjjqT8hsHX3XRG6DjiTVAHelJc3qHchA4M+ITmEH Q8b564753YiyQ/IZzSU/s7VIFRrIIOBTLCApUcoFVvphsSZKSh/AdxkcJ0wM+hpkwIl+ NLfp1V/P54jq8zKOBK2nHvvb7RwltSFTCkhj7SPha+rpgBN3csVJGQG03/nV+Z+Gvh5Q 0TAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UwR4pYDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si14432537ejj.318.2021.02.23.03.59.57; Tue, 23 Feb 2021 04:00:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UwR4pYDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232544AbhBWL6X (ORCPT + 99 others); Tue, 23 Feb 2021 06:58:23 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:17804 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232570AbhBWLzJ (ORCPT ); Tue, 23 Feb 2021 06:55:09 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11NBZ7I4161707; Tue, 23 Feb 2021 06:54:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=C6hhHGsSYuLx59MIo/P3YZpsGYjes3e5/h8fmrfLkkQ=; b=UwR4pYDxkjzTeYmK99HuxduXpUKrzKOK8PbHqVGq4ps/lNNTPdnd8i29cQoDBqvtN6F2 P1totvxbfy7JD4DMx8UYR0OJ7FyDZh/wL4urdJaL9yd+e0EJi5Uchaew80rNs4975nRx 3YrqC1pSF0YTP4o9rO4Ie5JR8sFA+Hfl3HKlg9EXpo0XvulyR7voJ/uBLVc/iPfMvMYI gX2LUih3p/BQv4vqTn2u1ah5wHOitl33l6TrkJXSr6MA+MVFOG6TI8ZIyn457BvixKl4 bpUGEeZnvT6eud6tK2RTqFXntO8KwdQX1DvjmWKBtN3LEi9uw1Zn0N5t5D4OKAFbKTjC rA== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com with ESMTP id 36vkma6tsh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Feb 2021 06:54:16 -0500 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 11NBrehc014775; Tue, 23 Feb 2021 11:54:14 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma02fra.de.ibm.com with ESMTP id 36tt289b8a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Feb 2021 11:54:14 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 11NBrxVY33685844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Feb 2021 11:53:59 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E754211C04A; Tue, 23 Feb 2021 11:54:11 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 99F1611C050; Tue, 23 Feb 2021 11:54:11 +0000 (GMT) Received: from osiris (unknown [9.171.40.247]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 23 Feb 2021 11:54:11 +0000 (GMT) Date: Tue, 23 Feb 2021 12:54:10 +0100 From: Heiko Carstens To: Guenter Roeck Cc: Masahiro Yamada , Kees Cook , linux-hardening@vger.kernel.org, Linux Kernel Mailing List , Arnd Bergmann Subject: Re: [PATCH] gcc-plugins: Disable GCC_PLUGIN_CYC_COMPLEXITY for s390 Message-ID: References: <20210221225650.33134-1-linux@roeck-us.net> <8d3de6fc-0991-9cef-d5fd-032fdbe2e85e@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d3de6fc-0991-9cef-d5fd-032fdbe2e85e@roeck-us.net> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-02-23_07:2021-02-23,2021-02-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 phishscore=0 priorityscore=1501 adultscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 clxscore=1015 mlxlogscore=974 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102230100 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 22, 2021 at 08:03:31AM -0800, Guenter Roeck wrote: > > Maybe, we can add something like CONFIG_SUPPRESS_NOISY_TESTS, > > which is set to y by all{yes,mod}config. > > > > This is self-documenting, so we do not need the '# too noisy' comment. > > > > > > > > config SUPPRESS_NOISY_TESTS > > bool "suppress noisy test" > > > > > > config GCC_PLUGIN_CYC_COMPLEXITY > > bool "Compute the cyclomatic complexity of a function" if EXPERT > > depends on !SUPPRESS_NOISY_TESTS > > > > Good idea. Downside would be that it won't solve the real problem > for s390 (which is lack of allmodconfig/allyesconfig compile test > coverage because COMPILE_TEST isn't set anymore), but that is a > different problem anyway, and my original patch doesn't solve > that either. I tried to explain why we don't want to set COMPILE_TEST for s390 anymore. It overrides architecture dependencies in Kconfig, and lots of drivers do not set dependencies for HAS_IOMEM, HAS_DMA, and friends correctly. This generates constantly fallout which is irrelevant for s390 and also for other architectures. It generates just work with close to zero benefit. For drivers which matter for s390 we still see those errors. > On the other side, if that flag would be set explicitly by > all{yes,mod}config, it would really beg for being misused. We > might then as well add a new flag that is explicitly associated > with all{yes,mod}config, but not with randconfig. I think that makes most sense, probably also have a flag that is set for randconfig.