Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp779097imb; Fri, 1 Mar 2019 13:49:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwbDixs4xKfhq4ECeOFSYe8zGiUzSrs4LiHMloHd+MmrnmXzAtD+1117vmBHeAzRkRjAOaJ X-Received: by 2002:a63:354a:: with SMTP id c71mr7079616pga.150.1551476979039; Fri, 01 Mar 2019 13:49:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551476979; cv=none; d=google.com; s=arc-20160816; b=o1jQHKlViwYFJ/C9FasrIATPXLOYo1U+BHTjyeZi1uYfh08V9MfSAGta1v/IRlniY1 P675zaazsO7rBYLD/P1pYDRb7R3otWRtpTEgwClx9dxwWXURs7diiXHzxovoPLKsTWl8 vQJdGNDyC5sSXCcDvvTeGo6DphXhEXRF97EaXSO2ObmgO9LOK1xxqY7SItgXoCqzZpgu gUagd8kz1TrucXf8thoWdUM+GsjWvWaVp8+kCVcj4xt7nKpyiBfm+DZmks5wjvWlYd8t GpsCYaa1s22Pz6l+TLdccee+z3WakCB9z4OL/ohd9DGKU1aI4EAmRv01q9RAEILWYpgg 6k4A== 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=vMUpOerzimh7H/ZPQ+1fel3zw8mp4Atm+/r0u+Z/foA=; b=g0sN33MH91UYqVM3IhQYuD4pOmPeVnq5b6vUHPCmCo9J+s/NoPyJTYtQ2HM0/S1PW+ +lp+/ZzJgdFYfGsa7+j1PSLh6wcJxPvXoatRdhh3tIDW0jJ3PCcFT/7XHgcnwArJUaxr WHjiSKITdLihnnuxqmuBbUGJCAKFPXKN9R34lLQ+FcpctpU03+EKfhkJ+thK8DQQW0B2 rJ78mSQOicuoF3Fg30+r+jBzuCjnBj8uki9oFG8KW+pzM1ZHgA8KAVjcfyHtjaZr+a3Z NCtukDMTfXmDHlFvjJDX5Qu3A4rp46cXSI9SDOKbjRcePAGf7AbDqxGcRC71dh9elSqL IqJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=do9XptRb; 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 20si22099810pfs.165.2019.03.01.13.49.23; Fri, 01 Mar 2019 13:49:39 -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=do9XptRb; 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 S1726440AbfCAVs5 (ORCPT + 99 others); Fri, 1 Mar 2019 16:48:57 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:35931 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbfCAVs4 (ORCPT ); Fri, 1 Mar 2019 16:48:56 -0500 Received: by mail-pl1-f193.google.com with SMTP id k2so12089735plt.3 for ; Fri, 01 Mar 2019 13:48:56 -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=vMUpOerzimh7H/ZPQ+1fel3zw8mp4Atm+/r0u+Z/foA=; b=do9XptRbUwmwOJ3TNHNpY7KbSRtzGbGiAA33/7Hv1NxUsNU78SH63CuZevLDRyJ/L8 knvcsZg82jPJQe8lRj8nhiuBnN3x//VBi/vZqNhmINjvFG434tEWr3skViQU3GOMnXOE icjaf/5gZwATMlgbtZt42vLGlXZ7XwyOWGzO2EMcmVkvSkbK8C0fFf+BQC6NHlpfyHnV M8uXTnLkroLn0Tg4TvhqHc3lXzfbVckhBiLRjNCnTBOCYqr803EfjmoxG/telV7wwSzz 8+lnnSz3pyJB2cuyYR1oHmgV/URTcruOp8IrEWqtU5CpoBeyNR+WW3ylkA9wPl7Xk7mo lYog== 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=vMUpOerzimh7H/ZPQ+1fel3zw8mp4Atm+/r0u+Z/foA=; b=LZ+ldOkhZag4feSSmnns/X1UnuyP7YWjHEWV7Z2vIDN1zbaqOyw6KBPGkLqeVoCrcg ZjVyzYN1RzB3zsNV0qqZgDPC0LmDEGOINUPPJVVrox/gAaLNrS/oE9hz344PofA57xLN ZUK+QI4A44Gtd6ldylp/8tM3PqiCe+KXu/Ssov5pP0+dofbw0R+QTFHOl/AvOHaP/do4 sR6fnrJmDF7Es2ximC2tQHXXG2HdH54zNu5AfWKCCCZanThjl/Pbv9fb1INzTaYtrcL9 LNc2Gu7IbEcm+VP0r/pcAwEWM7jY6fi0akIxHx+6W6FF3/kgQaLSukwJiwahJ6frCgqy ngUg== X-Gm-Message-State: APjAAAV4nKdn/kYT7zYb1XYSnJQBU2qmT41zUe5dsHE4KTA5CgZ89phO 5m1FZNagpJ1c3nNJaoHxrJju5A== X-Received: by 2002:a17:902:7e46:: with SMTP id a6mr7768122pln.150.1551476936266; Fri, 01 Mar 2019 13:48:56 -0800 (PST) Received: from kshutemo-mobl1.localdomain ([192.55.54.43]) by smtp.gmail.com with ESMTPSA id l72sm28226444pge.39.2019.03.01.13.48.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 13:48:55 -0800 (PST) Received: by kshutemo-mobl1.localdomain (Postfix, from userid 1000) id F3EE43007CA; Sat, 2 Mar 2019 00:48:51 +0300 (+03) Date: Sat, 2 Mar 2019 00:48:51 +0300 From: "Kirill A. Shutemov" To: Steven Price Cc: 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" , Mark Salter , Aurelien Jacquiot , linux-c6x-dev@linux-c6x.org Subject: Re: [PATCH v3 05/34] c6x: mm: Add p?d_large() definitions Message-ID: <20190301214851.ucems2icwt64iabx@kshutemo-mobl1> References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-6-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190227170608.27963-6-steven.price@arm.com> 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 05:05:39PM +0000, 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 c6x there's no MMU so there's never a large page, so just add stubs. Other option would be to provide the stubs via generic headers form !MMU. -- Kirill A. Shutemov