Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168Ab0H2MfF (ORCPT ); Sun, 29 Aug 2010 08:35:05 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:57949 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764Ab0H2MfD (ORCPT ); Sun, 29 Aug 2010 08:35:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tLX71b+mdEVvjEXVkAx+lm8JgI7P0BUoTiTkLvKG8f3nScfcxYO69tJ99A0gSpHtUv RnZf1lu2kZ7ihh2OTyOw91WUwUX3Y+cBy5DOyBxmUJ1tuKj82vyCqw0IB1uHfw1iK4Em iwTTOP587OG+G+V0ahD4niP2k+DrNmPfrunMw= MIME-Version: 1.0 In-Reply-To: <20100828161858.GI1473@pengutronix.de> References: <1281956870-12463-1-git-send-email-s.hauer@pengutronix.de> <20100823174852.GB26928@pengutronix.de> <201008281727.10913.marek.vasut@gmail.com> <20100828161858.GI1473@pengutronix.de> Date: Sun, 29 Aug 2010 14:35:01 +0200 Message-ID: Subject: Re: [PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support From: Linus Walleij To: Sascha Hauer Cc: Marek Vasut , linux-arm-kernel@lists.infradead.org, Dan Williams , linux-kernel@vger.kernel.org, =?ISO-8859-1?Q?Uwe_Kleine=2DK=F6nig?= Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 27 2010/8/28 Sascha Hauer : > Peripherals integrated into a SoC like the SDMA engine here are > normally accessible in native endianess and thus need the __raw_* > functions. So the SDMA actually switch and twist around the endianness of its registers if it's synthesized into a bigendian version of the system? Or hardware-dynamically even depending on the setting of the endianness bit in the ARM core? How can that possibly even work... But I'm still impressed by the statemachines some silicon engineers come up with so wouldn't surprise me. X-) I understand the code now atleast. Our hardware is always synthesized LE so we so handily use [read|write][b|w|l] everywhere, luckily. Yours, Linus Walleij -- 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/