From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 3/4] ARM: dts: Add cppi41 support for dm816x MUSB Date: Wed, 18 Mar 2015 09:25:29 -0700 Message-ID: <20150318162528.GO31346@atomide.com> References: <1426637961-4197-1-git-send-email-tony@atomide.com> <1426637961-4197-4-git-send-email-tony@atomide.com> <20150318003121.GA12911@saruman.tx.rr.com> <20150318011836.GK31346@atomide.com> <20150318144035.GB1116@saruman.tx.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from muru.com ([72.249.23.125]:38367 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754622AbbCRQaN (ORCPT ); Wed, 18 Mar 2015 12:30:13 -0400 Content-Disposition: inline In-Reply-To: <20150318144035.GB1116@saruman.tx.rr.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Felipe Balbi Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bin Liu , Brian Hutchinson , Matthijs van Duin * Felipe Balbi [150318 07:41]: > On Tue, Mar 17, 2015 at 06:18:37PM -0700, Tony Lindgren wrote: > > * Felipe Balbi [150317 17:32]: > > > Hi, > > > > > > On Tue, Mar 17, 2015 at 05:19:20PM -0700, Tony Lindgren wrote: > > > > Looks like we have cppi41 on dm816x just like on am335x. > > > > > > > > Cc: Bin Liu > > > > Cc: Brian Hutchinson > > > > Cc: Felipe Balbi > > > > Cc: Matthijs van Duin > > > > Signed-off-by: Tony Lindgren > > > > > > Any logs available ? Any throughput improvements with DMA ? > > > > So far I only logged with the debug option on. I can do some > > test runs with your for-next branch to a USB mass storage device > > if you prefer that, or got some other test in mind? > > mass storage should be fine, just wanna know if you're getting > acceptable throughput. No luck with your current merge branch with DMA right now, it's producing an error both on bbb and dm816x: "musb-hdrc musb-hdrc.0.auto: Need DT for the DMA engine." So here are some test results against -rc4. CONFIG_MUSB_PIO_ONLY Copy a 10MB file to /dev/sda right after a reboot: # time /bin/sh -c 'cp filler /mnt/ && sync' real 0m2.480s user 0m0.000s sys 0m0.320s Run hdparm a few times: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 34 MB in 3.16 seconds = 10.75 MB/sec CONFIG_USB_TI_CPPI41_DMA Copy a 10MB file to /dev/sda right after a reboot: # time /bin/sh -c 'cp filler /mnt/ && sync' real 0m2.095s user 0m0.000s sys 0m0.310s Run hdparm a few times: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 52 MB in 3.07 seconds = 16.94 MB/sec Regards, Tony