From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 265DBC433E0 for ; Wed, 3 Jun 2020 03:06:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D3DE8206E9 for ; Wed, 3 Jun 2020 03:06:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3DE8206E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 62B6B280001; Tue, 2 Jun 2020 23:06:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5DBCC8E0006; Tue, 2 Jun 2020 23:06:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4F135280001; Tue, 2 Jun 2020 23:06:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0018.hostedemail.com [216.40.44.18]) by kanga.kvack.org (Postfix) with ESMTP id 34B4D8E0006 for ; Tue, 2 Jun 2020 23:06:23 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id EBC31180AD806 for ; Wed, 3 Jun 2020 03:06:22 +0000 (UTC) X-FDA: 76886412204.26.blood05_54985eb6d5323 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin26.hostedemail.com (Postfix) with ESMTP id C86B11804B668 for ; Wed, 3 Jun 2020 03:06:22 +0000 (UTC) X-HE-Tag: blood05_54985eb6d5323 X-Filterd-Recvd-Size: 3988 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Wed, 3 Jun 2020 03:06:21 +0000 (UTC) IronPort-SDR: UapmrlgjlJX61+ZyOYuprGLPn0C9uep37nnv5IPFzkzfsozeUbk/rM7U4qGPXN5qpIZBtJOc+h x7uLcnJNVDUQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.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-Language: en-US X-Rspamd-Queue-Id: C86B11804B668 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 >> >>>> [=C2=A0=C2=A0=C2=A0 0.144174] RAMDISK: [mem 0x7fa2e000-0x7fffffff] >>>> [=C2=A0=C2=A0=C2=A0 0.144559] ACPI: Early table checksum verificatio= n disabled >>>> [=C2=A0=C2=A0=C2=A0 0.144985] ACPI: RSDP 0x00000000000F5850 000014 (= v00 BOCHS ) >>>> [=C2=A0=C2=A0=C2=A0 0.145424] ACPI: RSDT 0x00000000BFFE15C9 000030 (= v01 BOCHS >>>> BXPCRSDT 00000001 BXPC 00000001) >>>> [=C2=A0=C2=A0=C2=A0 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=20 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.=C2=A0 There= is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. 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.=C2=A0 There= is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. 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.=C2=A0 There= is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. 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. >