From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Zigotzky Subject: Re: use generic DMA mapping code in powerpc V4 Date: Sat, 19 Jan 2019 12:52:52 +0100 Message-ID: References: <20190115133558.GA29225@lst.de> <685f0c06-af1b-0bec-ac03-f9bf1f7a2b35@xenosoft.de> <20190115151732.GA2325@lst.de> <20190118083539.GA30479@lst.de> <871403f2-fa7d-de15-89eb-070432e15c69@xenosoft.de> <20190118112842.GA9115@lst.de> <20190118121810.GA13327@lst.de> <20190118125500.GA15657@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: de-DE List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" To: Christoph Hellwig Cc: linux-arch@vger.kernel.org, Darren Stevens , linux-kernel@vger.kernel.org, Julian Margetson , linux-mm@kvack.org, iommu@lists.linux-foundation.org, Paul Mackerras , Olof Johansson , linuxppc-dev@lists.ozlabs.org List-Id: linux-arch.vger.kernel.org Hi Christoph, I have found a small workaround. If I add 'mem=3500M' to the boot arguments then it detects the SATA hard disk and boots without any problems. X5000> setenv bootargs root=/dev/sda2 console=ttyS0,115200 mem=3500M Cheers, Christian On 19 January 2019 at 12:40PM, Christian Zigotzky wrote: > Hi Christoph, > > I bought a USB null modem RS-232 serial cable today so I was able to > get some SATA error messages. > > Error messages: > > [   13.468538] fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init > [   13.475106] fsl-sata ffe220000.sata: failed to start port 0 > (errno=-12) > [   13.481736] fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init > [   13.488267] fsl-sata ffe221000.sata: failed to start port 0 > (errno=-12) > > --- > > errno=-12 = Out of memory > > Please find attached the complete serial log. > > Cheers, > Christian > > > On 18 January 2019 at 4:06PM, Christian Zigotzky wrote: >> Hello Christoph, >> >> I was able to compile 257002094bc5935dd63207a380d9698ab81f0775 from >> your Git powerpc-dma.6-debug today. >> >> Unfortunately I don't see any error messages (kernel ring buffer) and >> I don't have a RS232 serial null modem cable to get them. >> >> Cheers, >> Christian >> >> > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:19063 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbfASLw4 (ORCPT ); Sat, 19 Jan 2019 06:52:56 -0500 Subject: Re: use generic DMA mapping code in powerpc V4 From: Christian Zigotzky References: <20190115133558.GA29225@lst.de> <685f0c06-af1b-0bec-ac03-f9bf1f7a2b35@xenosoft.de> <20190115151732.GA2325@lst.de> <20190118083539.GA30479@lst.de> <871403f2-fa7d-de15-89eb-070432e15c69@xenosoft.de> <20190118112842.GA9115@lst.de> <20190118121810.GA13327@lst.de> <20190118125500.GA15657@lst.de> Message-ID: Date: Sat, 19 Jan 2019 12:52:52 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE Sender: linux-arch-owner@vger.kernel.org List-ID: To: Christoph Hellwig Cc: linux-arch@vger.kernel.org, Darren Stevens , linux-kernel@vger.kernel.org, Julian Margetson , linux-mm@kvack.org, iommu@lists.linux-foundation.org, Paul Mackerras , Olof Johansson , linuxppc-dev@lists.ozlabs.org Message-ID: <20190119115252.jX4JSF2YTWx6vAlQ_LBMm6YnYKXq-XfM6sOjqjErFaI@z> Hi Christoph, I have found a small workaround. If I add 'mem=3500M' to the boot arguments then it detects the SATA hard disk and boots without any problems. X5000> setenv bootargs root=/dev/sda2 console=ttyS0,115200 mem=3500M Cheers, Christian On 19 January 2019 at 12:40PM, Christian Zigotzky wrote: > Hi Christoph, > > I bought a USB null modem RS-232 serial cable today so I was able to > get some SATA error messages. > > Error messages: > > [   13.468538] fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init > [   13.475106] fsl-sata ffe220000.sata: failed to start port 0 > (errno=-12) > [   13.481736] fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init > [   13.488267] fsl-sata ffe221000.sata: failed to start port 0 > (errno=-12) > > --- > > errno=-12 = Out of memory > > Please find attached the complete serial log. > > Cheers, > Christian > > > On 18 January 2019 at 4:06PM, Christian Zigotzky wrote: >> Hello Christoph, >> >> I was able to compile 257002094bc5935dd63207a380d9698ab81f0775 from >> your Git powerpc-dma.6-debug today. >> >> Unfortunately I don't see any error messages (kernel ring buffer) and >> I don't have a RS232 serial null modem cable to get them. >> >> Cheers, >> Christian >> >> >