Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1103435ybl; Fri, 16 Aug 2019 08:58:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRsy1KL9VH3ool1SfzOWvWtyvZgsVSur3AQqcg1Orsm+mqxPoDcX+WN0c/wo/exS3O8Lpl X-Received: by 2002:a63:31c1:: with SMTP id x184mr8701881pgx.128.1565971105912; Fri, 16 Aug 2019 08:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565971105; cv=none; d=google.com; s=arc-20160816; b=sBNqpH/kFS6eKRpXYz99puzoWQCwvwGwRgLQJSAh/MHhl7E84BS2vWTG20DtQ9c+vK UN9kv9LejN6MTk19v36kT1UUscEqxWCA0cMfcCdMZnJ6S9q3tQoS3ao3LJwxmG0xEwr4 //mC+IKzdYA/WLNBuOS6cqTGAu/aQf8ZpjEq1M+js5nJcMNUgH07h7siSqfkMUxfcJI6 zj0MiwqLkH6Af0udvO/oh/V6PLWXz+/Jkyj2vJBTKTyn74MoLnCxJ1xA4U40ULf2Z1ap 28b0a1SLY8TPeGogZBgcT2ybNWP0IvQZFBCKVwQ2iKJHU80G1ZYGX84JGnlLY97ZS74Z oRqQ== 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:references:cc:to:from:subject:dkim-signature; bh=C4MwGsOSBiPFS6TjAAwjC7UyECCJUqF4L3EYFExWE6g=; b=gQJPP/0ZC/dC0Xi+rk/nWRfi/C3xJkEvxD0vSGkEFivZNMWIXGR/PbfwEtCX95kmrg Bqzd/shtyDAudmDEwDAfdWbl++g5tdv4JT/iIKI9wmKiQuSHrlyu9Ra/6BYRAc6jLS5k q2BaqVsuD0UacuLi8qHZb+L4fqg/49RnrTMp+REr1KUXSEgUgzWV5qAb6NF+o/Ek5hq4 ZysJDlJTwMKYlVni7ylukdlc6RmDeNijoSe9gANSmEODh1CWqKoi+g980+MhO7edD+oB jhr8QHurJZrX0WnvPyD1sy3wUJzoHd3yJKXfteQL5qC+K4aQKDuB8Bg1ejUXYX9Bmcj+ Xztw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=i4vYuRvh; 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 t1si3240520pjv.5.2019.08.16.08.58.10; Fri, 16 Aug 2019 08:58:25 -0700 (PDT) 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=@c-s.fr header.s=mail header.b=i4vYuRvh; 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 S1727508AbfHPP53 (ORCPT + 99 others); Fri, 16 Aug 2019 11:57:29 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:30999 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727377AbfHPP53 (ORCPT ); Fri, 16 Aug 2019 11:57:29 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4697Hp4Hxsz9txKQ; Fri, 16 Aug 2019 17:57:26 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=i4vYuRvh; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 1aF1Nh7DXJ84; Fri, 16 Aug 2019 17:57:26 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4697Hp2l79z9txKK; Fri, 16 Aug 2019 17:57:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1565971046; bh=C4MwGsOSBiPFS6TjAAwjC7UyECCJUqF4L3EYFExWE6g=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=i4vYuRvhymXPG9MijpoZTzbl3VlYeqk7V/a0yOBe12Jva853qoPakRiEwUrvyeC/A 6nyVxZtmtd1ku1mggUAr2hO/7FXDa7isaJ6wjkcNS5dRILplYj85HOepJm3k2Ar9hT yJ4nQeoKVPxCwSKUQRuaer5JBZ64sfOaZhXm3ngQ= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 284138B78F; Fri, 16 Aug 2019 17:57:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id hMT4k5X4x1Nw; Fri, 16 Aug 2019 17:57:28 +0200 (CEST) Received: from [172.25.230.101] (po15451.idsi0.si.c-s.fr [172.25.230.101]) by messagerie.si.c-s.fr (Postfix) with ESMTP id EB96D8B754; Fri, 16 Aug 2019 17:57:27 +0200 (CEST) Subject: Re: [PATCH 3/6] powerpc: Convert flush_icache_range & friends to C From: Christophe Leroy To: Alastair D'Silva , alastair@d-silva.org Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Thomas Gleixner , Qian Cai , Nicholas Piggin , Greg Kroah-Hartman , Allison Randal , Andrew Morton , David Hildenbrand , Michal Hocko , Mike Rapoport , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20190815041057.13627-1-alastair@au1.ibm.com> <20190815041057.13627-4-alastair@au1.ibm.com> <8a86bccf-ae4d-6d2c-72b1-db136cec9d10@c-s.fr> Message-ID: Date: Fri, 16 Aug 2019 17:57:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <8a86bccf-ae4d-6d2c-72b1-db136cec9d10@c-s.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/08/2019 à 09:29, christophe leroy a écrit : > > > Le 15/08/2019 à 06:10, Alastair D'Silva a écrit : >> From: Alastair D'Silva >> >> Similar to commit 22e9c88d486a >> ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") >> this patch converts flush_icache_range() to C, and reimplements the >> following functions as wrappers around it: >> __flush_dcache_icache >> __flush_dcache_icache_phys > > Not sure you can do that for __flush_dcache_icache_phys(), see detailed > comments below > I just sent you an RFC patch that could be the way to convert __flush_dcache_icache_phys() to C. Feel free to modify it as wished and include it in your series. Christophe