Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp166772ybg; Tue, 2 Jun 2020 20:08:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfI5Ra3GSgEQ1MMeh5rlbEE5ymH2krqTQj8eHbguFb6Sh8xcbt0um23ts4bc3DtywjNWDr X-Received: by 2002:a17:906:4009:: with SMTP id v9mr11060565ejj.481.1591153727181; Tue, 02 Jun 2020 20:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591153727; cv=none; d=google.com; s=arc-20160816; b=McyToD5jvIZYnhT+6sO2WCNeb5NkPmVNsmO59YH0bQDJkvkchmaN5NN6r9N5xvIck0 e7bezWzCLfRfTF8kQCgCwQg+EXHMKBx0VA2E0Zb4PLIER8idQO9oYyBqvW01HKnaUL8J rPzqrfuUn0Npz6g8Vg334WqVJac4HLrZzUjHGSDsgPEzafwZrNYsFJEGp6TTM1JiGWMu bbXeTJKvr1Vy18SV1u8/iWr7+Okr5vORKUGtm6/BoHJ45O5KVsOwU3bLLHm3LOjV+aDO LRoabuVzjaArB8FO2+4eAfCW8/tFvG2vUzmAlec2DZfFB0qLKZPB7hB2OW7Jwmpf5qe8 Fkgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=0rMzQx/bhLjCF+bt7t/sKUUsOvWB7nXulaFVGJxOgtk=; b=oFUAQPpZlf4w4S2uiSPrzD1FjDc3FZ+31TKWpmygq4iihVdixOuSSkhT3kMYt9NusP n5oZKLx9lWYGTAJdMRcX5wz+BIIJdj/pJlIgVZwx7xghe+29yVGW68QXcFuLAg4hfAz5 Y2MEr1LNVRJ9eZCmLWMziI1aXs8i3txkl5amxnvLImF+YGGrX+DdHmXP7hb0SYo+HC0G 67+/D9aTrzpOuWDuF7322v76s5JDxfru69Lxptk7S0PC1TjWfSFhSpHYt0IT2ASo+fgX 7KxYLinE37KcdeAbDqv9BNiN/CIi03RWZb5xm66YqgSe4trEn5vdWa0pwaqTOYfNzpTL Lyvw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si422463eji.126.2020.06.02.20.08.24; Tue, 02 Jun 2020 20:08:47 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725906AbgFCDGT (ORCPT + 99 others); Tue, 2 Jun 2020 23:06:19 -0400 Received: from mga07.intel.com ([134.134.136.100]:34993 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbgFCDGT (ORCPT ); Tue, 2 Jun 2020 23:06:19 -0400 IronPort-SDR: AjGQqh1WdhFzHeEY1Gi3a77mNLLDPxiw7qXlQAmja8s7P7JEJTL7RZpF+CqiNwPjHndtam5YHf qFomRA0fxgoQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2020 20:06:19 -0700 IronPort-SDR: kQGo9vkFlnDBIQYvOoljkfa5J3ViwwscSUL3naiprSsgOqwFTQnkcrWC7mft4x4MHHjTWelYTs M3qlIXkapL8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,466,1583222400"; d="scan'208";a="470969634" Received: from yuguoshi-mobl.ccr.corp.intel.com (HELO [10.255.28.20]) ([10.255.28.20]) by fmsmga005.fm.intel.com with ESMTP; 02 Jun 2020 20:06:16 -0700 Subject: Re: [LKP] Re: 28307d938f ("percpu: make pcpu_alloc() aware of current gfp .."): BUG: kernel reboot-without-warning in boot stage To: Filipe Manana , kernel test robot Cc: LKP , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , "Linus, Torvalds," References: <5ed0b6ea.QaEVKYBGHpcVDpW8%lkp@intel.com> <21fb7dbf-1fd2-cfcb-860e-c342ae0c310e@suse.com> <0405917f-dc4f-f32c-0aeb-043742fc4d6e@suse.com> From: Li Zhijian Message-ID: <1527ee5c-4e2f-7b4a-9ba4-b37d5f7c0258@intel.com> Date: Wed, 3 Jun 2020 11:05:35 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <0405917f-dc4f-f32c-0aeb-043742fc4d6e@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/2/20 8:18 PM, Filipe Manana wrote: > On 02/06/20 05:37, Li Zhijian wrote: >> Hi Filipe, >> >> LKP checked blow dmesg as the indicator in this problem >> >>>> [    0.144174] RAMDISK: [mem 0x7fa2e000-0x7fffffff] >>>> [    0.144559] ACPI: Early table checksum verification disabled >>>> [    0.144985] ACPI: RSDP 0x00000000000F5850 000014 (v00 BOCHS ) >>>> [    0.145424] ACPI: RSDT 0x00000000BFFE15C9 000030 (v01 BOCHS >>>> BXPCRSDT 00000001 BXPC 00000001) >>>> [    0.146051] ACPI: FACP 0x00000000BFFE149D 000074 (v01 BOCHS >>>> BXPCFACP 00000001 BXPC 00000001) >>>> BUG: kernel reboot-without-warning in boot stage >>>> >> And i have reproduced it with script in attachment. this issue is gone >> when i reverted this commit 28307d938f >> >> Please note that >> - i reproduced it with kernel compiled by gcc-5 >> - i failed to reproduce it in kernel compiled by gcc-7 so far > Odd. Indeed ! i tested gcc-5 gcc-6 gcc-7, only gcc-5 triggered this issue, kernel built with gcc6 and gcc-7 works well lizhijian@shao2-debian:~$ gcc-6 --version gcc-6 (Debian 6.5.0-2) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. lizhijian@shao2-debian:~$ gcc-5 --version gcc-5 (Debian 5.5.0-12) 5.5.0 20171010 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. lizhijian@shao2-debian:~$ gcc-7 --version gcc-7 (Debian 7.5.0-3) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Thanks Zhijian > Here I tested with: > > $ gcc --version > gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 > Copyright (C) 2016 Free Software Foundation, Inc. >