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.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 3308BC433E0 for ; Sat, 6 Jun 2020 12:50:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CC32F2073E for ; Sat, 6 Jun 2020 12:50:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC32F2073E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2F3F280007; Sat, 6 Jun 2020 08:50:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 27E0B8E0006; Sat, 6 Jun 2020 08:50:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 146ED80007; Sat, 6 Jun 2020 08:50:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0134.hostedemail.com [216.40.44.134]) by kanga.kvack.org (Postfix) with ESMTP id EC2328E0006 for ; Sat, 6 Jun 2020 08:50:28 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 9A710181AC544 for ; Sat, 6 Jun 2020 12:50:28 +0000 (UTC) X-FDA: 76898770536.04.birds13_2905c5826da8 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id 7B9B280073B1 for ; Sat, 6 Jun 2020 12:50:28 +0000 (UTC) X-HE-Tag: birds13_2905c5826da8 X-Filterd-Recvd-Size: 2535 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf09.hostedemail.com (Postfix) with ESMTP for ; Sat, 6 Jun 2020 12:50:27 +0000 (UTC) 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 0B1E631B; Sat, 6 Jun 2020 05:50:27 -0700 (PDT) Received: from gaia (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8927C3F305; Sat, 6 Jun 2020 05:50:24 -0700 (PDT) Date: Sat, 6 Jun 2020 13:50:22 +0100 From: Catalin Marinas To: Andrew Morton Cc: Joerg Roedel , x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , rjw@rjwysocki.net, Arnd Bergmann , Steven Rostedt , Vlastimil Babka , Michal Hocko , Matthew Wilcox , Joerg Roedel , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Will Deacon Subject: Re: [PATCH v3 1/7] mm: Add functions to track page directory modifications Message-ID: <20200606125021.GA12556@gaia> References: <20200515140023.25469-1-joro@8bytes.org> <20200515140023.25469-2-joro@8bytes.org> <20200605100813.GA31371@gaia> <20200605114654.GD31371@gaia> <20200605180116.196116ea218df55f3252af57@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605180116.196116ea218df55f3252af57@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 7B9B280073B1 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 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: On Fri, Jun 05, 2020 at 06:01:16PM -0700, Andrew Morton wrote: > On Fri, 5 Jun 2020 12:46:55 +0100 Catalin Marinas wrote: > > On Fri, Jun 05, 2020 at 11:08:13AM +0100, Catalin Marinas wrote: > > > This patch causes a kernel panic on arm64 (and possibly powerpc, I > > > haven't tried). arm64 still uses the 5level-fixup.h and pud_alloc() > > > checks for the empty p4d with pgd_none() instead of p4d_none(). > > > > Ah, should have checked the list first > > (https://lore.kernel.org/linux-mm/20200604074446.23944-1-joro@8bytes.org/). > > Can you confirm that the merge of Mike's 5level_hack zappage has fixed > the arm64 wontboot? Yes, it has. Mainline is booting again on arm64. Thanks. -- Catalin