Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp77472imm; Wed, 25 Jul 2018 23:02:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd9g0EpltmUA1Y/IJ6G+M7PxVOrsNTiW6qACNb/TatHZotimBlajgQpn3Ld66NFg06ziTue X-Received: by 2002:a65:6343:: with SMTP id p3-v6mr659634pgv.48.1532584936689; Wed, 25 Jul 2018 23:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532584936; cv=none; d=google.com; s=arc-20160816; b=WF8US4HCEu9Y1VbJxWr6/MxFSLaRD3LBnx2PmMbzbzOS5D2tAiRBsUay6sQT8n4e1B naytMMA1j1I1iMe4k2EXQNoZoj4eVHO4HKUJXbuXtKEV2DOEoP8bDXhStBZTPytGVTai 9u9yZlpZSo6ipKf8FbmmsllCTrKaB0CZbsy0qhhcOShrS2s8GkN0FnJR5I8tMq1NSNSK Xz3VtGLx/5zZNM6E7IfPCuEZVAnkVpZ6eeI5K1MqzO9DbU8bLG94HUdMcfSozrQA3mWI msQODs/gPs5xr71E+kw+3UHlX419g1t7K/Z4Qpm923DUz35zC+luPUMgTZgbkYIE6Y1X g7SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :message-id:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=3ZaQwN2EA7F6FHJLUGMXHxsRNqD8oq79eosayJY04D0=; b=JfYdh4ip/nZmM364rUTKc6jTwzsrTQafGeYqw20CjTRJW5cnfUnAqkUB/QmCOt2hKi Fzm8wVbgSDQizfRQfE1/7QXGA47KIOcKdweYbWwI04iH7t2Xfgy6atpSM21D3fNvaY0v TkvcmC7N4+tXUjFvMSs9g5ORWh7OMrqc+mkxyHfu9dNwmbrHZUwMrk32sUgCEn049fLW HXIwpaBBHFucb7hB4H15hSSV/wLOz/Re0l+Y7gb6ccCeN6Ozsn9RXBbgWWnvMEm4VA5F hnsPOZtvj+o1OKA+5V6VdtCopQc6sQCvRJQjaAXlxz5HQ9HgkbOAE3mGSqWEYhk43M4J 4wWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a66-v6si502570pla.287.2018.07.25.23.02.01; Wed, 25 Jul 2018 23:02:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727070AbeGZHQQ convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Jul 2018 03:16:16 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35084 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726037AbeGZHQQ (ORCPT ); Thu, 26 Jul 2018 03:16:16 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6Q5xhm5107171 for ; Thu, 26 Jul 2018 02:01:03 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kf4098tus-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Jul 2018 02:01:03 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 26 Jul 2018 07:01:00 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 26 Jul 2018 07:00:57 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6Q60uVv37683326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Jul 2018 06:00:56 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3DEFA52050; Thu, 26 Jul 2018 09:01:10 +0100 (BST) Received: from mschwideX1 (unknown [9.145.19.180]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 062645204F; Thu, 26 Jul 2018 09:01:09 +0100 (BST) Date: Thu, 26 Jul 2018 08:00:54 +0200 From: Martin Schwidefsky To: Kees Cook Cc: Christian Borntraeger , Linus Torvalds , Guenter Roeck , David Miller , Linux Kernel Mailing List Subject: Re: Linux 4.18-rc6 In-Reply-To: References: <20180723204617.GA14487@roeck-us.net> <20180723212330.GA7441@roeck-us.net> <20180724081845.1cc4c9d8@mschwideX1> <25151348-ce12-f754-876c-8b39b23d16a1@de.ibm.com> <20180724092403.332125ff@mschwideX1> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-TM-AS-GCONF: 00 x-cbid: 18072606-4275-0000-0000-0000029E23E5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072606-4276-0000-0000-000037A62504 Message-Id: <20180726080054.6682272e@mschwideX1> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-26_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260064 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Jul 2018 12:40:26 -0700 Kees Cook wrote: > On Tue, Jul 24, 2018 at 12:24 AM, Martin Schwidefsky > wrote: > > On Tue, 24 Jul 2018 09:15:58 +0200 > > Christian Borntraeger wrote: > > > >> On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: > >> > On Mon, 23 Jul 2018 16:17:22 -0700 > >> > Linus Torvalds wrote: > >> > > >> >> On Mon, Jul 23, 2018 at 2:23 PM Guenter Roeck wrote: > >> >>> > >> >>>> > >> >>>> Martin - can we just remove the > >> >>>> > >> >>>> select HAVE_GCC_PLUGINS > >> >>>> > >> >>>> from the s390 Kconfig file (or perhaps add "if BROKEN" or something to > >> >>>> disable it). > >> >>>> > >> >>>> Because if it's not getting fixed, it shouldn't be exposed. > >> >>>> > >> >>> The problem only affects 4.18 - the code has been rearranged in -next. > >> >>> Only, in my builders, I can't disable a flag for individual releases, > >> >>> so I just disabled it completely for s390. > >> >> > >> >> Well, I'm not going to release a 4.18 with a known problem, so in 4.18 > >> >> this *will* be disabled if it's not fixed. > >> >> > >> >> The fact that it might be fixed in linux-next is entirely immaterial > >> >> to the release of 4.18. > >> > > >> > Ok, if gcc with the plugins and an allmodconfig is considered to be > >> > important enough to warrant a fix, it can be pulled from here: > >> > > >> > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus > >> > > >> > Martin Schwidefsky (1): > >> > s390: disable gcc plugins > >> > > >> > Once that is in I will create another patch to undo this one and place > >> > it after the early boot rework. > >> > >> On the list a different fix was proposed about 2 weeks ago, > > https://lkml.kernel.org/r/CAGXu5jKyESyPD1MyM7BrVFPKDY9+HqRCpXcKG5ikCZwdGZLaSw@mail.gmail.com > > >> > >> something like > >> > >> CFLAGS_als.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) > >> > >> and I prefer that. Because your patch disables all gcc plugins. > > > > This change would cause trouble with patch dependencies as als.c is moved > > to a different directory. I would prefer to disable all gcc plugins for > > 4.18. > > I don't understand why not just add it to the Makefile. For -next and > 4.19, just drop the line again once you merge with 4.18? A CFLAGS_*.o > entry for a file that doesn't exist should be harmless... > > Of course, if no one is actually using the gcc plugins on s390, then > okay, disabling them isn't a problem. :) But since it's been working > on s390 since 4.15, it seems weird to turn all of them off just for > 4.18 when a trivial fix is available. The gcc plugins have not in wide-spread use, it is no problem to just disable them all. The advantage doing the fixing with the Kconfig file is that I avoid a merge conflict with the current features branch. And I do not want to rebase that branch this late in the -rcs just because of this problem. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.