Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2164413img; Wed, 27 Feb 2019 11:28:57 -0800 (PST) X-Google-Smtp-Source: AHgI3IbUqSWjydmMJ+GY2iLjgFE9aBxg8grue4Q0N29WdYkCtyVwjxItonhH5rxvZVY6LhD+5OA3 X-Received: by 2002:a17:902:9a84:: with SMTP id w4mr3860727plp.283.1551295737809; Wed, 27 Feb 2019 11:28:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551295737; cv=none; d=google.com; s=arc-20160816; b=SrnR9xaajBlPS1b2A86tGXMSONKRoL8H2nQfRvR1DZrChwPE220sjHR1ih1d8r2nhy DVa00j5r0rG3XYbbPj1ThFVvZ/HQ3B3tQhCKuu2JsusXBhOzJfNC6vkXjHpjOChOqDBM IwSvGVW4c1Dd7KHY4WI4H+O4kkK2ywDjh1ujtIxr0BlDIuAtx3XpJkLEVJcFR+SFX9fb lfn+ZE/AfqRnzs5Auu6Gb5mem6FagU3jdCQOcz6V0yYP91y3KORPXLn5IdZOpknDGLoV n+gkEEMf12MoqxwE7n8aBYk5EpgqY9e4o0cAZGy3ddRk9YPZUMZ5NkcuJg3BCOTjZao8 96FA== 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; bh=3cLq+kIlMMXRZaenVxSwc6pfzBM/ls2MR1D4QP0Hu2k=; b=K3ZNWfvDMTVt6xOpPsw/Ljb19SCj7voh61+MfuiSGLgMbuVbrYJOa9fh20GP1Hq8e4 gxj8qfqy+dW4WO51t3VRyuOOVM18lIqh9XcIQZqzvLMrdRn1+a+YYxTO+3fCI/Fs/jlN PHs9eJdadFHJF+jXMD4EBHNIWXtvLJ/F3QViOvHimik81JVswuSLBMkfTEOVpP/ryHoM 3ewtOIlRBAMsceS8OMGrPT7B5m1TlSw3/SaZ4Sk5WzV0gqrX4BotgXCfLrpg6KRQk3fJ piU2TFna3hVd24QWyn9/04dPxTV4yA4jbrfRxZyRs6ocpYEwiPvGKnRSKAy5Pjc0uLgx xeRw== ARC-Authentication-Results: i=1; mx.google.com; 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 cc9si17560325plb.59.2019.02.27.11.28.27; Wed, 27 Feb 2019 11:28:57 -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; 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 S1729994AbfB0T1y (ORCPT + 99 others); Wed, 27 Feb 2019 14:27:54 -0500 Received: from mail-ua1-f68.google.com ([209.85.222.68]:42640 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbfB0T1y (ORCPT ); Wed, 27 Feb 2019 14:27:54 -0500 Received: by mail-ua1-f68.google.com with SMTP id s26so5831326uao.9 for ; Wed, 27 Feb 2019 11:27:53 -0800 (PST) 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=3cLq+kIlMMXRZaenVxSwc6pfzBM/ls2MR1D4QP0Hu2k=; b=UMTHXWsm9oqX8+Chkt8XEsssOsgtdK5P/P0R/lmfHur0hZardLYQeDYiGKmByVv/Xw jogGmN9vmxWtbl8QpMbhlK10GNbJO5ZR/BSg9lpWVzU84uB0OmUv5UYySrIjDEQwYzao 5LXIWbTe4hfP9AUC4rVQGh+Ysp07VY9LQ5byiMeLzMljkTDHSE0/96V0k8vsH4h00F5n neuvXlkTLGxyxR5Eu6DA/DiSesL0R/9hVypR5j2LsHlE6LWVac/vO9/BlEn2B6NzBp51 jtsTDbb3/R0Oi8lxOio/t2ZxapFCm0vXhL72Jt4koBAQf6VqKU5X/wVYi0t3EoUFrXR3 KxJQ== X-Gm-Message-State: AHQUAuZz2xH3cCYIRN8Onbq4jJqjhcfRBllBkG8aKa1OaCFXfnprZeJU +sbc6rLCURhWCTfoFx14D2PP52g/B4UohEoO/7k= X-Received: by 2002:a67:fc9a:: with SMTP id x26mr2797801vsp.166.1551295673138; Wed, 27 Feb 2019 11:27:53 -0800 (PST) MIME-Version: 1.0 References: <20190227170608.27963-1-steven.price@arm.com> <20190227170608.27963-10-steven.price@arm.com> In-Reply-To: <20190227170608.27963-10-steven.price@arm.com> From: Geert Uytterhoeven Date: Wed, 27 Feb 2019 20:27:40 +0100 Message-ID: Subject: Re: [PATCH v3 09/34] m68k: mm: Add p?d_large() definitions To: Steven Price Cc: Linux MM , 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 , "the arch/x86 maintainers" , "H. Peter Anvin" , Linux ARM , Linux Kernel Mailing List , Mark Rutland , "Liang, Kan" , linux-m68k 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 Hi Steven, On Wed, Feb 27, 2019 at 6:07 PM 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 m68k, we don't support large pages, so add stubs returning 0 > > CC: Geert Uytterhoeven > CC: linux-m68k@lists.linux-m68k.org > Signed-off-by: Steven Price Thanks for your patch! > arch/m68k/include/asm/mcf_pgtable.h | 2 ++ > arch/m68k/include/asm/motorola_pgtable.h | 2 ++ > arch/m68k/include/asm/pgtable_no.h | 1 + > arch/m68k/include/asm/sun3_pgtable.h | 2 ++ > 4 files changed, 7 insertions(+) If the definitions are the same, why not add them to arch/m68k/include/asm/pgtable.h instead? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds