From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Margetson Subject: Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel Date: Mon, 21 Dec 2015 15:08:24 -0400 Message-ID: <56784E28.1050209@candw.ms> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp618.redcondor.net ([208.80.206.18]:50548 "EHLO smtp618.redcondor.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbbLUTIr (ORCPT ); Mon, 21 Dec 2015 14:08:47 -0500 In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= Cc: Andy Shevchenko , Andy Shevchenko , Tejun Heo , linux-ide@vger.kernel.org, "linux-kernel@vger.kernel.org" On 12/21/2015 2:27 PM, M=E5ns Rullg=E5rd wrote: > 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=E5ns Rullg=E5rd >>>>>>> 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 6= 4. I >>>>>>> remember that I got no interrupt when I programmed transfer wid= th >>>>>>> wrongly (64 bits against 32 bits) when I ported dw_dmac to be u= sed >>>>>>> on >>>>>>> Intel SoCs. >>>>>> One more thing, I have a patch to monitor DMA IO, we may check w= hat >>>>>> 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=E5ns) 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? > Ah. Will try with debug disabled.