Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3610426imb; Tue, 5 Mar 2019 14:06:58 -0800 (PST) X-Google-Smtp-Source: APXvYqyBUAu6XWVI938LTiJaWTw3tebhy8BWcIXN/NrdWaYAPISEQnBl9vOWnwoxh3z+oCj0HQ1C X-Received: by 2002:a63:1260:: with SMTP id 32mr3369116pgs.278.1551823618661; Tue, 05 Mar 2019 14:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551823618; cv=none; d=google.com; s=arc-20160816; b=mLlvI/yGzIyfaX8ZSlJ8t4n+dLtZKzh00jLkLDNAz5Fc8kKgUIh7I8Ckd47N7KZoJy AWMakfVvCXPsMj6tY5VKW/292pmRsZG/JNRHbLXHaK+UwyMHTFmf9utwlQvERvhqx+lD YPi42qxxQw8SquOyFrG2XQhRR2nbk4slHKThyLhNd/a41PvFMaHndy+7zplL9HoURipy lUWu3TK/H+RJdQUY42MUPa+yJROCzRUOiyr+uIp24+4r6QcXOq2kaswGp9JdyHizguyi 9abzoH/kLlVy0eY/pNbha8+S5FoEZiNKs6Kbq200vXHTgLxmZ43YY9xODLdj5eLKqKjm abdg== 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:autocrypt:openpgp:from:references:cc:to:subject; bh=opDYyNsAU6Od9Y6mgauFqS0O+9sv1SrOAfuPswGTE8Y=; b=prAcFCq/l/vDbKt3rEoIyzfm5b7QNGlIdZS2ZfjXmZ/qHEPACkV58etFKBqayDCVuF /uYMSazd1Cgcs9R3ZQgL1mpw05bR/CZwmRRbteuM22i+8cFIYoAbwJEpcMXV6jGJNNgw aKtW7l38ZDv3iZMGVZf9MJyDNcPfALetYvAVL0FZjLu/gut9FSQFoFbCz7eySMP518RV 12SgxLwXGj9v9Y2sRl3EknFIay9nWaPS5Au6ESkC3vwVEqNVj+8nvgqX2Og4/ahjk94p pwiRcLd2KTzC+jokmBYuO3Iy2ImUexgDDILxYGKMBxzGikDM7OtCdypWSQcEeH1gj8At CaCg== 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 a65si8407134pge.547.2019.03.05.14.06.43; Tue, 05 Mar 2019 14:06:58 -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 S1727312AbfCEVqm (ORCPT + 99 others); Tue, 5 Mar 2019 16:46:42 -0500 Received: from mout.gmx.net ([212.227.15.19]:40353 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726392AbfCEVql (ORCPT ); Tue, 5 Mar 2019 16:46:41 -0500 Received: from [192.168.20.60] ([92.116.130.110]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MRo6b-1gYr0x3lqj-00StVO; Tue, 05 Mar 2019 22:45:59 +0100 Subject: Re: [PATCH v3 15/34] parisc: mm: Add p?d_large() definitions To: "Kirill A. Shutemov" Cc: Steven Price , linux-mm@kvack.org, Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Dave Hansen , Ingo Molnar , James Morse , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Peter Zijlstra , Thomas Gleixner , Will Deacon , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Rutland , "Liang, Kan" , "James E.J. Bottomley" , linux-parisc@vger.kernel.org References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-16-steven.price@arm.com> <20190301221213.snm7cwowr67pdifs@kshutemo-mobl1> From: Helge Deller Openpgp: preference=signencrypt Autocrypt: addr=deller@gmx.de; keydata= xsBNBFDPIPYBCAC6PdtagIE06GASPWQJtfXiIzvpBaaNbAGgmd3Iv7x+3g039EV7/zJ1do/a y9jNEDn29j0/jyd0A9zMzWEmNO4JRwkMd5Z0h6APvlm2D8XhI94r/8stwroXOQ8yBpBcP0yX +sqRm2UXgoYWL0KEGbL4XwzpDCCapt+kmarND12oFj30M1xhTjuFe0hkhyNHkLe8g6MC0xNg KW3x7B74Rk829TTAtj03KP7oA+dqsp5hPlt/hZO0Lr0kSAxf3kxtaNA7+Z0LLiBqZ1nUerBh OdiCasCF82vQ4/y8rUaKotXqdhGwD76YZry9AQ9p6ccqKaYEzWis078Wsj7p0UtHoYDbABEB AAHNHEhlbGdlIERlbGxlciA8ZGVsbGVyQGdteC5kZT7CwJIEEwECADwCGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAFiEE9M/0wAvkPPtRU6Boh8nBUbUeOGQFAlrHzIICGQEACgkQh8nB UbUeOGT1GAgAt+EeoHB4DbAx+pZoGbBYp6ZY8L6211n8fSi7wiwgM5VppucJ+C+wILoPkqiU +ZHKlcWRbttER2oBUvKOt0+yDfAGcoZwHS0P+iO3HtxR81h3bosOCwek+TofDXl+TH/WSQJa iaitof6iiPZLygzUmmW+aLSSeIAHBunpBetRpFiep1e5zujCglKagsW78Pq0DnzbWugGe26A 288JcK2W939bT1lZc22D9NhXXRHfX2QdDdrCQY7UsI6g/dAm1d2ldeFlGleqPMdaaQMcv5+E vDOur20qjTlenjnR/TFm9tA1zV+K7ePh+JfwKc6BSbELK4EHv8J8WQJjfTphakYLVM7ATQRQ zyD2AQgA2SJJapaLvCKdz83MHiTMbyk8yj2AHsuuXdmB30LzEQXjT3JEqj1mpvcEjXrX1B3h +0nLUHPI2Q4XWRazrzsseNMGYqfVIhLsK6zT3URPkEAp7R1JxoSiLoh4qOBdJH6AJHex4CWu UaSXX5HLqxKl1sq1tO8rq2+hFxY63zbWINvgT0FUEME27Uik9A5t8l9/dmF0CdxKdmrOvGMw T770cTt76xUryzM3fAyjtOEVEglkFtVQNM/BN/dnq4jDE5fikLLs8eaJwsWG9k9wQUMtmLpL gRXeFPRRK+IT48xuG8rK0g2NOD8aW5ThTkF4apznZe74M7OWr/VbuZbYW443QQARAQABwsBf BBgBAgAJBQJQzyD2AhsMAAoJEIfJwVG1HjhkNTgH/idWz2WjLE8DvTi7LvfybzvnXyx6rWUs 91tXUdCzLuOtjqWVsqBtSaZynfhAjlbqRlrFZQ8i8jRyJY1IwqgvHP6PO9s+rIxKlfFQtqhl kR1KUdhNGtiI90sTpi4aeXVsOyG3572KV3dKeFe47ALU6xE5ZL5U2LGhgQkbjr44I3EhPWc/ lJ/MgLOPkfIUgjRXt0ZcZEN6pAMPU95+u1N52hmqAOQZvyoyUOJFH1siBMAFRbhgWyv+YE2Y ZkAyVDL2WxAedQgD/YCCJ+16yXlGYGNAKlvp07SimS6vBEIXk/3h5Vq4Hwgg0Z8+FRGtYZyD KrhlU0uMP9QTB5WAUvxvGy8= Message-ID: <6d2bc08b-d336-1b1a-2408-6259dafff995@gmx.de> Date: Tue, 5 Mar 2019 22:45:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190301221213.snm7cwowr67pdifs@kshutemo-mobl1> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:LdLxPVii8ZtTFSzQTHGX/xHJKUnsknfi5/X+gB/PzHjktFyjw4X qKKtlrR+3kluRrRkObR/s+jd+5A00AT3VdqIHUj3NAuH7L23fRp4hj2q4b6uXoYSv7gCg37 9+bm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gZOyEPHlcwRYkxPtr9kCIDz0I8l+ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01.03.19 23:12, Kirill A. Shutemov wrote: > On Wed, Feb 27, 2019 at 07:54:22PM +0100, Helge Deller wrote: >> On 27.02.19 18:05, 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 is provided by the >>> p?d_large() functions/macros. >>> >>> For parisc, we don't support large pages, so add stubs returning 0. >> >> We do support huge pages on parisc, but not yet on those levels. > > Just curious, what level do parisc supports huge pages on? > AFAICS, it can have 2- or 3- level paging and the patch defines helpers > for two level: pgd and pmd. Hm? You are correct. My comment was misleading and meant to say that we do support generic huge pages for applications. Helge