Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp791890imb; Fri, 1 Mar 2019 14:13:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxSxpPZEeN2XnCln7XfDYRe2OOkCBnjE0sbhuvl8duzXocCdjPYlu2AQ4sW9IsicXx0qNLw X-Received: by 2002:a63:4b0a:: with SMTP id y10mr7149773pga.66.1551478421436; Fri, 01 Mar 2019 14:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551478421; cv=none; d=google.com; s=arc-20160816; b=lcJ3Q1wnFMTni0Loi45W1q8gxsQRCbe/jdU7k3etLs9qYLk1/2/v/TiV0MtHrkiib2 hcUST++VD/PYKxa9TKPQChkIaUbBBnxXSFIeo86kTHlO1GrDVDphIZQvHyZkcFI16PYG Be+rv8atHJbPAd43GXv/fjtrB2VMLCbHg7o1WtK/JFJEB1oBmua3kVXbnRfLV3JrWL77 yZqRVVsdJ3fDCHV7ru+N3toiO0mfn+PFc40uT20uR3V+bUIQ5gDPzfK+YUEDNRS2eu+m f4xF9Pbs5iOuyiHIMcrdcIlZ+pMh3AczmQ03/tmmeOcmzhuhj5fIgFl5vD9EZJgLr2b7 pnyg== 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:dkim-signature; bh=xgavR2DFMNaf/vLZRKzzbgkI0A+HRsMgfHhmYXn8qi4=; b=Hz0jJcwYMFsjqS1QIB5aeE6le8cBFLtBD49jSP7txePlVsl33Si2r3BSm85YRUqfcZ B7vXRjRWW1d+FHQ8kN+jrboh8Lf5Y/5PiXgoue/+VWdSajV53pv0SJi/D3lZdOuzkeo3 ZgX5NK0LQKuO7O/pYu1gxfnFkfs4TPHRGAkIUQPNqZ/8w9ojflXzgG96v6Yl+ysPgH5k IRyvwNgkv2rkEPlv2QetL73IDCzXlr18j5Qahq3iIwDlnP0FbBYzihXm1nZ0Hp4gldQC hROccBYvNSdepzv/omzFp0IZJ9zePbKMR3NuSSgnbAt5ZrZ5Zhys6lahMD3h/avU1Q1Z 9yKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=Z19Eg8Zm; 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 s22si21615459plr.44.2019.03.01.14.13.25; Fri, 01 Mar 2019 14:13:41 -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; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=Z19Eg8Zm; 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 S1727305AbfCAWMT (ORCPT + 99 others); Fri, 1 Mar 2019 17:12:19 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38652 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbfCAWMS (ORCPT ); Fri, 1 Mar 2019 17:12:18 -0500 Received: by mail-pg1-f193.google.com with SMTP id m2so12072254pgl.5 for ; Fri, 01 Mar 2019 14:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xgavR2DFMNaf/vLZRKzzbgkI0A+HRsMgfHhmYXn8qi4=; b=Z19Eg8ZmrghAT9eBXNyLpiI/7ERPMdrWg5DQeGPgeU16srlz6HQsrx0aMgpqjuLQlQ cwbxb5u1F8g9p0jGQhOGqdRT8+YRzUxZtcL2tTYYl+0i4zMOLlAw/Af8ZGXeRAIdZkab gN+a3UjlXLRZHSea7cTKzQFud5aqbi+g0zUUKlvey6DJkNLE6G9ETpnNO7MBSOXeM3wr YKObJWB40lILN3qaxB1hHcrNQIOwHAH3mKe0qJ0CvTkVSAilzXaGHLK40B7wJz8+gdTn 9YYxqtRcctZhiS4IrS+9+grY1WqYPiU8o8Wn+r+AHvg+kFW6HONdnYpr0XSiKODtNPNl SyiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xgavR2DFMNaf/vLZRKzzbgkI0A+HRsMgfHhmYXn8qi4=; b=a8yre4raNYn8h7GBy97gKt0zd9JoHNBE12R0ouMU4lEWXJD7QBtU4pfgzwvg/3cX0u L/rN5ZY0vAWK2aPaKI8N5NV5OwoyoxpN50Fh4FvLCfTxBhxvCc076TNbOaUQ5xm/1iag 4lmgjiu3urtUui9HJOzXuToKy/e7INzFKzrLtyXNE2g+8k81nt3DEM2sE2QTGhdRLBf8 LrdRDLqtb1sZIT1TUIN7nz98QBGE0LFrDye9RZi0ZOvVqkseGSJ5koE7eDVCO3IGvrrd c4EOGW0E2cpK0tDEl/ltxjlvbTMrcJRVkemIP/DCer+Ca8bk46bzr/pyHf1GjQ0dlkjG S4Jg== X-Gm-Message-State: AHQUAuZuJkDu9VjZGUtN5EBWaRk/5FRv3RIhqldyOGCW5qGSGpCUS7+g zBiBUnJKQNJIZ9dA7euhUVB7uA== X-Received: by 2002:a62:ed08:: with SMTP id u8mr7944175pfh.200.1551478337753; Fri, 01 Mar 2019 14:12:17 -0800 (PST) Received: from kshutemo-mobl1.localdomain ([192.55.54.43]) by smtp.gmail.com with ESMTPSA id l5sm29968347pfi.97.2019.03.01.14.12.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 14:12:16 -0800 (PST) Received: by kshutemo-mobl1.localdomain (Postfix, from userid 1000) id 2E4AB3007CA; Sat, 2 Mar 2019 01:12:13 +0300 (+03) Date: Sat, 2 Mar 2019 01:12:13 +0300 From: "Kirill A. Shutemov" To: Helge Deller 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?SsOpcsO0bWU=?= Glisse , 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 Subject: Re: [PATCH v3 15/34] parisc: mm: Add p?d_large() definitions Message-ID: <20190301221213.snm7cwowr67pdifs@kshutemo-mobl1> References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-16-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Kirill A. Shutemov