From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427145AbcBTUy1 (ORCPT ); Sat, 20 Feb 2016 15:54:27 -0500 Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:23917 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759416AbcBTUyW (ORCPT ); Sat, 20 Feb 2016 15:54:22 -0500 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Sat, 20 Feb 2016 21:54:20 +0100 X-ME-IP: 109.222.195.191 From: Robert Jarzmik To: Arnd Bergmann Cc: Krzysztof =?utf-8?Q?Ha=C5=82asa?= , linux-arm-kernel@lists.infradead.org, Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Felipe Balbi , Haojian Zhuang , Daniel Mack , Imre Kaloz Subject: Re: [PATCH 3/7] usb: gadget: pxa25x_udc: use readl/writel for mmio References: <1453997722-3489596-1-git-send-email-arnd@arndb.de> <2702068.KRp0Bplb5Q@wuerfel> <3062977.Ya2ztQYFaM@wuerfel> X-URL: http://belgarath.falguerolles.org/ Date: Sat, 20 Feb 2016 21:54:17 +0100 In-Reply-To: <3062977.Ya2ztQYFaM@wuerfel> (Arnd Bergmann's message of "Tue, 16 Feb 2016 14:55:43 +0100") Message-ID: <87povrxfuu.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > Coming back to the specific pxa25x_udc case: using __raw_* accessors > in the driver would possibly end up breaking the PXA25x machines in > the (very unlikely) case that someone wants to make it work with > big-endian kernels, assuming it does not have the same hardware > byteswap logic as ixp4xx. As far as I know, pxa25x machine implies the kernel is little endian. From an hardware perspective, pxa25x doesn't support big endian (old ARM platform). So I don't think considering BE for pxa25x is ... necessary. Cheers. -- Robert