[{"id":1767540,"web_url":"http://patchwork.ozlabs.org/comment/1767540/","msgid":"<2900303.PDvBtpZXzq@new-mexico>","date":"2017-09-13T04:04:35","subject":"Re: [PATCH v3 1/2] powerpc/mm: Export flush_all_mm()","submitter":{"id":24781,"url":"http://patchwork.ozlabs.org/api/people/24781/","name":"Alistair Popple","email":"alistair@popple.id.au"},"content":"> +static inline void hash__local_flush_all_mm(struct mm_struct *mm)\n> +{\n> +\t/*\n> +\t * There's no Page Walk Cache for hash, so what is needed is\n> +\t * the same as flush_tlb_mm(), which doesn't really make sense\n> +\t * with hash. So the only thing we could do is flush the\n> +\t * entire LPID! Punt for now, as it's not being used.\n> +\t */\n\nDo you think it is worth putting a WARN_ON_ONCE here if we're asserting this\nisn't used on hash?\n\nOtherwise looks good and is also needed for NPU.\n\nReviewed-By: Alistair Popple <alistair@popple.id.au>\n\n> +}\n> +\n> +static inline void hash__flush_all_mm(struct mm_struct *mm)\n> +{\n> +\t/*\n> +\t * There's no Page Walk Cache for hash, so what is needed is\n> +\t * the same as flush_tlb_mm(), which doesn't really make sense\n> +\t * with hash. So the only thing we could do is flush the\n> +\t * entire LPID! Punt for now, as it's not being used.\n> +\t */\n> +}\n> +\n>  static inline void hash__local_flush_tlb_page(struct vm_area_struct *vma,\n>  \t\t\t\t\t  unsigned long vmaddr)\n>  {\n> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n> index 9b433a624bf3..af06c6fe8a9f 100644\n> --- a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n> @@ -21,17 +21,20 @@ extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long sta\n>  extern void radix__flush_tlb_kernel_range(unsigned long start, unsigned long end);\n>  \n>  extern void radix__local_flush_tlb_mm(struct mm_struct *mm);\n> +extern void radix__local_flush_all_mm(struct mm_struct *mm);\n>  extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);\n>  extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n>  \t\t\t\t\t      int psize);\n>  extern void radix__tlb_flush(struct mmu_gather *tlb);\n>  #ifdef CONFIG_SMP\n>  extern void radix__flush_tlb_mm(struct mm_struct *mm);\n> +extern void radix__flush_all_mm(struct mm_struct *mm);\n>  extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);\n>  extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n>  \t\t\t\t\tint psize);\n>  #else\n>  #define radix__flush_tlb_mm(mm)\t\tradix__local_flush_tlb_mm(mm)\n> +#define radix__flush_all_mm(mm)\t\tradix__local_flush_all_mm(mm)\n>  #define radix__flush_tlb_page(vma,addr)\tradix__local_flush_tlb_page(vma,addr)\n>  #define radix__flush_tlb_page_psize(mm,addr,p) radix__local_flush_tlb_page_psize(mm,addr,p)\n>  #endif\n> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush.h b/arch/powerpc/include/asm/book3s/64/tlbflush.h\n> index 72b925f97bab..70760d018bcd 100644\n> --- a/arch/powerpc/include/asm/book3s/64/tlbflush.h\n> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush.h\n> @@ -57,6 +57,13 @@ static inline void local_flush_tlb_page(struct vm_area_struct *vma,\n>  \treturn hash__local_flush_tlb_page(vma, vmaddr);\n>  }\n>  \n> +static inline void local_flush_all_mm(struct mm_struct *mm)\n> +{\n> +\tif (radix_enabled())\n> +\t\treturn radix__local_flush_all_mm(mm);\n> +\treturn hash__local_flush_all_mm(mm);\n> +}\n> +\n>  static inline void tlb_flush(struct mmu_gather *tlb)\n>  {\n>  \tif (radix_enabled())\n> @@ -79,9 +86,17 @@ static inline void flush_tlb_page(struct vm_area_struct *vma,\n>  \t\treturn radix__flush_tlb_page(vma, vmaddr);\n>  \treturn hash__flush_tlb_page(vma, vmaddr);\n>  }\n> +\n> +static inline void flush_all_mm(struct mm_struct *mm)\n> +{\n> +\tif (radix_enabled())\n> +\t\treturn radix__flush_all_mm(mm);\n> +\treturn hash__flush_all_mm(mm);\n> +}\n>  #else\n>  #define flush_tlb_mm(mm)\t\tlocal_flush_tlb_mm(mm)\n>  #define flush_tlb_page(vma, addr)\tlocal_flush_tlb_page(vma, addr)\n> +#define flush_all_mm(mm)\t\tlocal_flush_all_mm(mm)\n>  #endif /* CONFIG_SMP */\n>  /*\n>   * flush the page walk cache for the address\n> diff --git a/arch/powerpc/mm/tlb-radix.c b/arch/powerpc/mm/tlb-radix.c\n> index b3e849c4886e..5a1f46eff3a2 100644\n> --- a/arch/powerpc/mm/tlb-radix.c\n> +++ b/arch/powerpc/mm/tlb-radix.c\n> @@ -144,7 +144,7 @@ void radix__local_flush_tlb_mm(struct mm_struct *mm)\n>  EXPORT_SYMBOL(radix__local_flush_tlb_mm);\n>  \n>  #ifndef CONFIG_SMP\n> -static void radix__local_flush_all_mm(struct mm_struct *mm)\n> +void radix__local_flush_all_mm(struct mm_struct *mm)\n>  {\n>  \tunsigned long pid;\n>  \n> @@ -154,6 +154,7 @@ static void radix__local_flush_all_mm(struct mm_struct *mm)\n>  \t\t_tlbiel_pid(pid, RIC_FLUSH_ALL);\n>  \tpreempt_enable();\n>  }\n> +EXPORT_SYMBOL(radix__local_flush_all_mm);\n>  #endif /* CONFIG_SMP */\n>  \n>  void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n> @@ -200,7 +201,7 @@ void radix__flush_tlb_mm(struct mm_struct *mm)\n>  }\n>  EXPORT_SYMBOL(radix__flush_tlb_mm);\n>  \n> -static void radix__flush_all_mm(struct mm_struct *mm)\n> +void radix__flush_all_mm(struct mm_struct *mm)\n>  {\n>  \tunsigned long pid;\n>  \n> @@ -216,6 +217,7 @@ static void radix__flush_all_mm(struct mm_struct *mm)\n>  no_context:\n>  \tpreempt_enable();\n>  }\n> +EXPORT_SYMBOL(radix__flush_all_mm);\n>  \n>  void radix__flush_tlb_pwc(struct mmu_gather *tlb, unsigned long addr)\n>  {\n>","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsSkh4BzRz9sNw\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 14:05:48 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xsSkh3Ht0zDrSK\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 14:05:48 +1000 (AEST)","from ipmailnode02.adl6.internode.on.net\n\t(ipmailnode02.adl6.internode.on.net [150.101.137.148])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xsSjP5n0VzDrJZ\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 13 Sep 2017 14:04:41 +1000 (AEST)","from static-82-10.transact.net.au (HELO new-mexico.localnet)\n\t([122.99.82.10]) by ipmail02.adl6.internode.on.net with ESMTP;\n\t13 Sep 2017 13:34:36 +0930"],"Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=popple.id.au\n\t(client-ip=150.101.137.148; helo=ipmailnode02.adl6.internode.on.net; \n\tenvelope-from=alistair@popple.id.au; receiver=<UNKNOWN>)","X-IronPort-Anti-Spam-Filtered":"true","X-IronPort-Anti-Spam-Result":"A2AwBQDtrbhZ/wpSY3pcHgYMhSwnhVeJNqlfhUgChQcUAQIBAQEBAQEBayiFGQY6PxALIRUQDwFHGYowrlSLOQEBCAIBJYMrhTWDKIprBaB0lUSSAEiWIDYhgQ0cFhgJCBgZhWEBHIF5LjaKBgEBAQ","From":"Alistair Popple <alistair@popple.id.au>","To":"linuxppc-dev@lists.ozlabs.org","Subject":"Re: [PATCH v3 1/2] powerpc/mm: Export flush_all_mm()","Date":"Wed, 13 Sep 2017 14:04:35 +1000","Message-ID":"<2900303.PDvBtpZXzq@new-mexico>","User-Agent":"KMail/4.14.1 (Linux/4.9.0-0.bpo.3-amd64; KDE/4.14.2; x86_64; ; )","In-Reply-To":"<20170903181513.29635-1-fbarrat@linux.vnet.ibm.com>","References":"<20170903181513.29635-1-fbarrat@linux.vnet.ibm.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"7Bit","Content-Type":"text/plain; charset=\"us-ascii\"","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"clombard@linux.vnet.ibm.com, vaibhav@linux.vnet.ibm.com,\n\tFrederic Barrat <fbarrat@linux.vnet.ibm.com>,\n\tandrew.donnellan@au1.ibm.com","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1767678,"web_url":"http://patchwork.ozlabs.org/comment/1767678/","msgid":"<648a876c-e187-423a-c3b9-f3a995afdb7d@linux.vnet.ibm.com>","date":"2017-09-13T08:34:40","subject":"Re: [PATCH v3 1/2] powerpc/mm: Export flush_all_mm()","submitter":{"id":67555,"url":"http://patchwork.ozlabs.org/api/people/67555/","name":"Frederic Barrat","email":"fbarrat@linux.vnet.ibm.com"},"content":"Le 13/09/2017 à 06:04, Alistair Popple a écrit :\n>> +static inline void hash__local_flush_all_mm(struct mm_struct *mm)\n>> +{\n>> +\t/*\n>> +\t * There's no Page Walk Cache for hash, so what is needed is\n>> +\t * the same as flush_tlb_mm(), which doesn't really make sense\n>> +\t * with hash. So the only thing we could do is flush the\n>> +\t * entire LPID! Punt for now, as it's not being used.\n>> +\t */\n> \n> Do you think it is worth putting a WARN_ON_ONCE here if we're asserting this\n> isn't used on hash?\n\nI toyed with the idea. The reason I didn't add it was because \nhash__local_flush_tlb_mm() and hash__flush_tlb_mm() don't have one, yet \nit's also not supported. And I had faith in a developer thinking about \nusing it would see the comment.\nI was actually pretty close to have hash__local_flush_all_mm() call \ndirectly hash__local_flush_tlb_mm(), since the \"all\" stands for \"pwc and \ntlb\" and pwc doesn't exist for hash. But that doesn't do us any good for \nthe time being.\n\nMichael: any preference?\n\nSide note: I'm under the impression that flush_tlb_mm() may be called on \nhash, even though it does nothing. kernel/fork.c, dup_mmap() and \npotentially another (through cscope).\n\n   Fred\n\n\n> Otherwise looks good and is also needed for NPU.\n> \n> Reviewed-By: Alistair Popple <alistair@popple.id.au>\n> \n>> +}\n>> +\n>> +static inline void hash__flush_all_mm(struct mm_struct *mm)\n>> +{\n>> +\t/*\n>> +\t * There's no Page Walk Cache for hash, so what is needed is\n>> +\t * the same as flush_tlb_mm(), which doesn't really make sense\n>> +\t * with hash. So the only thing we could do is flush the\n>> +\t * entire LPID! Punt for now, as it's not being used.\n>> +\t */\n>> +}\n>> +\n>>   static inline void hash__local_flush_tlb_page(struct vm_area_struct *vma,\n>>   \t\t\t\t\t  unsigned long vmaddr)\n>>   {\n>> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n>> index 9b433a624bf3..af06c6fe8a9f 100644\n>> --- a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n>> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h\n>> @@ -21,17 +21,20 @@ extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long sta\n>>   extern void radix__flush_tlb_kernel_range(unsigned long start, unsigned long end);\n>>   \n>>   extern void radix__local_flush_tlb_mm(struct mm_struct *mm);\n>> +extern void radix__local_flush_all_mm(struct mm_struct *mm);\n>>   extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);\n>>   extern void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n>>   \t\t\t\t\t      int psize);\n>>   extern void radix__tlb_flush(struct mmu_gather *tlb);\n>>   #ifdef CONFIG_SMP\n>>   extern void radix__flush_tlb_mm(struct mm_struct *mm);\n>> +extern void radix__flush_all_mm(struct mm_struct *mm);\n>>   extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);\n>>   extern void radix__flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n>>   \t\t\t\t\tint psize);\n>>   #else\n>>   #define radix__flush_tlb_mm(mm)\t\tradix__local_flush_tlb_mm(mm)\n>> +#define radix__flush_all_mm(mm)\t\tradix__local_flush_all_mm(mm)\n>>   #define radix__flush_tlb_page(vma,addr)\tradix__local_flush_tlb_page(vma,addr)\n>>   #define radix__flush_tlb_page_psize(mm,addr,p) radix__local_flush_tlb_page_psize(mm,addr,p)\n>>   #endif\n>> diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush.h b/arch/powerpc/include/asm/book3s/64/tlbflush.h\n>> index 72b925f97bab..70760d018bcd 100644\n>> --- a/arch/powerpc/include/asm/book3s/64/tlbflush.h\n>> +++ b/arch/powerpc/include/asm/book3s/64/tlbflush.h\n>> @@ -57,6 +57,13 @@ static inline void local_flush_tlb_page(struct vm_area_struct *vma,\n>>   \treturn hash__local_flush_tlb_page(vma, vmaddr);\n>>   }\n>>   \n>> +static inline void local_flush_all_mm(struct mm_struct *mm)\n>> +{\n>> +\tif (radix_enabled())\n>> +\t\treturn radix__local_flush_all_mm(mm);\n>> +\treturn hash__local_flush_all_mm(mm);\n>> +}\n>> +\n>>   static inline void tlb_flush(struct mmu_gather *tlb)\n>>   {\n>>   \tif (radix_enabled())\n>> @@ -79,9 +86,17 @@ static inline void flush_tlb_page(struct vm_area_struct *vma,\n>>   \t\treturn radix__flush_tlb_page(vma, vmaddr);\n>>   \treturn hash__flush_tlb_page(vma, vmaddr);\n>>   }\n>> +\n>> +static inline void flush_all_mm(struct mm_struct *mm)\n>> +{\n>> +\tif (radix_enabled())\n>> +\t\treturn radix__flush_all_mm(mm);\n>> +\treturn hash__flush_all_mm(mm);\n>> +}\n>>   #else\n>>   #define flush_tlb_mm(mm)\t\tlocal_flush_tlb_mm(mm)\n>>   #define flush_tlb_page(vma, addr)\tlocal_flush_tlb_page(vma, addr)\n>> +#define flush_all_mm(mm)\t\tlocal_flush_all_mm(mm)\n>>   #endif /* CONFIG_SMP */\n>>   /*\n>>    * flush the page walk cache for the address\n>> diff --git a/arch/powerpc/mm/tlb-radix.c b/arch/powerpc/mm/tlb-radix.c\n>> index b3e849c4886e..5a1f46eff3a2 100644\n>> --- a/arch/powerpc/mm/tlb-radix.c\n>> +++ b/arch/powerpc/mm/tlb-radix.c\n>> @@ -144,7 +144,7 @@ void radix__local_flush_tlb_mm(struct mm_struct *mm)\n>>   EXPORT_SYMBOL(radix__local_flush_tlb_mm);\n>>   \n>>   #ifndef CONFIG_SMP\n>> -static void radix__local_flush_all_mm(struct mm_struct *mm)\n>> +void radix__local_flush_all_mm(struct mm_struct *mm)\n>>   {\n>>   \tunsigned long pid;\n>>   \n>> @@ -154,6 +154,7 @@ static void radix__local_flush_all_mm(struct mm_struct *mm)\n>>   \t\t_tlbiel_pid(pid, RIC_FLUSH_ALL);\n>>   \tpreempt_enable();\n>>   }\n>> +EXPORT_SYMBOL(radix__local_flush_all_mm);\n>>   #endif /* CONFIG_SMP */\n>>   \n>>   void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,\n>> @@ -200,7 +201,7 @@ void radix__flush_tlb_mm(struct mm_struct *mm)\n>>   }\n>>   EXPORT_SYMBOL(radix__flush_tlb_mm);\n>>   \n>> -static void radix__flush_all_mm(struct mm_struct *mm)\n>> +void radix__flush_all_mm(struct mm_struct *mm)\n>>   {\n>>   \tunsigned long pid;\n>>   \n>> @@ -216,6 +217,7 @@ static void radix__flush_all_mm(struct mm_struct *mm)\n>>   no_context:\n>>   \tpreempt_enable();\n>>   }\n>> +EXPORT_SYMBOL(radix__flush_all_mm);\n>>   \n>>   void radix__flush_tlb_pwc(struct mmu_gather *tlb, unsigned long addr)\n>>   {\n>>\n>","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsZkX550Hz9sNr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 18:36:04 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xsZkX3tfMzDrWY\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 18:36:04 +1000 (AEST)","from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n\t[148.163.158.5])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xsZj651tgzDrK6\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 13 Sep 2017 18:34:50 +1000 (AEST)","from pps.filterd (m0098414.ppops.net [127.0.0.1])\n\tby mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8D8YFb9060947\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 13 Sep 2017 04:34:47 -0400","from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109])\n\tby mx0b-001b2d01.pphosted.com with ESMTP id 2cxvpqk2rj-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 13 Sep 2017 04:34:47 -0400","from localhost\n\tby e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <linuxppc-dev@lists.ozlabs.org> from <fbarrat@linux.vnet.ibm.com>;\n\tWed, 13 Sep 2017 09:34:45 +0100","from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198)\n\tby e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted; \n\tWed, 13 Sep 2017 09:34:41 +0100","from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com\n\t[9.149.105.232])\n\tby b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v8D8YfbN19005442; Wed, 13 Sep 2017 08:34:41 GMT","from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 7F7C052041;\n\tWed, 13 Sep 2017 08:29:49 +0100 (BST)","from [9.164.154.154] (unknown [9.164.154.154])\n\tby d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id A77E45203F; \n\tWed, 13 Sep 2017 08:29:48 +0100 (BST)"],"Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=linux.vnet.ibm.com\n\t(client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com;\n\tenvelope-from=fbarrat@linux.vnet.ibm.com; receiver=<UNKNOWN>)","Subject":"Re: [PATCH v3 1/2] powerpc/mm: Export flush_all_mm()","To":"Alistair Popple <alistair@popple.id.au>, linuxppc-dev@lists.ozlabs.org","References":"<20170903181513.29635-1-fbarrat@linux.vnet.ibm.com>\n\t<2900303.PDvBtpZXzq@new-mexico>","From":"Frederic Barrat <fbarrat@linux.vnet.ibm.com>","Date":"Wed, 13 Sep 2017 10:34:40 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<2900303.PDvBtpZXzq@new-mexico>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Language":"en-US","Content-Transfer-Encoding":"8bit","X-TM-AS-GCONF":"00","x-cbid":"17091308-0012-0000-0000-000005789E07","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17091308-0013-0000-0000-000018F1B90C","Message-Id":"<648a876c-e187-423a-c3b9-f3a995afdb7d@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-13_03:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709130135","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"vaibhav@linux.vnet.ibm.com, clombard@linux.vnet.ibm.com,\n\tandrew.donnellan@au1.ibm.com","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1780264,"web_url":"http://patchwork.ozlabs.org/comment/1780264/","msgid":"<3y702r4yzGz9t3v@ozlabs.org>","date":"2017-10-05T04:21:40","subject":"Re: [v3,1/2] powerpc/mm: Export flush_all_mm()","submitter":{"id":69509,"url":"http://patchwork.ozlabs.org/api/people/69509/","name":"Michael Ellerman","email":"patch-notifications@ellerman.id.au"},"content":"On Sun, 2017-09-03 at 18:15:12 UTC, Frederic Barrat wrote:\n> With the optimizations introduced by commit a46cc7a90fd8\n> (\"powerpc/mm/radix: Improve TLB/PWC flushes\"), flush_tlb_mm() no\n> longer flushes the page walk cache with radix. This patch introduces\n> flush_all_mm(), which flushes everything, tlb and pwc, for a given mm.\n> \n> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>\n> Reviewed-By: Alistair Popple <alistair@popple.id.au>\n\nSeries applied to powerpc next, thanks.\n\nhttps://git.kernel.org/powerpc/c/6110236b9bbd177debc045c5fc2922\n\ncheers","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y70472djyz9t3k\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  5 Oct 2017 15:22:47 +1100 (AEDT)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3y70471sXCzDrCl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  5 Oct 2017 15:22:47 +1100 (AEDT)","from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3y702r6XRtzDr1T\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  5 Oct 2017 15:21:40 +1100 (AEDT)","by ozlabs.org (Postfix, from userid 1034)\n\tid 3y702r4yzGz9t3v; Thu,  5 Oct 2017 15:21:40 +1100 (AEDT)"],"X-powerpc-patch-notification":"thanks","X-powerpc-patch-commit":"6110236b9bbd177debc045c5fc29224444686ece","In-Reply-To":"<20170903181513.29635-1-fbarrat@linux.vnet.ibm.com>","To":"Frederic Barrat <fbarrat@linux.vnet.ibm.com>,\n\tlinuxppc-dev@lists.ozlabs.org, \n\tbenh@kernel.crashing.org, andrew.donnellan@au1.ibm.com,\n\tclombard@linux.vnet.ibm.com, vaibhav@linux.vnet.ibm.com","From":"Michael Ellerman <patch-notifications@ellerman.id.au>","Subject":"Re: [v3,1/2] powerpc/mm: Export flush_all_mm()","Message-Id":"<3y702r4yzGz9t3v@ozlabs.org>","Date":"Thu,  5 Oct 2017 15:21:40 +1100 (AEDT)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"alistair@popple.id.au","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}}]