Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp151134ybz; Tue, 28 Apr 2020 20:31:02 -0700 (PDT) X-Google-Smtp-Source: APiQypJDVvDMc7mmUsWQbN4Vveqr1ZBmwEGnWs6jhJGa922GK4saGDgRJ9o/KbsmbGMBCHLbbwkC X-Received: by 2002:aa7:d794:: with SMTP id s20mr783877edq.141.1588131062761; Tue, 28 Apr 2020 20:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588131062; cv=none; d=google.com; s=arc-20160816; b=t5A8IxHsujkSUqmAYhaTQXhogCjoUO4S0SpcSxkh885RlObIxvqqjxgwNNsvURykJE OJSsQlvNefpL2TkFPXYYbMeCGGHwgIPhf8qFQp1ZkWqObgj/Agvgd+zaPcIc8aY4IJzy bCllzUsqczSku1v6hep5blXV1QVmKpKJFWrIr/0xOzaUqsnYGMo0bK0LAibxQCYrQXnw 1ldOmkmCPEvfd+4VpxNPitnLmwq8FZX9sOUflMSuhzX3cXKclU6DX/8ipt9W3QprmbO9 4sF4dLhCbgx5QL0UEUm03Bu72FyVh91EhDaqavm50VaqTBGcIMFa+nxVvVKtkvTIcSAv jdhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ejdazKpZQ30DfjUHcrLTnArML98p9QtYNpuD1T9A9qw=; b=XaDxJjPJt2Vt/xu0aPPaEdN07UtJKe2PRo7ZBcMgxwh4Iyu/mdI2vtpUj1lJh2UBuT mHJLGlk1tOEhHpar67W/MA50P9KY4fBCTKhO4PC8Lu7lHXCyfYh+kCrI8kyL2tK1tj+f VojsAbixX4yGtnwOhtsnynWZQ9YXlMmTdzU3CEQ0CC1BZRcK7DFd6qEAR8gAZFJnSHy8 MBz5IDMIplw2uH0nmOBjiEwO9HyevSaY52ey7fD7R3edLRujR5cnzMMXC/ov5Xl587or GKhj0POMmCGAlqxe8QiiQEnENUT97O6Qitf6IuCLLG26smHF27GDkppzzuGkqu32b2I4 saLw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si3067541ejg.142.2020.04.28.20.30.39; Tue, 28 Apr 2020 20:31:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726842AbgD2D2i (ORCPT + 99 others); Tue, 28 Apr 2020 23:28:38 -0400 Received: from foss.arm.com ([217.140.110.172]:33520 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726636AbgD2D2i (ORCPT ); Tue, 28 Apr 2020 23:28:38 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 802C2C14; Tue, 28 Apr 2020 20:28:37 -0700 (PDT) Received: from [192.168.0.129] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 653D03F73D; Tue, 28 Apr 2020 20:28:31 -0700 (PDT) Subject: Re: [mm/debug] fa6726c1e7: kernel_BUG_at_include/linux/mm.h To: 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: Anshuman Khandual Message-ID: Date: Wed, 29 Apr 2020 08:58:02 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200428092105.GB3868@gaia> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ?