Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751860AbbLUS1y (ORCPT ); Mon, 21 Dec 2015 13:27:54 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:54362 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751844AbbLUS1w convert rfc822-to-8bit (ORCPT ); Mon, 21 Dec 2015 13:27:52 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Julian Margetson Cc: Andy Shevchenko , Andy Shevchenko , Tejun Heo , linux-ide@vger.kernel.org, "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel References: <1450221935-6034-1-git-send-email-mans@mansr.com> <56758F33.20804@candw.ms> <5675A84F.2070208@candw.ms> <5675BB2F.6060107@candw.ms> <5675C452.2080206@candw.ms> <5676E906.1060603@candw.ms> <1450716497.30729.232.camel@linux.intel.com> <56783636.80901@candw.ms> <567843B8.1000801@candw.ms> Date: Mon, 21 Dec 2015 18:27:50 +0000 In-Reply-To: <567843B8.1000801@candw.ms> (Julian Margetson's message of "Mon, 21 Dec 2015 14:23:52 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1619 Lines: 36 Julian Margetson writes: > On 12/21/2015 1:55 PM, Andy Shevchenko wrote: >> On Mon, Dec 21, 2015 at 7:26 PM, Julian Margetson wrote: >>> On 12/21/2015 12:48 PM, Andy Shevchenko wrote: >>>> On Sun, 2015-12-20 at 22:55 +0200, Andy Shevchenko wrote: >>>>> On Sun, Dec 20, 2015 at 10:17 PM, Andy Shevchenko >>>>> wrote: >>>>>> On Sun, Dec 20, 2015 at 8:49 PM, M?ns Rullg?rd >>>>>> wrote: >>>>>> I noticed thanks to DWC_PARAMS that burst size is hardcoded to 32 >>>>>> items on this board, however registers for SATA program it to 64. I >>>>>> remember that I got no interrupt when I programmed transfer width >>>>>> wrongly (64 bits against 32 bits) when I ported dw_dmac to be used >>>>>> on >>>>>> Intel SoCs. >>>>> One more thing, I have a patch to monitor DMA IO, we may check what >>>>> exactly the values are written / read in DMA. I can share it >>>>> tomorrow. >>>> As promised the patch I have to debug IO of DW DMA. Didn't check though >>>> if it applies cleanly on top of recent vanilla kernel. >> So, the original driver (with patch from M?ns) works, right? >> > The hard drive is recognized . > These system gets unresponsive with USB devices like the mouse and > keyboard not responding when I start Gparted. Did you disable the SATA and DMA debug messages? -- M?ns Rullg?rd -- 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/