Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5065369ybh; Tue, 6 Aug 2019 23:47:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiv/CEUdy4y/jBO3vraBmUoUFfujyUS4fkSIJ8O0xkf8cXyMw4irFgCi2HqMufh/I8BC8q X-Received: by 2002:a17:90a:1ae1:: with SMTP id p88mr6682179pjp.26.1565160447489; Tue, 06 Aug 2019 23:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565160447; cv=none; d=google.com; s=arc-20160816; b=WiUyycGj5UoGkwGS9Q4Vi00y+0tKD7xpbP0bF5dTwKZzX83TWhud1G5yswS234uvgo 0tKfXXuxOfoXvlagprQjWwP4YyGvg0+CSmCGqv4TxXTkDd3W5io9SvM0fKrGzpqWNzo/ usypuEeCK8AI3nrnSNQ5QGaBYUzbygguge7OIXqCOz5cdsND2BvcorxPlrbUEoWOLVcf 4vgMVrAoGwDvjhjL2HhcOCxJvffm6L6sJFK7ffOSDOUT/cVHz22p9YtoVx/IQf59fWPy D3Op2ibCl2qB+ATTn91/MastPHoOTGTq8mK2vZ1Y5JJiX4yr29feJyAZIH37Jh486EBl S9Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:cc:from:references:to:subject; bh=RhlErAqo+BVMBo5ITbGPb45NDG3gmpKBZuREQLQhGmg=; b=ahtx+eKwwZAAxSe7meDQTnw4phy5FBz42Vya0BzitT4PRYg+VuW0LEISV01lKYS3qB URN68HyOMt/9IpUspfSGIN1RRCLVOPoJjgANrV236TT0UAlFQ72b0sLWINy7KjS4W5rZ NeTll1jAUSGTmPk4OENa+w2E78OS1HVlSq+GxvTu96e1Wcnpm/sa05SPNAsfKPdXLbSY lDq9QGoY4GGInAxvsMSPtbnFXT6fFtp4psw7HekdUbVxx0lHkLnlJXIEBCV7Nizo517O XFPxWJ931hW4YdYn8ENzti3Nyu+HXqZpTZ07Ke9PIzC21DtuZ9Qzv4xkOnX/TL8SxlYg tIhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JxxIXdPE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si53448820pff.220.2019.08.06.23.47.10; Tue, 06 Aug 2019 23:47:27 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JxxIXdPE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727186AbfHGGqg (ORCPT + 99 others); Wed, 7 Aug 2019 02:46:36 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:18881 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727132AbfHGGqg (ORCPT ); Wed, 7 Aug 2019 02:46:36 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 06 Aug 2019 23:46:36 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 06 Aug 2019 23:46:35 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 06 Aug 2019 23:46:35 -0700 Received: from [10.2.165.207] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 7 Aug 2019 06:46:35 +0000 Subject: Re: Warnings whilst building 5.2.0+ To: Chris Clayton , "Enrico Weigelt, metux IT consult" , LKML , , References: <5276d608-e781-6190-e7df-bc22152b71c1@googlemail.com> X-Nvconfidentiality: public From: John Hubbard CC: Ingo Molnar , "x86@kernel.org" , Borislav Petkov Message-ID: Date: Tue, 6 Aug 2019 23:45:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1565160396; bh=RhlErAqo+BVMBo5ITbGPb45NDG3gmpKBZuREQLQhGmg=; h=X-PGP-Universal:Subject:To:References:X-Nvconfidentiality:From:CC: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=JxxIXdPELYMziTTuxXTHLD5F+6WI1zeQjVJmZty7kHmo3H6ewlJsx5rtw4sQht2pS S88kVcUdC9CKTH8c6932ythvJW/WWgjYE6TxcjGMcEOuRA+MMVX3Mi0Fl7iuqKEpTs +uFLDm2DUdsEPpTieyd5ItURMhi9KXpJa/MZZRLnUiddkjm0GQQZlmK+Fx7z2CAvh6 wu1b8gaTAaLLlI+WzfI3ui9ZhcZST+yZf9AacSZJCkSkkmPsEX1p/mIDXAcebtB/UU f2Q1thhUpX6UWHwxx5JraHFZoaxmw5bzg/H1JLB8daOY+T89a3FHWxY7xQL/pTYPWO 2BDBaHrsQ2wZA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/6/19 11:30 PM, Chris Clayton wrote: > On 09/07/2019 12:39, Chris Clayton wrote: >> On 09/07/2019 11:37, Enrico Weigelt, metux IT consult wrote: >>> On 09.07.19 08:06, Chris Clayton wrote: ... >>> Can you check older versions, too ? Maybe also trying older gcc ? >>> >> >> I see the same warnings building linux-5.2.0 with gcc9. However, I don't see the warnings building linux-5.2.0 with the >> the 20190705 of gcc8. So the warnings could result from an improvement (i.e. the problem was in the kernel, but >> undiscovered by gcc8) or from a regression in gcc9. >> > > From the discussion starting at https://marc.info/?l=linux-kernel&m=156401014023908, it would appear that the problem is > undiscovered by gcc8. Building a fresh pull of Linus' tree this morning (v5.3-rc3-282-g33920f1ec5bf), I see that the > warnings are still being emitted. Adding the participants in the other discussion to this one. > The warnings are still there because the fix has not been committed to any tree yet. If you could try out my proposed fix [1], and reply to that thread with perhaps a Tested-by tag, that would help encourage the maintainers to accept it. So far it hasn't made it to the top of their inboxes, but I'm hoping... :) [1] https://lore.kernel.org/r/20190731054627.5627-2-jhubbard@nvidia.com ("x86/boot: save fields explicitly, zero out everything else") thanks, -- John Hubbard NVIDIA