From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754155AbaFPHXg (ORCPT ); Mon, 16 Jun 2014 03:23:36 -0400 Received: from gate.crashing.org ([63.228.1.57]:41511 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754067AbaFPHXe (ORCPT ); Mon, 16 Jun 2014 03:23:34 -0400 Message-ID: <1402903388.7661.32.camel@pasglop> Subject: Re: [PATCH] offb: Fix little-endian support From: Benjamin Herrenschmidt To: Takashi Iwai Cc: Cedric Le Goater , Dinar Valeev , Tomi Valkeinen , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 16 Jun 2014 17:23:08 +1000 In-Reply-To: References: <1400073709-15012-1-git-send-email-tiwai@suse.de> <5373772D.9060807@fr.ibm.com> <5373A200.6080301@fr.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2014-05-14 at 19:57 +0200, Takashi Iwai wrote: > > Hm, so it actually regressed on BE? > > It's strange because fb_math_be() should be true and the patch won't > change the values in that case... Shouldn't the patch be based on foreign endian being set rather than just "be" anyway ? IE. If the fb is LE and the host is LE we *also* don't want to change the ordering, which will be the case when we fix qemu... Cheers, Ben.