Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2967019ybt; Mon, 29 Jun 2020 11:41:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTJ1NwJF7BbWQRgalz4J9yop1/F5KwjY/HiU1w98ZojlSPC+7DdjsDu4fIbu9Ypzsg5eAK X-Received: by 2002:aa7:cc19:: with SMTP id q25mr18841235edt.26.1593456067657; Mon, 29 Jun 2020 11:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593456067; cv=none; d=google.com; s=arc-20160816; b=ArJTQuUxtJJpR2oBX2O5fDbu5updUFv9yePtUPvhXVEuDUyb+AqgoCW3DM44ND3o9e FXno1yNnMMxVvaKl9bYTvBwH9ERQhy7XoFvnR++bS7cX28OSPKXSGGYxk++xK3M8by9M a24m/Y1URLG4MI/W1mfP4Ia/iqT0oaLENubf30QGm23CmKonLWg3AOXIM6mLKsOPCaKf VTYJgF2WQLbfsiOMDuRtz0NZN+v1PQhY9k3kenI2zZOuj0ZfEX4U7kKnwk1GLp/0pokv AIN+7Ywlph3rYF1aERIN4LhqPM2ViUSTNMuAEvL2WAvnUpZ/SfUBN06UGMOCleqWnGuU xOIQ== 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=kW4nVWYCKNWxogj/0yqULbkJOfkxscQYCBH5AleRVGQ=; b=nNRBI2W4A8jRFswKbxucv1R2avyXdSvu37X2VwLPPTYcUox1tlNh75zYfuAdviLx6u CMu2nvbQWfUDGZdiDUGUgm31Rpuc90XOCiXBkYOpc3UcXfUczAVMsr6YQCINSpsEYNJJ gUIL6EPibpX3aSqXJ0ov5qQgBzpAeZhEWxwXbeekY3pdBdyQfzjgXXSGBSx958d9hcE1 HdJ3jYHBZWpCJ64DtEqvOmyFmLOx8ucQnYLBrNrw36ORYypC6OlHptgdJNvFOZUkvJ/B UOTh0I4LM4TgkqfOVvoqvRiY+ViJGzuqMAfqxgNOyfMnRTF7pIdfX4ITPyt5QjCJ7R8I /5SQ== 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 y19si285254ejm.324.2020.06.29.11.40.44; Mon, 29 Jun 2020 11:41:07 -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 S1728164AbgF2Sj7 (ORCPT + 99 others); Mon, 29 Jun 2020 14:39:59 -0400 Received: from foss.arm.com ([217.140.110.172]:35142 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727076AbgF2Sj4 (ORCPT ); Mon, 29 Jun 2020 14:39:56 -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 77D68D6E; Mon, 29 Jun 2020 01:32:52 -0700 (PDT) Received: from [10.163.83.176] (unknown [10.163.83.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 94C2D3F71E; Mon, 29 Jun 2020 01:32:41 -0700 (PDT) Subject: Re: [PATCH V3 0/4] mm/debug_vm_pgtable: Add some more tests To: Alexander Gordeev , Gerald Schaefer Cc: linux-mm@kvack.org, christophe.leroy@c-s.fr, ziy@nvidia.com, Jonathan Corbet , Andrew Morton , Mike Rapoport , Vineet Gupta , Catalin Marinas , 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 , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Christophe Leroy References: <1592192277-8421-1-git-send-email-anshuman.khandual@arm.com> <70ddc7dd-b688-b73e-642a-6363178c8cdd@arm.com> <20200624110539.GC24934@oc3871087118.ibm.com> <20200624134808.0c460862@thinkpad> <20200624144015.GD24934@oc3871087118.ibm.com> From: Anshuman Khandual Message-ID: Date: Mon, 29 Jun 2020 14:02:31 +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: <20200624144015.GD24934@oc3871087118.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/24/2020 08:10 PM, Alexander Gordeev wrote: > On Wed, Jun 24, 2020 at 01:48:08PM +0200, Gerald Schaefer wrote: >> On Wed, 24 Jun 2020 13:05:39 +0200 >> Alexander Gordeev wrote: >> >>> On Wed, Jun 24, 2020 at 08:43:10AM +0530, Anshuman Khandual wrote: >>> >>> [...] >>> >>>> Hello Gerald/Christophe/Vineet, >>>> >>>> It would be really great if you could give this series a quick test >>>> on s390/ppc/arc platforms respectively. Thank you. >>> >>> That worked for me with the default and debug s390 configurations. >>> Would you like to try with some particular options or combinations >>> of the options? >> >> It will be enabled automatically on all archs that set >> ARCH_HAS_DEBUG_VM_PGTABLE, which we do for s390 unconditionally. >> Also, DEBUG_VM has to be set, which we have only in the debug config. >> So only the s390 debug config will have it enabled, you can check >> dmesg for "debug_vm_pgtable" to see when / where it was run, and if it >> triggered any warnings. > > Yes, that is what I did ;) > > I should have been more clear. I wonder whether Anshuman has in > mind other options which possibly makes sense to set or unset > and check how it goes with non-standard configurations. After enabling CONFIG_DEBUG_VM either explicitly or via DEBUG_VM, ideally any memory config combination on s390 which can change platform page table helpers (validated with CONFIG_DEBUG_VM) should also get tested. Recently, there was a kernel crash on ppc64 [1] and a build failure on ppc32 [2] for some particular configs. Hence it will be great if you could run this test on multiple s390 configurations. [1] 787d563b8642f35c5 ("mm/debug_vm_pgtable: fix kernel crash by checking for THP support") [2] 9449c9cb420b249eb ("mm/debug_vm_pgtable: fix build failure with powerpc 8xx") - Anshuman