Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2063700ybg; Fri, 5 Jun 2020 04:49:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfc1988JemmNeIcBiNEM8b6tLEQQU+KUcx2lusOKYWoylDup3Ngw9CZoQN2jOGUr1cySJf X-Received: by 2002:a05:6402:b79:: with SMTP id cb25mr9036979edb.334.1591357766133; Fri, 05 Jun 2020 04:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591357766; cv=none; d=google.com; s=arc-20160816; b=Rp9fXfI6NODgHoLaKn2Zk/Hd0EsFoPPXvB/G78+AItV7FTXH1WOlYy73q/t78xzR9B kj8G3wSXW0xv99zavoI6MojgVIw4y4LgvDY8/oTjT4jilO3oKeXA4OO5vV23U78Q5d+q 1xJ11AsR0IRvwcptm7UFSIf3uDIWPA7AEZtn/FWF1EOMnzHWSGibjHTkwywIqRgM7u8R 3Iwb7bhxPTeIlF32q41Fni+9A9LgbcWm5nhB+7NucYbUG2tYwCludD9/8HsguAkFGYSP X4A/I6/CEoH193QEoVedula2hOhMp8wAzso1iZaMBoGpN+DodkshwAIl3VGcfPz3KGFh IQ7Q== 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=Opw45RANJcxaTZI/zQHP+EqYoWbw64lAYB91fc3z82o=; b=QS/pXs0mX2qybSEK27e0LxdRn+uPpU4p4mrdCWHVrXp/0Ke7t2AtvrsI08ZPTfyBM4 lFiaUxEDHOueLOBNFAho0C9DXRXva/wbRPKIrGivKns9KSR0fpG2MIMQuuUasUlw38jX lt4KdMfthi4xYlqxuL5Sub4Xf9Wz2rn0K6OG4GAPS6OnqF4b4s3FftZ46oBecSM1GniD P/uqtSoZMPG01jVykR5rtI9KTJ5/HD9J8pZ5MY36g0J7rXPAEYLhnHLNoJVCJC8+De1Y TQ0Ku/QmIfgHKMvl3Qh73NaU26VqRZYz3RTKCjVziLGZD69fO3QpqpWY8VwJKdMXbhOh rR5Q== 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 sa22si3749284ejb.157.2020.06.05.04.49.03; Fri, 05 Jun 2020 04:49:26 -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 S1726512AbgFELrA (ORCPT + 99 others); Fri, 5 Jun 2020 07:47:00 -0400 Received: from foss.arm.com ([217.140.110.172]:54068 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbgFELrA (ORCPT ); Fri, 5 Jun 2020 07:47:00 -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 C2D672B; Fri, 5 Jun 2020 04:46:59 -0700 (PDT) Received: from gaia (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4FB4D3F305; Fri, 5 Jun 2020 04:46:57 -0700 (PDT) Date: Fri, 5 Jun 2020 12:46:55 +0100 From: Catalin Marinas To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , rjw@rjwysocki.net, Arnd Bergmann , Andrew Morton , 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: <20200605114654.GD31371@gaia> References: <20200515140023.25469-1-joro@8bytes.org> <20200515140023.25469-2-joro@8bytes.org> <20200605100813.GA31371@gaia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605100813.GA31371@gaia> 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 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/). Please ignore my patch then. -- Catalin