Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1759459pxa; Sat, 29 Aug 2020 02:10:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwayuzi+CCnvtAZr45cg/N5kuadXb0F8VN4ZOLStup4R+0tfTyGWBOQx9Stv5OGmuB9vwR5 X-Received: by 2002:a17:906:7856:: with SMTP id p22mr2653556ejm.262.1598692230580; Sat, 29 Aug 2020 02:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598692230; cv=none; d=google.com; s=arc-20160816; b=01SyMnW4IZL/O74WoV/BIDsycEqGeipcE3VCTSkbeWwIkHProi27P73iixa50fj0h2 fE4tIsu5MSh0nPrLNfW9BLlkZXeOGWM+SfafGmUGCdlUu65LJMPHdeHwuMY5CqTY4+xJ QwcbS+iJd9MICdONyl5wKWzTwvWEHbblT3evKT6eP9RX5Z1m0n/jxJlpj95iC5y3YOiD 8dpoay7u9hhZpzOSb1K9kPkzUdPNIbKcCkOtU19DxvCgXD8cPBRDN/X+iVxqvaxRzINU O+E9Xkig6l4votST4A46MpKiK63XbaY1U/7S0Bzz4ayxJJY9TMND2V5L0mJRXJe7wsEG 7C+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=DKlaT8uN34sSslGO9ZprqkF5DFFW8PDj9ksIRNYwgMY=; b=q1LXC3lje3Cw6maMTC8YTagcscFAGQB4ndMqq6Eeozf1QotIJZfIFc0aiWLzdrISxP OreumI0nt366y+B6DSau70rjJ8F5FjrwLj94aIs+ySqGU7g5cQugtOrI5BBYiHULXCfv ZLzY3KF2BP/tNKYvMa/Ol7vhfhvrWMz6HGIhgHC+hnbwZziMkicE1d/bm/sdMtAx7ZBs 1haMAIJSlUtGnGBIaqQOHnCH2oQOV0Yn/JHr7MSjWoCINowIM0uHzeSUS3wJ0IYHhJAo JIlBGwFPD09NIxZ3n5bKUZNARo1JlO2uzNye4ODMCp0qJZ+IRHbLYtDKfxqHw8yxNPCE 8yoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=UZCInnwE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si1422393ejf.129.2020.08.29.02.10.06; Sat, 29 Aug 2020 02:10:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=UZCInnwE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbgH2JJe (ORCPT + 99 others); Sat, 29 Aug 2020 05:09:34 -0400 Received: from mout.gmx.net ([212.227.17.20]:46331 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbgH2JJ3 (ORCPT ); Sat, 29 Aug 2020 05:09:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598692150; bh=LA8e3x7OTH7TmqUpRSk2U1gxj9jGzODKHY7UgSrCaC8=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=UZCInnwE+t5P0z8mWC0e962bsCtNuP+7fz1IV97jG6qozBFaJJRIOXO3ELstNrmM8 /5YmRdkktxcbLfeaSIzenktDR0lM8JEASUsd6ZPFHQKM47UsiNivmKZFd43qFLV6aq oL2c0CNGzt45aT8daRS6odvsev6smIYy2ZGxaKnA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.169.105]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8ykg-1kGsnj3Zhu-0066tf; Sat, 29 Aug 2020 11:09:09 +0200 Subject: Re: [PATCH v2 15/23] parisc: use asm-generic/mmu_context.h for no-op implementations To: Nicholas Piggin , linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Arnd Bergmann , "James E.J. Bottomley" , linux-parisc@vger.kernel.org References: <20200826145249.745432-1-npiggin@gmail.com> <20200826145249.745432-16-npiggin@gmail.com> From: Helge Deller Autocrypt: addr=deller@gmx.de; keydata= mQINBF3Ia3MBEAD3nmWzMgQByYAWnb9cNqspnkb2GLVKzhoH2QD4eRpyDLA/3smlClbeKkWT HLnjgkbPFDmcmCz5V0Wv1mKYRClAHPCIBIJgyICqqUZo2qGmKstUx3pFAiztlXBANpRECgwJ r+8w6mkccOM9GhoPU0vMaD/UVJcJQzvrxVHO8EHS36aUkjKd6cOpdVbCt3qx8cEhCmaFEO6u CL+k5AZQoABbFQEBocZE1/lSYzaHkcHrjn4cQjc3CffXnUVYwlo8EYOtAHgMDC39s9a7S90L 69l6G73lYBD/Br5lnDPlG6dKfGFZZpQ1h8/x+Qz366Ojfq9MuuRJg7ZQpe6foiOtqwKym/zV dVvSdOOc5sHSpfwu5+BVAAyBd6hw4NddlAQUjHSRs3zJ9OfrEx2d3mIfXZ7+pMhZ7qX0Axlq Lq+B5cfLpzkPAgKn11tfXFxP+hcPHIts0bnDz4EEp+HraW+oRCH2m57Y9zhcJTOJaLw4YpTY GRUlF076vZ2Hz/xMEvIJddRGId7UXZgH9a32NDf+BUjWEZvFt1wFSW1r7zb7oGCwZMy2LI/G aHQv/N0NeFMd28z+deyxd0k1CGefHJuJcOJDVtcE1rGQ43aDhWSpXvXKDj42vFD2We6uIo9D 1VNre2+uAxFz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dNkB9kK9CcTVFXMYehKueBkk5MaU ou0ZH9LCDjtnOKxPuUWstxTXWzsinSpLDIpkP//4fN6asmPo2cSXMXE0iA5WsWAXcK8uZ4jD c2TFWAS8k6RLkk41ZUU8ENX8+qZx/Q== Message-ID: <05545df2-416a-a034-059a-a8404292143e@gmx.de> Date: Sat, 29 Aug 2020 11:09:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200826145249.745432-16-npiggin@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:MVu3F6cq3b3CpnuUMt96+KyaW7G8/TfrnMJKVxNZ3c+n5NTx0Ae t97uEKwepS/LVxjNOY/ELldLhFhU14cn55K0G6T7E59tPaU0dJLK5Qe9MqRCr7IcnbvU9Sq 5JshNO7482QnBDtrkO+Zh1dNwBmutM+eE1XOY+uVptWyTTlQCLil5jlJd/kjiO1JPNhw/fx aVxXh4mini3Ri1j/zdI0A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TjA0suBSCNU=:Z1eOmwhoqF8LfwOJofhBET TmJy5LJRJ9npHJpvWnTce1TAZb/b8hnvt+KtjuZ1RcxOpA5TO44kUE1Vjw458RAXbNdfOAso8 6C/yNye0i4kmPmQlAUsc9aYoXBSkZmEhQS76DGBiTmXliQc4BOk2D4UMcEJpG6cW/zbPa3Vn5 z0AbMjICenLNPhlqcE+g2ZoNMiIqft48c679m5MT88xPBuUdVwSITjRBKGnU3D4BAeCW/W53N XSHyTL7gg7wm2vuBRHjhrtlnWm+bDquTdWAQ4u4SnPV1Q8vYCLtOtB/4F1cUndeWxiRG219QL GvU9c1vSSZZakY2fNb6ROs05NsZnZUAYSgCsToZj4ykzVMgTGwe8NxoGMkQ47bZa1tAZOyZoI nN/HvWWqgjXJ5Q7kj2Qxbi+5BAxotfRk9U48g65XPMHo/eSB8fn43L3huwAxDcd6ub//oy59a ZwFE/uP7fNOpZTlFVsyuq3R8+/I5XLGSaqdX6uEwadGudgrW4VnrA4t7KyRDUZFt9Rl6BNA3g 3me/mdHhIFrpUA9rVlXILWXwbrb8/b9/Sbq/xGX4aZR3sgsDWjzrlAWu3VfoBs51sEYeumi/R mf9eHcNvUoxH5yQkPDie6sJK+pNlfoWgkjUjyedGPph3k27I+MQO+DjvegyT0TX8vJY27prOJ VglHLCiHkDd6MUWi/7axv9nxqFMRN5eZcUDy3mWXSyMwRCyJtpYvXqd6P5sEq3RHEYwSwOAKE AS8czUxl3Vw6yM4arJxLduIcVUaXKiO524g+DV1K6FQKDnn6m6z1gb6CUZP2bf/849fn0Utsa QJ1ZHangVK039kyasJE+5XsG8eGDjcbge35aqEu9odQWIRBZwukyIXVjiMbnva6qLjas+M1g/ TRn2JMtG3R6cIQirXUYwZh91tJrlOE6MBuRxErcvKtjM3qyWlN5xxkikDnUA37hJEYQXxtiQZ DxSI3j3UqUjEKULz8u0uMb4wR/fzVlfG4n8kTZVbVltzp2ud7u6YF8xjLMX39OHcOA2SpUfth TAPsOIBQ2wm5aq5i8NSvZVpqjo0W1wYdMCveeFjoUzt2+GojmIOLMIeOS/P2h0ZR/0t4mvq98 6uFVY4xACwAovirnNdFlTVXfGfRrYCZVqSAfnnQ3xyczSbhk5VaauthQCa1Ns1RvAfSjEd55A pcMprEkJ32ENY5aucsDJnveQ6gSSA++v+DcuGGNO5f+FNBTKH7d3RGLAfWR5LtpvNQr3gVCGe PpHEY1TAz5KSV8aRE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.08.20 16:52, Nicholas Piggin wrote: > Cc: "James E.J. Bottomley" > Cc: Helge Deller > Cc: linux-parisc@vger.kernel.org > Signed-off-by: Nicholas Piggin Acked-by: Helge Deller > --- > arch/parisc/include/asm/mmu_context.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/parisc/include/asm/mmu_context.h b/arch/parisc/include= /asm/mmu_context.h > index cb5f2f730421..46f8c22c5977 100644 > --- a/arch/parisc/include/asm/mmu_context.h > +++ b/arch/parisc/include/asm/mmu_context.h > @@ -7,16 +7,13 @@ > #include > #include > > -static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_str= uct *tsk) > -{ > -} > - > /* on PA-RISC, we actually have enough contexts to justify an allocator > * for them. prumpf */ > > extern unsigned long alloc_sid(void); > extern void free_sid(unsigned long); > > +#define init_new_context init_new_context > static inline int > init_new_context(struct task_struct *tsk, struct mm_struct *mm) > { > @@ -26,6 +23,7 @@ init_new_context(struct task_struct *tsk, struct mm_st= ruct *mm) > return 0; > } > > +#define destroy_context destroy_context > static inline void > destroy_context(struct mm_struct *mm) > { > @@ -71,8 +69,7 @@ static inline void switch_mm(struct mm_struct *prev, > } > #define switch_mm_irqs_off switch_mm_irqs_off > > -#define deactivate_mm(tsk,mm) do { } while (0) > - > +#define activate_mm activate_mm > static inline void activate_mm(struct mm_struct *prev, struct mm_struct= *next) > { > /* > @@ -90,4 +87,7 @@ static inline void activate_mm(struct mm_struct *prev,= struct mm_struct *next) > > switch_mm(prev,next,current); > } > + > +#include > + > #endif >