From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Date: Tue, 28 Apr 2015 15:28:53 +0000 Subject: Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform Message-Id: List-Id: References: <20150407121247.GA29497@amd> <20150409110634.GA27407@amd> <552660C7.4020805@ti.com> <552663C2.70308@ti.com> <55277650.8070607@codeaurora.org> <20150424132923.GA11729@amd> <553A47D3.2070107@ti.com> <20150428134848.GC12732@n2100.arm.linux.org.uk> In-Reply-To: <20150428134848.GC12732-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Russell King - ARM Linux Cc: Geert Uytterhoeven , Tomi Valkeinen , Pavel Machek , Archit Taneja , Marek Vasut , kernel list , Dinh Nguyen , Jean-Christophe PLAGNIOL-VILLARD , Grant Likely , Rob Herring , Jingoo Han , Rob Clark , Linux Fbdev development list , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alexander Shiyan , H Hartley Sweeten On Tue, 28 Apr 2015, Russell King - ARM Linux wrote: > On Fri, Apr 24, 2015 at 03:46:56PM +0200, Geert Uytterhoeven wrote: > > So please optimize ARM's _memcpy_fromio(), _memcpy_toio(), and _memset_io(). > > That will benefit other drivers on ARM, too. > > That's not going to happen. > > I've had a patch which does that, but people are concerned that it changes > the behaviour of the functions by changing the access size, which could > cause regressions. It seems people are far too worried about that to even > consider trying. :( What about making the optimized implementation available via kconfig? Nicolas