Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2924154ybg; Sat, 6 Jun 2020 05:52:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSd+4k+lOj3LZLrC11cmg5inRAcgA4zjMzClYuW176wXdAUFnUxOMRxqqznxo6d2l7To9A X-Received: by 2002:a17:907:1118:: with SMTP id qu24mr12696017ejb.287.1591447970187; Sat, 06 Jun 2020 05:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591447970; cv=none; d=google.com; s=arc-20160816; b=q7bKy1Dh4crRwNUpgGEeXR3KagSex0A3Zg2hmxWYqbBkuu5r8gkvtbATu/bcM8Bi2H W6dfvwBHH4xdDCu+hkmkDGwx+552DIDW9PyNkbvXImyzAfr9TT7rh3prPOmrVE7uF19h jKfpSqRE+7LAEW06kKAs5Bc12Y+1Wq2PpQKzw5lqk24UMFnYpxQttPv2jLqFz7FogNgF Ju6MzHEFK3owfx2sQxjJznDLdHqd2SCe8xiPsdHBndoUrr85U7mxrF0zG89ECtGero5E 0tvrjOjKRyhUAeOEiPE/F51Uu7LBMxGoPuu8FLeUW3xTgZjJ1c3f5IH9OtSl/pk3gLyW mVYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MpOx3X8NZ+S7Xt2OHLjpkW8ynh33LLKMakfvXHztccM=; b=PPuuflpxm5fOdTaUqR+ZqiZIEqjZEeoCmVgUdnU94FdGcV7PgqihteaycNxwBgwChY ksh67CXSSML2Q1zBgMAhn1w340GUT5PkRBjkTmB1kp1vlqCRN0uvMtZBCJJslIkrHqej u6QtyTWTT1IvQ9nIs5f6JsZbar2wf6193GdMY5qAEDv1JLHsgXtaEiLnz/UuxsYLdJui wlqzrM21QpuL6G5uL03yh8/81ROuDhXBTiAla1lQ8LDMNxCkV4f8AedSUvdLFrcmFELb 6tfdFvN2Llhq5749JOtvPy8m5cgaKW1hX9TizZvHhrCzNNB5lkOftaqBUo3QuPVWcqVg XFew== 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 ch8si5890165ejb.345.2020.06.06.05.52.27; Sat, 06 Jun 2020 05:52:50 -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 S1728840AbgFFMu2 (ORCPT + 99 others); Sat, 6 Jun 2020 08:50:28 -0400 Received: from foss.arm.com ([217.140.110.172]:36658 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728102AbgFFMu1 (ORCPT ); Sat, 6 Jun 2020 08:50:27 -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 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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