From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E08BC43603 for ; Wed, 4 Dec 2019 12:22:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2F5422084F for ; Wed, 4 Dec 2019 12:22:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="dVlIWBEy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F5422084F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CAE156B0A82; Wed, 4 Dec 2019 07:22:58 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C37E26B0A83; Wed, 4 Dec 2019 07:22:58 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B27666B0A84; Wed, 4 Dec 2019 07:22:58 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0119.hostedemail.com [216.40.44.119]) by kanga.kvack.org (Postfix) with ESMTP id 9D06C6B0A82 for ; Wed, 4 Dec 2019 07:22:58 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 598FC5832 for ; Wed, 4 Dec 2019 12:22:58 +0000 (UTC) X-FDA: 76227373236.07.tiger01_19d26feff7a03 X-HE-Tag: tiger01_19d26feff7a03 X-Filterd-Recvd-Size: 3999 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.50]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Wed, 4 Dec 2019 12:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1575462175; s=strato-dkim-0002; d=xenosoft.de; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=H2XdL0WH9WfdbiDKiy00K13CMFaOvBkQg2NsnPLwBhw=; b=dVlIWBEyOMSdK1LFvzyg2gMCVuLY5JOXoNFQImUODCOvG7rWttXlgrqqP/RLd03iPu p1NkxMqM412g3n7U56A+PuD7MthZQC/zy46BNhncRzhFYPWF0dNyQFeKcZyKayOE+8Sm kmX88cJaBDK6VM+vg4Vvhghx5vG7ThV6kCBb3lO0uDimiojanmrcVE5/npRbIy99GZ9D UaECkrdrD2YX9hCya3EeYx/9gO5pE50G3I/H4OXZ939FvSKeaVli3CNWRq2ghtWzvCfu 7rlhk1Gx90CWC2eOnzLOXfA4Wk5NbiftHYPpi7KBgT3ic4kn4hNQY8XZO6k663Q4uFy8 YB1g== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr6KxrfO5Oh7R7b2ZxiLpgl3fPNI3J+howFgN/UFpfqH4qvEmeI241" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a01:598:b103:5c16:7d2b:6241:f205:b3e2] by smtp.strato.de (RZmta 46.0.2 AUTH) with ESMTPSA id v035a1vB4CM2CvE (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 4 Dec 2019 13:22:02 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M From: Christian Zigotzky X-Mailer: iPhone Mail (16G102) In-Reply-To: <20191204085634.GA25929@lst.de> Date: Wed, 4 Dec 2019 13:22:01 +0100 Cc: Mike Rapoport , Robin Murphy , linux-arch@vger.kernel.org, darren@stevens-zone.net, mad skateman , Benjamin Herrenschmidt , linux-kernel@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Rob Herring , paulus@samba.org, rtd2@xtra.co.nz, "contact@a-eon.com" , linuxppc-dev , nsaenzjulienne@suse.de Content-Transfer-Encoding: quoted-printable Message-Id: <1D79E674-5A47-4268-AA96-DA02E8A51929@xenosoft.de> References: <6eec5c42-019c-a988-fc2a-cb804194683d@xenosoft.de> <20191121180226.GA3852@lst.de> <2fde79cf-875f-94e6-4a1b-f73ebb2e2c32@xenosoft.de> <20191125073923.GA30168@lst.de> <4681f5fe-c095-15f5-9221-4b55e940bafc@xenosoft.de> <20191126164026.GA8026@lst.de> <20191127065624.GB16913@linux.ibm.com> <20191204085634.GA25929@lst.de> To: Christoph Hellwig X-Bogosity: Ham, tests=bogofilter, spamicity=0.000102, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: I think we have to wait to Roland=E2=80=99s test results with his SCSI PCI c= ard. Christian Sent from my iPhone > On 4. Dec 2019, at 09:56, Christoph Hellwig wrote: >=20 >> 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, >>>>=20 >>>> The PCI TV card works with your patch! I was able to patch your Git ker= nel=20 >>>> with the patch above. >>>>=20 >>>> I haven't found any error messages in the dmesg yet. >>>=20 >>> 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! >>=20 >> Maybe we'll simply force bottom up allocation before calling >> swiotlb_init()? Anyway, it's the last memblock allocation. >=20 > 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.