Received: by 10.192.147.103 with SMTP id b36csp902415imc; Mon, 26 Mar 2018 13:34:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELsBF06LFG1Fuzws3g1ps7Zy3BWw23R7vVMidaEBJzcoE3mc+GK0TJWRNxSwGXa7nFjjbY1M X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr33024561plo.400.1522096483488; Mon, 26 Mar 2018 13:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522096483; cv=none; d=google.com; s=arc-20160816; b=OOmCI/pOa4f4lyjdCVfJDPmf2AButtctOI7gWN7EWlQBVXyCCs2jPWoB9K3xnEiQjY VJJ4SAijTy0x9ynVa68dV5Pp1DAt/EUizjzx1yCwim4h8Oe5i7Nj5vHulHw1TkYAzyWn MKV7yB08DQH6/wv+xr/Y3ht/G2lZaZ7iTAorGLNtJzeUUbO21CqwJ/H4B95gVCnxALzV FuKO+cyGwcHLWFXL8+cvlq/3QnGchqN0xlESKm5wrIL1kGDl/FuufFeIEAX4/LzrrZF4 cLiMdHw1/QICROS7oENfDwZvW2Ihy1T4e3wqgVXibHyw21REgffJ+bBzU8CB3Y0Lp4g9 0fvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:arc-authentication-results; bh=R5KU4EDu+c/hSFqgGsYuHGUiMQ2wubcaxjTV6hiHypw=; b=E8dNumGr5tkadFN84HxRCg4AsvofrKpYAHqMCjZnJnhwm+js2+90ZwbaYJr4eQd3lD /MX/ZaPA4hXcQxTLTzD1+veMlPVs6J0I47FQDGgAb79zkkqZN+Yj1YWEi5ave3Vm4/aB QWThfsESLUtJV2v/OG0kfSGRCWDuD0u5IxE0YhBvk42v3/xVIvR8A2h7+LKvR6ISCdQW Y/e6LG1CxSIguhnY23tQ1XMSQS813qzLzChPFmxQp61WsKgvVfkKS7TXCdmOucSRfMr9 Eiv3qOHlo8pFsyL+buaM1TwIzMCdLd4bDGGT0hjTzOmWiabTYwnvYpGhbVvNmAVw/Zui QyLg== ARC-Authentication-Results: i=1; mx.google.com; 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 az8-v6si6545770plb.665.2018.03.26.13.34.27; Mon, 26 Mar 2018 13:34:43 -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; 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 S1751866AbeCZUdY (ORCPT + 99 others); Mon, 26 Mar 2018 16:33:24 -0400 Received: from ale.deltatee.com ([207.54.116.67]:56546 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983AbeCZUdV (ORCPT ); Mon, 26 Mar 2018 16:33:21 -0400 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1f0Ynq-0003Ns-Pj; Mon, 26 Mar 2018 14:33:15 -0600 To: Arnd Bergmann Cc: Linux Kernel Mailing List , linux-arch , linux-ntb@googlegroups.com, "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Greg Kroah-Hartman , Andy Shevchenko , =?UTF-8?Q?Horia_Geant=c4=83?= , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , Luc Van Oostenryck References: <20180321163745.12286-1-logang@deltatee.com> <20180321163745.12286-2-logang@deltatee.com> <726eb143-2cca-b221-b569-e193a962e357@deltatee.com> From: Logan Gunthorpe Message-ID: <6a063b65-668a-ef9c-696e-8c378e6b2640@deltatee.com> Date: Mon, 26 Mar 2018 14:33:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: luc.vanoostenryck@gmail.com, kstewart@linuxfoundation.org, tglx@linutronix.de, pombredanne@nexb.com, horia.geanta@nxp.com, andy.shevchenko@gmail.com, gregkh@linuxfoundation.org, linux-crypto@vger.kernel.org, linux-ntb@googlegroups.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: [PATCH v13 01/10] iomap: Use correct endian conversion function in mmio_writeXXbe X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/03/18 01:50 PM, Arnd Bergmann wrote: > I wouldn't expect it to matter: the byte swap is almost always much > cheaper compared to the actual bus access for the MMIO, and I > would also guess that modern compilers can eliminate the double > byte swap on architectures where writel() is an inline function. Most of > the important architectures use ARCH_USE_BUILTIN_BSWAP, which > guarantees that. Fair enough. Sometime this week I'll update my patch set to change that. Thanks, Logan