From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65883C43381 for ; Fri, 1 Mar 2019 21:49:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FC5D2083E for ; Fri, 1 Mar 2019 21:49:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BlJfiIGk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=shutemov-name.20150623.gappssmtp.com header.i=@shutemov-name.20150623.gappssmtp.com header.b="do9XptRb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FC5D2083E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FS3d0EQO/zIaBv7ZJdN2mlsu7sthnOsazaBmGAucd70=; b=BlJfiIGkSPdR1y HKD1wFc20X0p7ZuL4n/JfAqqQ6QZscLVlBPSxxm2oIyfGcfJn8e5l+Hy8jZRVizLONrpNbcxunLHv 3CKkia3q36ZP8MI2dNwDi1opUEFxFTWSHDtEv7w1DsxuIcl2uAfm3KbiWKko+Ug+sMdzywTyHXIF/ vSQPy1azwCohy4+Xwge8EKx0HjEd/vcDdCT0H+vpz3ymE73tvS/6Dq+mrmeoh5xlKz8Wi18rRZBol DQfyZDm2GNhT4nV/a3EacawhukE/Tkzdt3m95a67j1dBOJOjN3VPY0j0vKlCO4qtpcK1YZYqr+yPF Iy2M2Usfm6K/M8uhfjeQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzq1b-0005uR-Vz; Fri, 01 Mar 2019 21:48:59 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzq1Y-0005tZ-P3 for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2019 21:48:58 +0000 Received: by mail-pl1-x642.google.com with SMTP id g37so9285476plb.5 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=pMnQud8Nx9BOuPHd9MwQY++/1rHX1HTUsfm0m7i95nFvsk9D3lUTJ8jTaWwL8c+bxP ry3DuaHP9E3qPlNE5WuBdlMvPbL+YESxLalFe8rwbgagh+mAfv6eeKEoZdrO45Ve9dO2 ozikknI1aIgd245/rB63Qv0N6WA29gloUs00B1xOWK40HRNverjwZ8QIEY6OQFcP+0sS e8llwbM3gZovksHcKxhvyJWK7NGEYwti2U0BoEMjM8YTZvEHwQiZgO1cE9ha9J5mgbbH LPe26pqeErvudMMamVDhdhQgezoUzrKHCcFZHsOzwxCeW4Bd8KDFGcbFm+mKbe4WEnRg Z4MQ== X-Gm-Message-State: APjAAAWHWm/8I2OvnmJrqsPMgRDZbtGwudLkYvJ8m4QgahL1qfwRjErE mZwX8ppfoZQ6K/nnLaE7rS8hFQ== X-Google-Smtp-Source: APXvYqzPzAwmBTBYphssJHL3LTRyrhCSKJni1K7CY95rVxxRffbrHWIoSLpljCZS1fuiXLzqGmQj6g== 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 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-Disposition: inline In-Reply-To: <20190227170608.27963-6-steven.price@arm.com> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190301_134856_811381_C104EB24 X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Peter Zijlstra , Catalin Marinas , Dave Hansen , Will Deacon , linux-mm@kvack.org, "H. Peter Anvin" , "Liang, Kan" , linux-c6x-dev@linux-c6x.org, x86@kernel.org, Ingo Molnar , Mark Salter , Arnd Bergmann , Aurelien Jacquiot , =?utf-8?B?SsOpcsO0bWU=?= Glisse , Borislav Petkov , Andy Lutomirski , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , linux-kernel@vger.kernel.org, James Morse Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel