[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191204085634.GA25929@lst.de>
Date: Wed, 4 Dec 2019 09:56:34 +0100
From: Christoph Hellwig <hch@....de>
To: Mike Rapoport <rppt@...ux.ibm.com>
Cc: Christoph Hellwig <hch@....de>,
Christian Zigotzky <chzigotzky@...osoft.de>,
Robin Murphy <robin.murphy@....com>,
linux-arch@...r.kernel.org, darren@...vens-zone.net,
mad skateman <madskateman@...il.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
iommu@...ts.linux-foundation.org, Rob Herring <robh+dt@...nel.org>,
paulus@...ba.org, rtd2@...a.co.nz,
"contact@...on.com" <contact@...on.com>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
nsaenzjulienne@...e.de
Subject: Re: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI
board installed, unless RAM size limited to 3500M
On Wed, Nov 27, 2019 at 08:56:25AM +0200, Mike Rapoport wrote:
> On Tue, Nov 26, 2019 at 05:40:26PM +0100, Christoph Hellwig wrote:
> > On Tue, Nov 26, 2019 at 12:26:38PM +0100, Christian Zigotzky wrote:
> > > Hello Christoph,
> > >
> > > The PCI TV card works with your patch! I was able to patch your Git kernel
> > > with the patch above.
> > >
> > > I haven't found any error messages in the dmesg yet.
> >
> > Thanks. Unfortunately this is a bit of a hack as we need to set
> > the mask based on runtime information like the magic FSL PCIe window.
> > Let me try to draft something better up, and thanks already for testing
> > this one!
>
> Maybe we'll simply force bottom up allocation before calling
> swiotlb_init()? Anyway, it's the last memblock allocation.
So I think we should go with this fix (plus a source code comment) for
now. Revamping the whole memory initialization is going to take a
while, and this fix also is easily backportable.
Powered by blists - more mailing lists