Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2073918ybf; Mon, 2 Mar 2020 01:17:02 -0800 (PST) X-Google-Smtp-Source: ADFU+vuZYaNarOl7L10LgiQTFmkXkDXWtNrUwwbwALs79g8cLPQEvlONxjNCZA+oFJ0vNHDeLnF4 X-Received: by 2002:aca:4d4e:: with SMTP id a75mr716597oib.32.1583140622607; Mon, 02 Mar 2020 01:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583140622; cv=none; d=google.com; s=arc-20160816; b=MVu9JKtJ+Epb8N0yfrGaNVCbsnE3Oq48WbnxMH3zoRp6Top/bQuM4we31wdQOj+amK 0+iorlnUOpoonWK0op3fn0dQ4WNjyeoy4OoTYTjbMblaQC5+dE6WqM8DubNhyAxu6WPF Bcvph08BgyvOO1kzHMrIPTETlOgwHbl4YMeUym6BygVxRY1/gz8D1WZiO05Z8rYfOx+N 0MGMUr86CLECVEKpd0EvpTn+8ZVSG5k+iRpcJfvMMPVj8Tvwl0VgjmpIpssjgUhLqdKj mpPBz0pFqVkCKwPi6U5hJ7cpCv098AevturVRSkkai7kl73Bp2OaELLgJ5I2IMhQFSHE rTkQ== 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=ndch3h4URTloyii1gSOs74b+yGmOg265tPn81wcSc2E=; b=V7E7nQFQcIADWwB5RLEzB4RopqYNUll7cBTIjVGfJvh7y6icTkWtZFMdG/WuEEcinA MySdCfQh7tO2CgEeCDNJS758/tAme6Pi14OvOpznHSUnhdUiIFG3lBkAW3JW/hW9Da5p FDWZ4shO/v2E80mu3PypCojibzRQ3aBE5w99pOSCpRF7S1gVjaduosTOkb1+qRTzKsT+ 6cp0eL7LbBtfhQLCZydbDMJC741sMnUZx8EXccAfWTzSYmsdiYio/QZZMERyNZ20MZxf GB86qxJkTIA6CQwAfmi7iejz6s3HwmmdheNxWqBq3cOx0saevaK42GB4wF3DovbONt4D pJMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vL0VVsua; 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 5si4364466otr.108.2020.03.02.01.16.50; Mon, 02 Mar 2020 01:17:02 -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=vL0VVsua; 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 S1727123AbgCBJQl (ORCPT + 99 others); Mon, 2 Mar 2020 04:16:41 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:51163 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbgCBJQl (ORCPT ); Mon, 2 Mar 2020 04:16:41 -0500 Received: by mail-pj1-f66.google.com with SMTP id nm14so1432561pjb.0; Mon, 02 Mar 2020 01:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ndch3h4URTloyii1gSOs74b+yGmOg265tPn81wcSc2E=; b=vL0VVsuaaoEsbUHMmRXA6lfSc7FopuGlr36i0AXnSjtq/HXbT/8a6v2h2NFzs7jmga DQNmZYmIN2qjCn4v4UprQ1hhz87Li5nLtHphVK3d096BA9X8u9jvsl+X1E12z9uDygY0 tDZeDZt7dIcEa5iu/48Zcj9kqwt/Afy8lQ2vPLl7eyAB1mcmVl07n5BrFg1XH9SvUM4V cODnqdSWYkDAaS9/SYbnZvwG7/Jwq9o5rMX/rJPp73ybLwKm3V2HM/o4EREpet7DoAG4 6ELWoIXedXfCwuV2u4nSq8sFAeFOZrb5Dfj1fao4CFdutyOVFG77o0e8I3Wc9gSbNNju 9spQ== 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=ndch3h4URTloyii1gSOs74b+yGmOg265tPn81wcSc2E=; b=JtaB7Ms0nEuhvdP93a6hJUvzuveUZVF7UmB5QFjwRpWfwDw5l+VfEUn78J1DXQgUCm PPM5hqRJq8hzfNSHB5SWkVFnIk4lBHedNWQlz3xapvNef4abD65N8noAM2sUCIscGg/I qzmu8YNcW/d17tV4Ag4YDsPRbCu/Oa/g5YoK/sW0LxZ1javGScWgqQrXKTyConxspMP+ YnDqTg+0i43T+8I7R88bLtMFvYn6EJDnSaOo3KpQ1Zgm/uhbxXME0ezxICqIf4xHODYU UMPxZXnQQA/ml2oBPP4jWrJKyTpaTUz8IY9LbqnMX5FrW4xUFnDWfw+6g7PTn1GG3X2H VDSQ== X-Gm-Message-State: APjAAAXOMqsAKA9A/r9cwroLADx8KV3+JA8FSPBBsyiyJh/DQog4iJy0 7+r8sha8z6i2zHGZiR2Km9Y= X-Received: by 2002:a17:902:8ec9:: with SMTP id x9mr17070699plo.182.1583140599577; Mon, 02 Mar 2020 01:16:39 -0800 (PST) Received: from localhost (g183.222-224-185.ppp.wakwak.ne.jp. [222.224.185.183]) by smtp.gmail.com with ESMTPSA id p18sm21513722pjo.3.2020.03.02.01.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 01:16:38 -0800 (PST) Date: Mon, 2 Mar 2020 18:16:35 +0900 From: Stafford Horne To: Anshuman Khandual Cc: linux-mm@kvack.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Guo Ren , Brian Cain , Tony Luck , Fenghua Yu , Geert Uytterhoeven , Sam Creasey , Michal Simek , Ralf Baechle , Paul Burton , Nick Hu , Greentime Hu , Vincent Chen , Ley Foon Tan , Jonas Bonn , Stefan Kristiansson , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Jeff Dike , Richard Weinberger , Anton Ivanov , Guan Xuetao , Chris Zankel , Max Filippov , Andrew Morton , linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/special: Create generic fallbacks for pte_special() and pte_mkspecial() Message-ID: <20200302091635.GK7926@lianli.shorne-pla.net> References: <1583114190-7678-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1583114190-7678-1-git-send-email-anshuman.khandual@arm.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2020 at 07:26:30AM +0530, Anshuman Khandual wrote: > diff --git a/arch/openrisc/include/asm/pgtable.h b/arch/openrisc/include/asm/pgtable.h > index 248d22d8faa7..7f3fb9ceb083 100644 > --- a/arch/openrisc/include/asm/pgtable.h > +++ b/arch/openrisc/include/asm/pgtable.h > @@ -236,8 +236,6 @@ static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } > static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } > static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } > static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } > -static inline int pte_special(pte_t pte) { return 0; } > -static inline pte_t pte_mkspecial(pte_t pte) { return pte; } > > static inline pte_t pte_wrprotect(pte_t pte) > { For openrisc bits: Acked-by: Stafford Horne