Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2046092img; Wed, 27 Feb 2019 09:31:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IbLGvTA2oBcXDwly6vRFrXPLjlqIL8TggNIKXMimgA1s83KAo6yDNgJBAyUZWc5bh5G6UgG X-Received: by 2002:a17:902:b591:: with SMTP id a17mr3362802pls.228.1551288711969; Wed, 27 Feb 2019 09:31:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551288711; cv=none; d=google.com; s=arc-20160816; b=e3ioTq8QC0m2sABVGwNJajJQqcw454/uOSf+nhNyL9Aw0Zj51izZKhI3soXEcopmzM 2oO4epL6T4jnGp5JVxuTePqwFsl/BX1Uhzv7Q7rZchUHrmuzqAvJ7gACmiPJ1wFKDSsF CGe4XBeLNrXko0289FwMGiSSq4b80YBGGHQEqvyZVrxUWPQSR51r6hGoRfjma/DUdlCv ihV9RDbDS4lQOX4SltdGg4E5UWWPL/B6nz71QKEOjpA2B8eqtikDKm+pGHzpyitms4yz tadKLnkdHpf7q2segw6xacnQE1Ymauf7vWHtp8k1zWvycLavDJjot3xfDyc5JWvTc9w+ wiNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dSSmuG4mKdZqfAxPKCJsdtWMhnsZAqHY97PjvphoIqI=; b=dVTiCxUAVCST/7fnRbbU0tdP0cm/Kpx2wJYKeSOwPYS6yTftCyY1NRC+iG6XrSbwkj DodcSuDj/qDSbJoVXeFpGyzmCHaGMOAk7k176YPhsTv041ejjnIwW5xv+42p2dzJr9L1 3IKanFuCHtMRbnS6o2NeAHXqQ+hUrlz99VmBZJKcwimJJuVH6/TkAOe9cFH9lOdA1gPz GDuaeVqGq3lr0pqI0glFTFT0Fe0cjwLh3RWiOUdmaecekBZUt4+tgLpve/V1SYIl3F82 mDf+H2blu6SJ8y27zNGvheHRjI90eRgGuJxpw+h8EGnYH5SNRYQJLAWVltqYYCG6Dfe7 63/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ph1yj7zW; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si4421434pgb.585.2019.02.27.09.31.38; Wed, 27 Feb 2019 09:31:51 -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=@gmail.com header.s=20161025 header.b=ph1yj7zW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730033AbfB0RaA (ORCPT + 99 others); Wed, 27 Feb 2019 12:30:00 -0500 Received: from mail-yw1-f68.google.com ([209.85.161.68]:46814 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfB0R35 (ORCPT ); Wed, 27 Feb 2019 12:29:57 -0500 Received: by mail-yw1-f68.google.com with SMTP id n12so8718328ywn.13 for ; Wed, 27 Feb 2019 09:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dSSmuG4mKdZqfAxPKCJsdtWMhnsZAqHY97PjvphoIqI=; b=ph1yj7zWvRmQCYCm4VsH/94vAD9eny0ts8vH/3dkLnUO2LcPhYR3R9a1mDOEu5MlH7 6GCEDYQDvs9N4oaU49m5RXkJksem6SdA6MZA9zRr1YyYs5wgnW2bS9TCoqpVjQ9CanbJ c/ns0vyML3r89aD+pRHb5rFY4DSU/ZIr6TiZ5N2nEyC5hg1A0Y3hW5+G2PxlHM/hh5yp mEze0/MOPGnG8xjfyZW73ZWDN3WTwb3HmpfRg5jE8G75K5GhvH9IfQ6OCu+WsuaKInP3 V2Rdbs0NpfPrkiTZ22zln0qu+dPzqNo2P2qZRLw6Y12uiYgcEBZ6RXokCqHjgmL6aQKM B+mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dSSmuG4mKdZqfAxPKCJsdtWMhnsZAqHY97PjvphoIqI=; b=Qy44tcjoqbALb+Fjaa1W+DiVBk3J/28VKtnK+MqCYuXdhA+dgZEqzZzKGT1Eq70H6I ddW7Lt0vwuIlkKORXqz5L/9FLnWAAd4MzsKHf5dQ8QTwLwS6ThlGF+mYS7/eku1cPgC5 tbA6CYSTI9yU3U9gYLdlaZbwiqF7z1+AScLhiiOJ3EKJ7OVYx053+r7Rtnv5/6Xtf0D/ Drnfj4ubQnOfychGIhF7WlE4cE86T0+I78AeMoGpAJTY8bOWD+d7MjeMOwdATrCPrPlV 7sh5bzZGprXq+/00CcJzVTTjGBKjIC9egcoI/ugCWM5HQA4DWHFGLaHCnccJBtGkid9h JHgQ== X-Gm-Message-State: AHQUAubeX4Q0Mxx2L7leC/AUGhFhp95uWwf5aJOqLSArImLljsE4Ba/+ Ahz8paMqSB6TU9SJ+5EW64ALCOHNGZ3LpZfjtGE= X-Received: by 2002:a25:8703:: with SMTP id a3mr3045476ybl.445.1551288596863; Wed, 27 Feb 2019 09:29:56 -0800 (PST) MIME-Version: 1.0 References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-24-steven.price@arm.com> In-Reply-To: <20190227170608.27963-24-steven.price@arm.com> From: Max Filippov Date: Wed, 27 Feb 2019 09:29:45 -0800 Message-ID: Subject: Re: [PATCH v3 23/34] xtensa: mm: Add p?d_large() definitions 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?SsOpcsO0bWUgR2xpc3Nl?= , Peter Zijlstra , Thomas Gleixner , Will Deacon , "maintainer:X86 ARCHITECTURE..." , "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, LKML , Mark Rutland , "Liang, Kan" , Chris Zankel , linux-xtensa@linux-xtensa.org Content-Type: text/plain; charset="UTF-8" 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 9:07 AM 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 xtensa, we don't support large pages, so add a stub returning 0. > > CC: Chris Zankel > CC: Max Filippov > CC: linux-xtensa@linux-xtensa.org > Signed-off-by: Steven Price > --- > arch/xtensa/include/asm/pgtable.h | 1 + > 1 file changed, 1 insertion(+) Acked-by: Max Filippov -- Thanks. -- Max