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=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6607ECA9EAF for ; Thu, 24 Oct 2019 16:46:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 383F620679 for ; Thu, 24 Oct 2019 16:46:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439927AbfJXQq2 (ORCPT ); Thu, 24 Oct 2019 12:46:28 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:49000 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439916AbfJXQq1 (ORCPT ); Thu, 24 Oct 2019 12:46:27 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 31E891477CBB0; Thu, 24 Oct 2019 09:46:26 -0700 (PDT) Date: Thu, 24 Oct 2019 09:46:23 -0700 (PDT) Message-Id: <20191024.094623.2182520936177775102.davem@davemloft.net> To: steven.price@arm.com Cc: linux-mm@kvack.org, luto@kernel.org, ard.biesheuvel@linaro.org, arnd@arndb.de, bp@alien8.de, catalin.marinas@arm.com, dave.hansen@linux.intel.com, mingo@redhat.com, james.morse@arm.com, jglisse@redhat.com, peterz@infradead.org, tglx@linutronix.de, will@kernel.org, x86@kernel.org, hpa@zytor.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark.Rutland@arm.com, kan.liang@linux.intel.com, akpm@linux-foundation.org, sparclinux@vger.kernel.org Subject: Re: [PATCH v13 09/22] sparc: mm: Add p?d_leaf() definitions From: David Miller In-Reply-To: <20191024093716.49420-10-steven.price@arm.com> References: <20191024093716.49420-1-steven.price@arm.com> <20191024093716.49420-10-steven.price@arm.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 24 Oct 2019 09:46:26 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steven Price Date: Thu, 24 Oct 2019 10:37:03 +0100 > 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 is provided by the > p?d_leaf() functions/macros. > > For sparc 64 bit, pmd_large() and pud_large() are already provided, so > add macros to provide the p?d_leaf names required by the generic code. > > CC: "David S. Miller" > CC: sparclinux@vger.kernel.org > Signed-off-by: Steven Price Acked-by: David S. Miller From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Thu, 24 Oct 2019 16:46:23 +0000 Subject: Re: [PATCH v13 09/22] sparc: mm: Add p?d_leaf() definitions Message-Id: <20191024.094623.2182520936177775102.davem@davemloft.net> List-Id: References: <20191024093716.49420-1-steven.price@arm.com> <20191024093716.49420-10-steven.price@arm.com> In-Reply-To: <20191024093716.49420-10-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: steven.price@arm.com Cc: Mark.Rutland@arm.com, x86@kernel.org, arnd@arndb.de, ard.biesheuvel@linaro.org, peterz@infradead.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, jglisse@redhat.com, mingo@redhat.com, bp@alien8.de, luto@kernel.org, hpa@zytor.com, sparclinux@vger.kernel.org, james.morse@arm.com, tglx@linutronix.de, will@kernel.org, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, kan.liang@linux.intel.com From: Steven Price Date: Thu, 24 Oct 2019 10:37:03 +0100 > 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 is provided by the > p?d_leaf() functions/macros. > > For sparc 64 bit, pmd_large() and pud_large() are already provided, so > add macros to provide the p?d_leaf names required by the generic code. > > CC: "David S. Miller" > CC: sparclinux@vger.kernel.org > Signed-off-by: Steven Price Acked-by: David S. Miller 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6D3A0CA9EAF for ; Thu, 24 Oct 2019 16:46:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C1BA21906 for ; Thu, 24 Oct 2019 16:46:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dinSitGb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C1BA21906 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=davemloft.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: From:Subject:To:Message-Id:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0LZfmok+wNVpoWnRPnqlZsOic73RKvFdsDXiuU9+6z8=; b=dinSitGb980Mzu KULYqZBWpQHYKGMr/2qBo39xfZrbVp05iuw7BqxEzfqz2kCIRheC08nTESkLYVOHJ92zpKqYdBFnu nMh9oDsnj54BlOMC5clw2LANBRaEDQMYJYxK/qYA3trdJqnGUqtfSPiL3q4SZL/vqaXLrA3yus6Pz yIX6pp0SrWHB63gfUrbPd8McQ3xx0Qcj9q0/Sx/cJfcwTLUCKwjmhan3FndHe09OXRPVG/FNGcD36 a+F3C2+eFMT/LmO/lz7NiciXu0OhM4LRgTOSvcNTwyKVnSDYLNi/3s9IckW45xTyHM5fwVGN1ARRq 2f2Zyplt6aBIPiISaWPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNgFt-0003he-M5; Thu, 24 Oct 2019 16:46:33 +0000 Received: from shards.monkeyblade.net ([2620:137:e000::1:9]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNgFq-0003gl-Dw for linux-arm-kernel@lists.infradead.org; Thu, 24 Oct 2019 16:46:31 +0000 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 31E891477CBB0; Thu, 24 Oct 2019 09:46:26 -0700 (PDT) Date: Thu, 24 Oct 2019 09:46:23 -0700 (PDT) Message-Id: <20191024.094623.2182520936177775102.davem@davemloft.net> To: steven.price@arm.com Subject: Re: [PATCH v13 09/22] sparc: mm: Add p?d_leaf() definitions From: David Miller In-Reply-To: <20191024093716.49420-10-steven.price@arm.com> References: <20191024093716.49420-1-steven.price@arm.com> <20191024093716.49420-10-steven.price@arm.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 24 Oct 2019 09:46:26 -0700 (PDT) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191024_094630_471376_CDCC2A17 X-CRM114-Status: UNSURE ( 6.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark.Rutland@arm.com, x86@kernel.org, arnd@arndb.de, ard.biesheuvel@linaro.org, peterz@infradead.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, jglisse@redhat.com, mingo@redhat.com, bp@alien8.de, luto@kernel.org, hpa@zytor.com, sparclinux@vger.kernel.org, james.morse@arm.com, tglx@linutronix.de, will@kernel.org, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, kan.liang@linux.intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Steven Price Date: Thu, 24 Oct 2019 10:37:03 +0100 > 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 is provided by the > p?d_leaf() functions/macros. > > For sparc 64 bit, pmd_large() and pud_large() are already provided, so > add macros to provide the p?d_leaf names required by the generic code. > > CC: "David S. Miller" > CC: sparclinux@vger.kernel.org > Signed-off-by: Steven Price Acked-by: David S. Miller _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel