Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp585454ybz; Wed, 29 Apr 2020 05:54:25 -0700 (PDT) X-Google-Smtp-Source: APiQypL/b1tx5RSkZF+ihAgMGT42Km/tXFYR9A71vC6+GPEBWdcJFvxMWHRlssIs5rpyoe7Gpt6F X-Received: by 2002:a17:906:29c4:: with SMTP id y4mr2438175eje.95.1588164865707; Wed, 29 Apr 2020 05:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588164865; cv=none; d=google.com; s=arc-20160816; b=Y9dTXiFT3cUKo5gs6Aiu3oT23cz7/JD5mLXkqSB7QwzKXU4L9sjsg/2Ha6hIpi11Og oQyoZ/gKvOflfCFdwkqux+iwPIVGAPl5evVsFA7HONPtVwuXfzE4QbkjBp2qhPhQ4Iym 8Fts2fIlPtxqMzf8ffWu0qOxjcbwOZIhPGCiD3ygeq4f6oMiUtoRD40QZcd2lMVF7AMD ey5rbyRQPMPGWHPUO2QNRRwZXAg57Zxg1tr//vb8MDlkbzPJoBW2TzOhtzH+WzQnOuBX OFQs843C9VEI3aHz0M7S1FPb6ABqnl0B0p9NUBHOEuAz282OdYOz1k2mqS3bqbtr0lqB S3pg== 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=iQU8cie/3om82D4R2jBClWMXEYTxgofw2tDD50JNA9w=; b=dx8Omo34lne8sn+HghSO+B5l/Oo/q4XrSDEJ1HKgfVZlmT7v4v9sFAQ71gL4iyKkeA ahFlOeLksqYOJ1gf9mKodOaqF6qxVfpitX0TIngqg/AEAEuaSL1+88XxFtjWxnQ3TyZf tVn9dC/sIR53lStVTUPnFI+VyZWYPgYqelIB6AQXcmPknbum6hISGm5zskxWdKuQE4vt blwBIaIz2MSkJ0TI9Y9X5mwbpF+6Efj4AXzWek7+xK+OctMKewD26hqEZ+dIJ7O+Wfh4 ii8AH/eIu6OrODnLP8sejU2Qn8kXASl5GOqQF9OfbqkOKSwI+FftaWwEn30pi1QGdWMD DaJw== 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 ck10si3857099ejb.431.2020.04.29.05.54.02; Wed, 29 Apr 2020 05:54:25 -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 S1726828AbgD2Mwf (ORCPT + 99 others); Wed, 29 Apr 2020 08:52:35 -0400 Received: from mga06.intel.com ([134.134.136.31]:11133 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbgD2Mwf (ORCPT ); Wed, 29 Apr 2020 08:52:35 -0400 IronPort-SDR: AWd6Ifb1KwULWPo4G7aT6O92fY7eZdkrX9gX0w3Wz1IGm026iq/7iRVo73JM5OmYqFoiXEp0N+ y8JAvkZB9YyQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 05:52:35 -0700 IronPort-SDR: 2UaTrOx0IU2JFuLtDh2zLVLh8AkFd/TzUTn4ESfgu67UiQFtwQjbVO9dmFy2jwlk1NvuKv4sIq XmXTc6mZjKbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,332,1583222400"; d="scan'208";a="246839106" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.30.214]) ([10.255.30.214]) by orsmga007.jf.intel.com with ESMTP; 29 Apr 2020 05:52:26 -0700 Subject: Re: [LKP] Re: [mm/debug] fa6726c1e7: kernel_BUG_at_include/linux/mm.h To: Anshuman Khandual , Catalin Marinas , Qian Cai Cc: Christophe Leroy , kernel test robot , Stephen Rothwell , Ingo Molnar , Mike Rapoport , Vineet Gupta , Will Deacon , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "Kirill A. Shutemov" , Paul Walmsley , Palmer Dabbelt , Andrew Morton , LKML , lkp@lists.01.org References: <9e9091b9-6918-d0af-dd92-3bdc0e29a4d5@arm.com> <813D7CD3-F31C-4056-92DF-D462633E9D69@lca.pw> <20200428092105.GB3868@gaia> From: "Chen, Rong A" Message-ID: <07ea0efd-0145-eaaf-c628-e48957154a2c@intel.com> Date: Wed, 29 Apr 2020 20:52:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: 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 4/29/2020 11:28 AM, Anshuman Khandual wrote: > > On 04/28/2020 02:51 PM, Catalin Marinas wrote: >> On Tue, Apr 28, 2020 at 04:41:11AM -0400, Qian Cai wrote: >>> On Apr 28, 2020, at 1:54 AM, Anshuman Khandual wrote: >>>> That is true. There is a slight change in the rules, making it explicit yes >>>> only when both ARCH_HAS_DEBUG_VM_PGTABLE and DEBUG_VM are enabled. >>>> >>>> +config DEBUG_VM_PGTABLE >>>> + bool "Debug arch page table for semantics compliance" >>>> + depends on MMU >>>> + depends on !IA64 && !ARM >>>> + depends on ARCH_HAS_DEBUG_VM_PGTABLE || EXPERT >>>> + default y if ARCH_HAS_DEBUG_VM_PGTABLE && DEBUG_VM >>>> + help >>>> >>>> The default is really irrelevant as the config option can be set explicitly. >>> That could also explain. Since not long time ago, it was only “default >>> y if DEBUG_VM”, that caused the robot saved a .config with >>> DEBUG_VM_PGTABLE=y by default. >>> >>> Even though you changed the rule recently, it has no effect as the >>> robot could “make oldconfig” from the saved config for each linux-next >>> tree execution and the breakage will go on. >> I'm not entirely sure that's the case. This report still points at the >> old commit fa6726c1e7 which has: >> >> + depends on ARCH_HAS_DEBUG_VM_PGTABLE || EXPERT >> + default n if !ARCH_HAS_DEBUG_VM_PGTABLE >> + default y if DEBUG_VM >> >> In -next we now have commit 647d9a0de34c and subsequently modified by >> commit 0a8646638865. So hopefully with the latest -next tree we won't >> see this report. > Could some one from LKP test framework, please confirm if this still causes > above problem on the latest linux-next by default ? Hi, The .config is a rand config, the problem is still exist if run "make oldconfig" for the config with commit 0a8646638865. $ grep -e CONFIG_MMU= -e CONFIG_EXPERT= -e CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE= -e CONFIG_DEBUG_VM= .config CONFIG_EXPERT=y CONFIG_MMU=y CONFIG_DEBUG_VM=y should we disable DEBUG_VM_PGTABLE by default? Best Regards, Rong Chen