Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp562865img; Thu, 28 Feb 2019 04:21:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IYXI6bao/y5Zn0MhSSobVd1b0+9Hb9yVt51GfynGWlI0xGbFp02cC2u4BNpXTevGvGR2loU X-Received: by 2002:a63:d70a:: with SMTP id d10mr8153485pgg.286.1551356470095; Thu, 28 Feb 2019 04:21:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551356470; cv=none; d=google.com; s=arc-20160816; b=sef8d6op/7PxVjNwRazZWc+vJt6RzHD99FHl5Rmg1XDZxQ9jLk9fNqutdeE/tRvYZW LoiZcj5ICa80M3ynYvcShusa9lt7C8Jt59L4dB0PF1EB8+UkQuFIwFTdRrXkNTz3RJoh Nd+qqi8QkCKXVOqL6f3L1ErUQUUbfVIGFAeRSsEDi+cG5vKJ4Kv3SnNokNbAuZlAS9Gq pTjDYY8OtEhr6ffV0Vbk3vt1ux3Hj4F9BQV2ziOjd08Pn0GSsZtUT4tokv9MbALynpAz eCUSIzIa1TeIw4wOGM7QgcYsgRcapEfYsDRLHWHg0EpMGa/tuckiiHGu+W57ChEV6qYz +ygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/7lAwAPC/2ojTVRoN3IUwsBKVXVVGeMNQ0XFCyKR9VE=; b=HLxF9jv8tVh2MWCztp2j8jorL+lyRRr0OQFxPQKLK4szbYmmtS9SqKCjSegLskXCFo 1ppt5sTVOPjoINkvBYBXM3aKRalP102vACGOYETx22GcAlfYRYN65ifnvtbTCyKWPbB2 DmfuyG47zqAZoMpFREiiHtBB0MUmnIYtSVbUpVx3xYAwANNNVhAxILorEgP6i5f77cSp KF73iJUhIIObDpQ2Gh7hhbose1R/5RNXRG5PM9l+LZej0tJm12B8ujFUhmEnnmN2I+LL 8bKzEVNv0+PwlwWcrZ1/1nLT5cwF7und5d2RgHjKa6SjFqzA6CY1fAl7TikRGp9MSpSs bPsw== 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 102si17394291plb.176.2019.02.28.04.20.55; Thu, 28 Feb 2019 04:21:10 -0800 (PST) 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 S1730975AbfB1Ltl (ORCPT + 99 others); Thu, 28 Feb 2019 06:49:41 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46290 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbfB1Ltl (ORCPT ); Thu, 28 Feb 2019 06:49:41 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B29A880D; Thu, 28 Feb 2019 03:49:40 -0800 (PST) Received: from [10.1.196.69] (e112269-lin.cambridge.arm.com [10.1.196.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6EDAB3F738; Thu, 28 Feb 2019 03:49:37 -0800 (PST) Subject: Re: [PATCH v3 20/34] sparc: mm: Add p?d_large() definitions To: David Miller 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, will.deacon@arm.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, linux-arm-kernel@lists.infradead.org, kan.liang@linux.intel.com References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-21-steven.price@arm.com> <20190227.103837.668255833945043179.davem@davemloft.net> From: Steven Price Message-ID: Date: Thu, 28 Feb 2019 11:49:35 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190227.103837.668255833945043179.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/02/2019 18:38, David Miller wrote: > From: Steven Price > Date: Wed, 27 Feb 2019 17:05:54 +0000 > >> 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_large() functions/macros. >> >> For sparc, we don't support large pages, so add stubs returning 0. >> >> CC: "David S. Miller" >> CC: sparclinux@vger.kernel.org >> Signed-off-by: Steven Price > > Sparc does support large pages on 64-bit, just not at this level. It > would be nice if the commit message was made more accurate. Yes you are right, I fear I only looked at the 32 bit changes when I wrote the commit message. I'll clarify the difference between 32/64 bit. > Other than that: > > Acked-by: David S. Miller Thanks, Steve