From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756776Ab2GMI4d (ORCPT ); Fri, 13 Jul 2012 04:56:33 -0400 Received: from service87.mimecast.com ([91.220.42.44]:35733 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756571Ab2GMI4X convert rfc822-to-8bit (ORCPT ); Fri, 13 Jul 2012 04:56:23 -0400 Message-ID: <4FFFE2B3.3040306@arm.com> Date: Fri, 13 Jul 2012 09:56:19 +0100 From: viresh kumar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Andy Shevchenko CC: viresh kumar , Andy Shevchenko , "linux-kernel@vger.kernel.org" , Vinod Koul , Dan Williams , spear-devel Subject: Re: [PATCH 3/3] dw_dmac: set default alignment References: <1342166974-4490-1-git-send-email-andriy.shevchenko@linux.intel.com> <1342166974-4490-3-git-send-email-andriy.shevchenko@linux.intel.com> In-Reply-To: X-MC-Unique: 112071309562100401 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/07/12 09:45, Andy Shevchenko wrote: >> > To understand it more, what does this mean? We will not support >> > transfers with unaligned >> > addresses/length to word size? > The dmatest module uses those constants to get source, destination > addresses and length of the test data aligned. On the other hand we > can't use unaligned address in LLI because of the hardware restriction > (2 bits are used for choosing AHB master). To be clear, we can't use unaligned address of an LLI struct, but src/dest address inside LLI can be unaligned. I wanted to ask, will normal memcpy for anybody will work with unaligned addresses with this patch? I believe they will. -- Viresh -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.