Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933203AbbFIUdd (ORCPT ); Tue, 9 Jun 2015 16:33:33 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:45626 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933060AbbFIUdS (ORCPT ); Tue, 9 Jun 2015 16:33:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Tue, 09 Jun 2015 22:31:07 +0200 From: Stefan Agner To: Sebastian Andrzej Siewior Cc: dwmw2@infradead.org, computersforpeace@gmail.com, mark.rutland@arm.com, boris.brezillon@free-electrons.com, aaron@tastycactus.com, marb@ixxat.de, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-mtd@lists.infradead.org, kernel@pengutronix.de, galak@codeaurora.org, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org, bpringlemeir@nbsps.com Subject: Re: [PATCH v4 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others In-Reply-To: <20150609200751.GC5720@breakpoint.cc> References: <1427300909-20825-1-git-send-email-stefan@agner.ch> <1427300909-20825-2-git-send-email-stefan@agner.ch> <20150603130825.GA23991@breakpoint.cc> <20150609200751.GC5720@breakpoint.cc> Message-ID: <16ebb290641f700f2262527f90ff1e46@agner.ch> User-Agent: Roundcube Webmail/1.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 32 On 2015-06-09 22:07, Sebastian Andrzej Siewior wrote: > On 2015-06-03 17:05:16 [+0200], Stefan Agner wrote: >> As Boris guessed correctly, the reason I used the raw variant was due to >> performance improvements due to the barrier. However, I will use > > yeah, do you have any numbers by chance? Not current ones for Linux. I added this in the U-Boot variant of the driver. >> {read|write}l_relaxed instead, which should offer endian abstraction >> while not having the performance penalty due to extensive barriers... > > well, even those > |$ git grep readl_relaxed arch/powerpc/ > |arch/powerpc/include/asm/io.h:#define readl_relaxed(addr) readl(addr) > > have the endian swap. So an abstraction like you provided earlier > would be nice :) What do you mean by that? Btw, I sent v5 of the patchset which use the relaxed variants. As expected, performance did not suffer by that change on ARM. -- Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/