Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3607653ybz; Mon, 27 Apr 2020 19:37:37 -0700 (PDT) X-Google-Smtp-Source: APiQypKiSFjGmwsYklPc9TuwiUZB7TCLo3PwpqA2ZmgWHQH9sqWFlD4+qFFXglWm14/AY9jHUX15 X-Received: by 2002:a05:6402:b82:: with SMTP id cf2mr66823edb.49.1588041457311; Mon, 27 Apr 2020 19:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588041457; cv=none; d=google.com; s=arc-20160816; b=KWVoE2Qlea6Dqtui9B7AZd2u0FlXJnIy8LZGWyba4Pcz2FPhFp/WoWh4NZVQFxe1c/ RGGB5X6BcVfbhdhyqBVw3HdgzTQzOHt5Q5Ml0iXsRouAdJhvLUxFrZsWaZFUeP99D4Zt uxiv0Gzbo+OX6HNVtWRX8HOAss6e+3tzJ7q1I0AWPlDS2OzNdBxbow/XYyj24v20E4tz WwQiYCdzNpmChskOogItFlv6LpupCdTsBJwHdpXYHzfpWHTwtG5BvIQvbsH7KemEKque Ngpkpa71j+EA8x/Bj7MCjVQ5VGMpFZOxg6ZqTwlOnyoxIeoSAWu2n0/XUfRiX0RSx1ul anSg== 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=6/fnZJcxu3wTlYG0ALcLgBwdlwhr4X8vCtEvcvA5ums=; b=NMBtspJjXqHs4rgnJC2YU2nsX/+ra1VbvgXCC1SC1Oj3hVwIN7jJaAa4IccBA3WwX/ KQ6uzP6hARUyKhqGAv9fxJ13xxEvGeuyqAqmymika66AOhCkXIFTxNEJngjSe6inJg62 HbL82pd7ydbZYQzmF8lxVaPJJvdkZd15FRf8tRJCv/sHzj+Wn7vXGY1zeAHynrqmsAUR AZu7Fl3YyP9/JELRJq53m28IPf0W04pM+gBo2qc6iKa9qOGsYJm7DQ92dgr6Tx3zcCfx Zyr1u60+jOHhrfbI16ChQ0z9oLV6tMpnvREAzI6B4RaAev4bLYqhtBioA6k7mzUOmLIZ SGhQ== 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 qp6si942926ejb.16.2020.04.27.19.37.12; Mon, 27 Apr 2020 19:37:37 -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 S1726307AbgD1Cfk (ORCPT + 99 others); Mon, 27 Apr 2020 22:35:40 -0400 Received: from foss.arm.com ([217.140.110.172]:44748 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbgD1Cfk (ORCPT ); Mon, 27 Apr 2020 22:35:40 -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 4AF6C30E; Mon, 27 Apr 2020 19:35:39 -0700 (PDT) Received: from [10.163.70.197] (unknown [10.163.70.197]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF0443F305; Mon, 27 Apr 2020 19:35:30 -0700 (PDT) Subject: Re: [mm/debug] fa6726c1e7: kernel_BUG_at_include/linux/mm.h To: Qian Cai Cc: kernel test robot , Stephen Rothwell , Christophe Leroy , Catalin Marinas , 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: <51dcbcbf-6020-6672-05b0-5bb10c6292b5@arm.com> <31CD915D-2E14-4897-AF62-82B6C5FD567A@lca.pw> From: Anshuman Khandual Message-ID: <096a07fc-4525-feb6-5658-40bcffbd0a58@arm.com> Date: Tue, 28 Apr 2020 08:05: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: <31CD915D-2E14-4897-AF62-82B6C5FD567A@lca.pw> 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 07:35 AM, Qian Cai wrote: > > >> On Apr 27, 2020, at 9:49 PM, Anshuman Khandual wrote: >> >> This is an unsupported (enabled via CONFIG_EXPERT) X86 platform (CONFIG_X86_PAE) >> and is known to fail. The latest (V17) patch had moved the test invocation into >> a late_initcall() per Linus thus pushing down any possible failures (like this) >> after early boot. Please ignore this report. >> >> Apart from this X86_PAE based config, no other platform failures have reported >> so far. Assuming that this test robot does have a good platform coverage, the >> CONFIG_EXPERT method of enabling CONFIG_DEBUG_VM_PGTABLE should help in getting >> more platform coverage for this test. > > This sounds really sloppy. Why can’t we make it impossible to select this combination if nobody is willing to fix it? Letting CONFIG_DEBUG_VM_PGTABLE enabled via CONFIG_EXPERT for unsupported platforms i.e without ARCH_HAS_DEBUG_VM_PGTABLE, was a conscious decision meant to expand it's adaptability and coverage without requiring any code (i.e Kconfig) change. The easier it is to enable the test on unsupported platforms right now, more folks are likely to try it out thus increasing it's probability to get fixed on those platforms. That is a valid enough reason to have CONFIG_EXPERT based enablement method, IMHO. Also even with CONFIG_EXPERT set, CONFIG_DEBUG_VM_PGTABLE does not get enabled by default automatically.