From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424134AbcFIIOm (ORCPT ); Thu, 9 Jun 2016 04:14:42 -0400 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:39031 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161123AbcFIIOg (ORCPT ); Thu, 9 Jun 2016 04:14:36 -0400 Subject: Re: [RFC PATCH 15/15] iommu/exynos: update to use iommu big-endian To: Marek Szyprowski , Matthew Leach , Krzysztof Kozlowski References: <20160608183110.13851-1-matthew@mattleach.net> <20160608183110.13851-16-matthew@mattleach.net> <338cbdc6-2830-813b-713e-1cc40d23d1f9@samsung.com> Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Joerg Roedel , Kukjin Kim , iommu@lists.linux-foundation.org From: Ben Dooks Organization: Codethink Limited. Message-ID: Date: Thu, 9 Jun 2016 09:14:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: <338cbdc6-2830-813b-713e-1cc40d23d1f9@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/16 07:51, Marek Szyprowski wrote: > Hi > > > On 2016-06-08 20:31, Matthew Leach wrote: >> From: Ben Dooks >> >> Add initial support for big endian by always writing the pte >> in le32. Note, revisit if hardware capable of doing big endian >> fetches. >> >> Signed-off-by: Ben Dooks > > Acked-by: Marek Szyprowski > > Just to keep my curiosity satisfied - what's the reason to use > big-endian on ARM? Because we can. It was interesting to try. > Good luck with fixing the kernel and userspace codes, which usually > assume little-endian is the only possible order! We did a BE8 build of the baserock userspace a year or two ago and found mostly it just worked. I think Matt is using that image for testing the work he's been doing. I've no idea if we would ever bother trying to build Debian for BE8 or similar, as not sure it would be worth trying. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius