From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD579C3F2D7 for ; Thu, 5 Mar 2020 05:43:38 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 56F802146E for ; Thu, 5 Mar 2020 05:43:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=c-s.fr header.i=@c-s.fr header.b="UCg+E84G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 56F802146E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=c-s.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B776C6B0003; Thu, 5 Mar 2020 00:43:36 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B012A6B0005; Thu, 5 Mar 2020 00:43:36 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A15E46B0007; Thu, 5 Mar 2020 00:43:36 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0169.hostedemail.com [216.40.44.169]) by kanga.kvack.org (Postfix) with ESMTP id 837B56B0003 for ; Thu, 5 Mar 2020 00:43:36 -0500 (EST) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 2B79A180AD801 for ; Thu, 5 Mar 2020 05:43:36 +0000 (UTC) X-FDA: 76560216432.03.dress75_23d98441ef36 X-HE-Tag: dress75_23d98441ef36 X-Filterd-Recvd-Size: 4822 Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by imf24.hostedemail.com (Postfix) with ESMTP for ; Thu, 5 Mar 2020 05:43:35 +0000 (UTC) Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48Y06D6b32z9v0Cs; Thu, 5 Mar 2020 06:43:32 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=UCg+E84G; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id VTVXXCiiDbWA; Thu, 5 Mar 2020 06:43:32 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48Y06D4WRtz9v0Cr; Thu, 5 Mar 2020 06:43:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1583387012; bh=O7lgY+PnhSJPbSOI4sr3mclek/SOkIJfidyuwCRZt5E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=UCg+E84GGdl1tJQVZH1Ovf1X2MFT1jANeg/avNyTa/wgDK/AFcZlsHC6wtBCTreEW IIBoeTbu/OvYV0fGWK+oS5bBaBBh3LdZWCoVTQj2d42uZgyX7h61ciJf6DYFn7C5sq y7FFPsJ/rH3Z+NZSn+w0vMP0V2uU5bzXosVLrKE4= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 5850C8B78D; Thu, 5 Mar 2020 06:43:33 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id y-ltjW1KjHqS; Thu, 5 Mar 2020 06:43:33 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9213B8B756; Thu, 5 Mar 2020 06:43:31 +0100 (CET) Subject: Re: [PATCH V14] mm/debug: Add tests validating architecture page table helpers To: Anshuman Khandual , Qian Cai Cc: Linux Memory Management List , 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 , linux-s390@vger.kernel.org, linux-riscv@lists.infradead.org, the arch/x86 maintainers , linux-arch@vger.kernel.org, LKML , "Aneesh Kumar K.V" References: <11F41980-97CF-411F-8120-41287DC1A382@lca.pw> <57a3bc61-bbd5-e251-9621-7bc28f7901a1@arm.com> From: Christophe Leroy Message-ID: Date: Thu, 5 Mar 2020 06:43:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <57a3bc61-bbd5-e251-9621-7bc28f7901a1@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Le 05/03/2020 =C3=A0 01:54, Anshuman Khandual a =C3=A9crit=C2=A0: >=20 >=20 > On 03/04/2020 04:59 PM, Qian Cai wrote: >> >> >>> On Mar 4, 2020, at 1:49 AM, Christophe Leroy wrote: >>> >>> AFAIU, you are not taking an interrupt here. You are stuck in the pte= _update(), most likely due to nested locks. Try with LOCKDEP ? >> >> Not exactly sure what did you mean here, but the kernel has all lockde= p enabled and did not flag anything here. >=20 > As the patch has been dropped from Linux next (next-20200304) perhaps i= n > order to fold back the __pa_symbol() fix [1], so I am planning to respi= n > the original patch once more as V15 while adding Qian's signed off by f= or > the powerpc part. For now lets enable radix MMU ppc64 along with existi= ng > ppc32. As PPC_RADIX_MMU depends on PPC_BOOK3S_64, the following change > should be good enough ? I don't think so, even if you have the Radix MMU compiled in, hash MMU=20 is used when Radix is not available or disabled. So until the Hash MMU=20 problem is fixed, you cannot enable it by default. Christophe