Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3907081ybz; Tue, 28 Apr 2020 02:25:13 -0700 (PDT) X-Google-Smtp-Source: APiQypJHnpWk8JfPTEcC1F2ruSaWM4IQyDn6u1mYIn6tINpwXjfQvWAy3yeoG+4AdncLrlRmzZG+ X-Received: by 2002:a05:6402:22ea:: with SMTP id dn10mr21464739edb.70.1588065913278; Tue, 28 Apr 2020 02:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588065913; cv=none; d=google.com; s=arc-20160816; b=dTHqKoYfKSkcy7sDrM1exut9V8QrQeKDW4DfN6nMy0eAPFeXmiEVONuiBwitrBN2zE +wN2dhrWvrBoxf93o3kvlsKuRicRiF4d3qf6tBhah5jZKkYnJc1Wkq0TTtzjv/9Wqi7U efeXVwg+pshuPoLzazrjc2ONo/iM9NIGpjACcUjeYo5pPa4jjmriuOEed4+8XHzIh6EX J0WaAtoisQNBOhaibYoM9dbXgG6X9RW1mNUsbbXTNpE4rpcVAwoVeydmw/aIffrIZf5h Raei5JTGAvv2XEa8HKl/DExypImxKdGDeRyasEY1VhTVUfGsaeOAen8eErFwpxBWqc8g JxtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dC9dTqSQxYzxK2HObYl+qppAs6BEisYj7ezbgsxpZz8=; b=z+nL4fxbfScte76XmhqrBl+tMPW6TXhwRkOxHwU2VdiJqbQWQUGFGg42rFZQIxW9zL q1ZcXLg7r4OYknieZlPsLM2h76wA/ISg2qLUSznvl7z2yaxcf1+6XQx+T9tEIoZGl6Dq kcLZYsgCuF+KJFGobNAOg8E/Ix47syD8C+sBAoPtNXDhNDpGOoXUZp5RfkJ2SZlTWqC5 5e3IaXzpulvlkdRHKIg/Q+owNYbeUB41mJnUHrFdM75Prgf605Pt3egw/InRR160dHWP 21kEXsSoik6Nc5HJPLUnMg9FoCpaaFZpZXDuos1OVpDbs0xPFTiRRc6Y0S1qNwoPkNCn 19ww== 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 p4si1310249eds.242.2020.04.28.02.24.49; Tue, 28 Apr 2020 02:25:13 -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 S1727076AbgD1JVM (ORCPT + 99 others); Tue, 28 Apr 2020 05:21:12 -0400 Received: from foss.arm.com ([217.140.110.172]:48242 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbgD1JVM (ORCPT ); Tue, 28 Apr 2020 05:21:12 -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 55D9530E; Tue, 28 Apr 2020 02:21:11 -0700 (PDT) Received: from gaia (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 16CF83F305; Tue, 28 Apr 2020 02:21:07 -0700 (PDT) Date: Tue, 28 Apr 2020 10:21:05 +0100 From: Catalin Marinas To: Qian Cai Cc: Anshuman Khandual , 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 Subject: Re: [mm/debug] fa6726c1e7: kernel_BUG_at_include/linux/mm.h Message-ID: <20200428092105.GB3868@gaia> References: <9e9091b9-6918-d0af-dd92-3bdc0e29a4d5@arm.com> <813D7CD3-F31C-4056-92DF-D462633E9D69@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <813D7CD3-F31C-4056-92DF-D462633E9D69@lca.pw> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. We could as well remove the 'depends on ... || EXPERT' part but I'd rather leave this around with a default n (as in current -next) in case others want to have a go. If that's still causing problems, we can remove the '|| EXPERT' part, so there won't be any further regressions. -- Catalin