Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp836226imj; Fri, 15 Feb 2019 07:36:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IY0X21IymssWcuu/v0sjMYJyM3bV24TGtvoZQyioD9JPccofcZDM/16N5qhdV88YSd5gQoy X-Received: by 2002:a17:902:bb0b:: with SMTP id l11mr10951898pls.127.1550244993100; Fri, 15 Feb 2019 07:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550244993; cv=none; d=google.com; s=arc-20160816; b=qiGOpWPttxnTZnoBwkqa7cEX9nklHQh3ruxxKw85eEwCXNDcLXZ2vlzKP36kIiZQ5a DjaNIEgrGHLli/LkFb9sZpqg0UzhkhMsVlSA/PQTJ1wkKQrtMOO/RAu/4TIIxzHDFDEt aZyb44tmRPMhyvL6h+DkZBI90zfI1Bp3iG3MxJl5tOGZJyX0UJHUcAP9Jr0QkO6GYUgW jfKXVXyrSVJtyYYemBwQKunllkRNN8U0RaWwv8vRpxNxKPMSVBpIBgsjAxPeL2hE6j4k NWK3ascjobrB0+L/Tcik1W5RX4IMZZi+W0+csW+yQEkkMQNK4O1XWzRkemSCQ7iyVVSD or6w== 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:from:references:cc:to:subject:dkim-signature; bh=/IYfdqjsfG04HbnvS71uX5PXXDKwZ2gTBhWl5fa4PCs=; b=UvVIiuFGKVoJSceRQ5eAPmN1H1bWqfqeQrHEvsWpNxamoq6vzJi6KMYEpmWOAhR6Ur 1BGJzXDCLNc+SLdgkBTDxn7NQiEFrH19wxg6/Rw1SGsHx80ofs6tXxbbSaSg6cIqd26K LzuOXUqnAGWYlvD3CnTSewIPPfb402RnW455BUeXUIles1E+pXR9EiF7HUsR/JgjOvz+ 2bqjA9BsDR6J28p/KW4acLQRy7uKiIhJy4YNh9FLam4643vC5t4jr3WCfbmgwYWkf0+o mBBefP0E2lNZtP2S6b0qnyK/xW7i4K9rGFKbYDh5exQS+qJrvJb7V4WMi8A7x/qX8cZk GhVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=ppTJDv9l; 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 t11si5319732pgp.209.2019.02.15.07.36.17; Fri, 15 Feb 2019 07:36:33 -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=@c-s.fr header.s=mail header.b=ppTJDv9l; 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 S2391121AbfBOIRr (ORCPT + 99 others); Fri, 15 Feb 2019 03:17:47 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:22203 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbfBOIRq (ORCPT ); Fri, 15 Feb 2019 03:17:46 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4415jN1pZxz9v0N7; Fri, 15 Feb 2019 09:17:44 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=ppTJDv9l; 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 syPr5znEh3vp; Fri, 15 Feb 2019 09:17:44 +0100 (CET) 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 4415jN0XnTz9v0N6; Fri, 15 Feb 2019 09:17:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1550218664; bh=/IYfdqjsfG04HbnvS71uX5PXXDKwZ2gTBhWl5fa4PCs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ppTJDv9l3E/gU+xZFj9JtfZgwxY/u0O/dXZcvPn0Zv6BClJtdb2rPdXkGZVFGDo1q TZAIngmqPdaZLe2tVngoJ8TymMzfFiXjS2bEUFcK3z9CPIhY8x57OXRjNbshcpkND3 g3ASGsyRIE+r4GwDGjIwtHCXM6jyqxVg6nqcgzJc= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0CBCE8B8BB; Fri, 15 Feb 2019 09:17:45 +0100 (CET) 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 EPtKIS6xP_FL; Fri, 15 Feb 2019 09:17:44 +0100 (CET) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 069088B8BA; Fri, 15 Feb 2019 09:17:44 +0100 (CET) Subject: Re: [PATCH 01/11] powerpc: remove dead ifdefs in To: Christoph Hellwig Cc: Masahiro Yamada , linux-xtensa@linux-xtensa.org, linux-s390@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org References: <20190213174005.28785-1-hch@lst.de> <20190213174005.28785-2-hch@lst.de> <20190214170510.GC32441@lst.de> From: Christophe Leroy Message-ID: Date: Fri, 15 Feb 2019 09:17:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190214170510.GC32441@lst.de> 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 14/02/2019 à 18:05, Christoph Hellwig a écrit : > On Thu, Feb 14, 2019 at 09:26:19AM +0100, Christophe Leroy wrote: >> Could you also remove the 'config GENERIC_CSUM' item in >> arch/powerpc/Kconfig ? > > All the separate declarations go away later in this series. > I saw, but the purpose of the later patch is to replace arch defined GENERIC_CSUM by a common one that arches select. For the powerpc you are not in that case as the powerpc does not select GENERIC_CSUM. So I really believe that all stale bits of remaining GENERIC_CSUM in powerpc should go away as a single dedicated patch, as a fix of commit d4fde568a34a ("powerpc/64: Use optimized checksum routines on little-endian") Regarding the #ifdef __KERNEL__ , I think we should do a wide cleanup in arch/powerpc/include/asm, not only asm/checksum.h Christophe