Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4627303ybi; Tue, 11 Jun 2019 09:40:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqztYqHs+x7pN1v93WD5K3SluhzKDNZesAbg2/wBIzHcuZy1h900iLE8tDQAixxz3uIuX1l7 X-Received: by 2002:a63:5152:: with SMTP id r18mr21029198pgl.324.1560271232577; Tue, 11 Jun 2019 09:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560271232; cv=none; d=google.com; s=arc-20160816; b=diax2b09GYv9SF/SGl+kbhiQhu6zp5bkNv0au9NIRo705/IR/rkeMyRZ6AZz5ENOb4 cdjniJdcUoJs3M6HJXW4Fgv4DJfTjbHW0yA8ta2PLkFLyTJapWa4E+OKtZLuJoZVerkg /bMIsIrKJvQzQvRpDOIsslp6OtF4NfqR5SAyfKrUCC2diEolytx6GHd028bW9OBOq33N M9SJmqcbNGIfPIGC9t0bIewCa6KhID+c8uJ3QvJRB49MZSFF6OtGz+DWPnsooJ2ruf/n CfevPmVa4kiAHMitjbqbJ8SLn+JzMWCjUi5b3VRiwHqzQVlt1L2eufcEPEsaceuucF1P 2ckA== 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=dwa/kDRxm9yYG399dGithN+pZZhBIwPlTDjvi1Cv4NQ=; b=cFo95oiSFBqSHF7XqLizPmTMC8FAM6YCO9dAqzu6uX7ylo+li/RN+RTO7+oOqwirkF 2In5KexErXT9G6Rx4ejRZ6dtDz9f18SnFUnzI+hEPhGaVINAFN1I54WPM1Bhej6QMZ6Z lHw+JdHi0bjcI8D1wxeJENV7rg/mcWn/CDZoZxadcwSpDx3fUzH0eISQIVh4GerLxrz2 hG+YBn2zNf2Txxwyp0A0fDLPmrTWS4u8Xbqvh3bFiAteIwGspAwaxAJe4RAHh+5cR7cU cM3qXJ6IN3DyXCKHhe6uBbSXGehL1tjj9dtwyG3k4RW5UKA0RE9gLrvsDBfahPlZ9wxj aKow== ARC-Authentication-Results: i=1; mx.google.com; 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 q6si627798pfb.243.2019.06.11.09.40.16; Tue, 11 Jun 2019 09:40:32 -0700 (PDT) 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; 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 S2405076AbfFKPgz (ORCPT + 99 others); Tue, 11 Jun 2019 11:36:55 -0400 Received: from foss.arm.com ([217.140.110.172]:36156 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388863AbfFKPgz (ORCPT ); Tue, 11 Jun 2019 11:36:55 -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 9101E337; Tue, 11 Jun 2019 08:36:54 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F2713F246; Tue, 11 Jun 2019 08:36:52 -0700 (PDT) Date: Tue, 11 Jun 2019 16:36:50 +0100 From: Will Deacon To: Steven Price Cc: linux-mm@kvack.org, Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Dave Hansen , Ingo Molnar , James Morse , =?iso-8859-1?B?Suly9G1l?= Glisse , Peter Zijlstra , Thomas Gleixner , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Rutland , "Liang, Kan" , Andrew Morton Subject: Re: [PATCH v8 02/20] arm64: mm: Add p?d_large() definitions Message-ID: <20190611153650.GB4324@fuggles.cambridge.arm.com> References: <20190403141627.11664-1-steven.price@arm.com> <20190403141627.11664-3-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190403141627.11664-3-steven.price@arm.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 03, 2019 at 03:16:09PM +0100, Steven Price wrote: > walk_page_range() is going to be allowed to walk page tables other than > those of user space. For this it needs to know when it has reached a > 'leaf' entry in the page tables. This information will be provided by the > p?d_large() functions/macros. I've have thought p?d_leaf() might match better with your description above, but I'm not going to quibble on naming. For this patch: Acked-by: Will Deacon Will