Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2098741img; Wed, 27 Feb 2019 10:20:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IbnVo/22KfYSLMknorfGpADxrmc3ffynf6yQNxzfIflRLi5/Lzu6jYs7VREYvTH9qo4Vwie X-Received: by 2002:aa7:9255:: with SMTP id 21mr3062623pfp.8.1551291635453; Wed, 27 Feb 2019 10:20:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551291635; cv=none; d=google.com; s=arc-20160816; b=dqVgublAvUpO63cZo6wVjTFqNpJfgTABjJeClaGcJX+87p5zu3DNpxVQ8CzglEeguT XWHObFnW/tdTktW1ZueGPMDoaRvk1wtxvn+LG10ZoQaeQkpOGTtdU6q2z6L3vXGr8ibl 7Jqh607ZkVmBMf2z9C8mY12FgRXO2p+FDKUNj30Thet9Cbn/TbV73PKKgEIvojqcBtxc 0TGyv4dtVIhc5+sQYaitwgk3aBDtjV0erTNJn6O898Csl97UdlCpAS7dN7wat+/ynKkj ftSvT4AkNDRM2EyX37qLSOs8OrDJ03Y9/SaK9+HRNmitYhLCYee8vFZya2U1ZRKecq8m uq3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=3Izw665ZZgQEjbSE8CmRnZ9pKkiBA01cgGaMPRuksQg=; b=rOqszXPxSZD/g0VFybAiKU1tyTJVxwJfoYor3Oc1Cou3qccXr+iI56yFVD88xD+7JJ /EFLLLNzCtOCkj5NkC71ZNKmRUg9aCiZ6ejFm7GhQh0hOoAL5kFSm4VVL5Jng9297rkw 5qls0Bbnw1Q+H61QDS7dagc/gWRQ+dlOEzYhRODurqnhqL4zeTaLkqQ6kh1f3aMAGtuN LD5+Jy4//De2Rn/etx1U7e4u3XXkdneyAch5IGkDLQ84UlU3Wc1nT3eUekv6xSkTOREG lYx/o5ru6GqBCsGLMbihNpYMt0qETCMHSa90IFuNbV5huWl7qDQEtlUY4NVmzY17Djym RR3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=k5of6qjc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si15377927plt.342.2019.02.27.10.20.21; Wed, 27 Feb 2019 10:20:35 -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=@synopsys.com header.s=mail header.b=k5of6qjc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730149AbfB0SS3 (ORCPT + 99 others); Wed, 27 Feb 2019 13:18:29 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:46802 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730114AbfB0SS3 (ORCPT ); Wed, 27 Feb 2019 13:18:29 -0500 Received: from mailhost.synopsys.com (dc8-mailhost1.synopsys.com [10.13.135.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 6D16C24E0DA5; Wed, 27 Feb 2019 10:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1551291508; bh=3Izw665ZZgQEjbSE8CmRnZ9pKkiBA01cgGaMPRuksQg=; h=From:To:CC:Subject:Date:References:From; b=k5of6qjcnGOCE4OtuX4syNNcfm+iwtEFk9QAcd4ySNtJfthcWh+Wg3RlWca/WsOVP k8xz8fO/Cn1BTWUZ2Y2ASE7uzAVVal9+kgVtXEAlDPDMt5QGPlSnTXIR/xwWrCd0ki yH01k1BOznXaY9OjjzjQRn08rSX/zVgw4teD4hvhPGtKB14TtyzovQRYsVyqCiPtmK qsPJQbl5Wa3VJPR54SAiYzTk24F+ZPq+rYneCxVtXioAhpr5mHmVT5dbQXIDGYPk5B yZQ2hBH8zd3O73ODMl9wSVGh1X6et1XThvERgZXkw0RnT37ftIXJohr4GhSVZci0aA uODcwlEL/C2NA== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id BA747A005D; Wed, 27 Feb 2019 18:18:24 +0000 (UTC) Received: from US01WEMBX2.internal.synopsys.com ([fe80::e4b6:5520:9c0d:250b]) by US01WXQAHTC1.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Wed, 27 Feb 2019 10:18:04 -0800 From: Vineet Gupta To: Steven Price , "linux-mm@kvack.org" CC: Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Dave Hansen , Ingo Molnar , James Morse , =?iso-8859-1?Q?J=E9r=F4me_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" , Vineet Gupta , "linux-snps-arc@lists.infradead.org" Subject: Re: [PATCH v3 02/34] arc: mm: Add p?d_large() definitions Thread-Topic: [PATCH v3 02/34] arc: mm: Add p?d_large() definitions Thread-Index: AQHUzr7PbHQ5S+UVlUyl9IbMWKnRrQ== Date: Wed, 27 Feb 2019 18:18:03 +0000 Message-ID: References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-3-steven.price@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.144.199.106] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/27/19 9:06 AM, Steven Price wrote:=0A= > walk_page_range() is going to be allowed to walk page tables other than= =0A= > those of user space. For this it needs to know when it has reached a=0A= > 'leaf' entry in the page tables. This information will be provided by the= =0A= > p?d_large() functions/macros.=0A= >=0A= > For arc, we only have two levels, so only pmd_large() is needed.=0A= >=0A= > CC: Vineet Gupta =0A= > CC: linux-snps-arc@lists.infradead.org=0A= > Signed-off-by: Steven Price =0A= =0A= Acked-by: vineet Gupta =0A= =0A= Thx,=0A= -Vineet=0A= =0A=