Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5294827ybf; Wed, 4 Mar 2020 21:44:05 -0800 (PST) X-Google-Smtp-Source: ADFU+vtqk7hiqP1QCWtZbtJhw4GOI9YhG4BSrgZ8mwJP9gvptb4wH9XDplmCMgCg9Htz8ZCStCCw X-Received: by 2002:aca:ad54:: with SMTP id w81mr4564276oie.172.1583387044926; Wed, 04 Mar 2020 21:44:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583387044; cv=none; d=google.com; s=arc-20160816; b=VdPbngb/Bv0mcHnG9O5PTyisf80hOFRcHNNO6X20p3sC7SqQuSPcvqqCpcEssc79Y5 8Xk1Tzt9ys1RzViyAFqQixIptl8QCApnJM33fwVfsaKfjBqYwzOsCl9MByrQpqjyaiNN 5Q7LKE8sZ113pbVWfUEQQHGqn0PGn6DUq6e2ojjqhsvs8IsF+j0t0d/bBAc9NsNgpHRz aYdNh72KQ0A/3/BOTXkMgP6XLx4bqeK1aH2ai8qlDQlnAaAHtMn7YrvcPUR9i+d7+AkT K6fOMfNyOCMOn/Mpf1mxc0yga5cMALzpfMdGyvRei3j/2IepABncbAz90QqeUSj7Qmqg ks9g== 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:dkim-signature; bh=O7lgY+PnhSJPbSOI4sr3mclek/SOkIJfidyuwCRZt5E=; b=lPKlD7Z1LeH94UYA0zSryn/NsBfwzJc/PXJQ2LtDj+4WR4fn180axqEl+G8AD0Ln/E G6wAVKOCbYq89SMLFuONe6WCZg82dlcOzF2fTtQCkZxwMS+s6RfQbugk4orpa7IeFgBF XnYUkzuS/7Ka+7vkVupuJIJMKQzPrXygsymIpivwRgOcAqlKnpUkeVDxkC80YpmvEBHP BPk/81wTQ9Az/B3Y/rW4kdsMftalFlUsO+I0xYJWPyNh4WcQBxgnwRKs3sO2sdvyQR5x MTEnXr2YjoQ9kiRQy53zNs0fAdt8D0V6ZY0k6QVSwhygqgNWxOBKvJQ0D0axrrqt80oT Ze8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=UCg+E84G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si2590756otn.150.2020.03.04.21.43.53; Wed, 04 Mar 2020 21:44:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=UCg+E84G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725963AbgCEFng (ORCPT + 99 others); Thu, 5 Mar 2020 00:43:36 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:10515 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725839AbgCEFnf (ORCPT ); Thu, 5 Mar 2020 00:43:35 -0500 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: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 05/03/2020 à 01:54, Anshuman Khandual a écrit : > > > 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 lockdep enabled and did not flag anything here. > > As the patch has been dropped from Linux next (next-20200304) perhaps in > order to fold back the __pa_symbol() fix [1], so I am planning to respin > the original patch once more as V15 while adding Qian's signed off by for > the powerpc part. For now lets enable radix MMU ppc64 along with existing > 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 is used when Radix is not available or disabled. So until the Hash MMU problem is fixed, you cannot enable it by default. Christophe