Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp378955ybl; Wed, 4 Dec 2019 04:23:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxxxcAadnRLBRKfMM/Oao1Yt+5hErG5ydUAEr5l6CTw5DTeBS7OIJpB2rCH6OmPhH0LhAud X-Received: by 2002:a9d:18b:: with SMTP id e11mr2051935ote.305.1575462230891; Wed, 04 Dec 2019 04:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575462230; cv=none; d=google.com; s=arc-20160816; b=NVhEF/CQqpYo5YpAF5t0g9ukBaxy4ubHboHuTzshyBOUCD1dllAScD4+iZXcdavxCg JH88xpMUJi7V+47AyhHPxmIAiX+u+coaKO3LIWQCIoFRjxELjpEV4bqZ6QynNaPXykEz i6O3J/5z1r2UccudCQ7bWyx/cj7qgRyLaUWJQlTgOWmsZSX/DuytHT/fistIyYt1V4WK 5x1Vq0TGAtZM+DAYL55FcSO1+3AHPy33XtnZEiPfO02EWOn57rbQezaSQRk+kuERW3ra ErL7QShz/9RubelVAl7HMDDXIe4BZl9KP72psqbW+ItLpgYP+ZOExGuRlSOxY83rFyJm Nu1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=H2XdL0WH9WfdbiDKiy00K13CMFaOvBkQg2NsnPLwBhw=; b=A+iwlLPOyUZ57fGWWkff/dfdrKA9JyBvht+yGnqZlmC+HYyGlJDS5VbTD2A0zZeeB/ H+Glf3k+GSqaGCNGzWQUQ78/qruSgKCDe30YyvdN3hyNlo+CJ2QmScP5FPagT1szVStc 2AiZl/KamPcYpHBMsaXqF9NaDKtyx3nbVfwI75FkGoaCbmaGWkzu4PVtKahZSdiTccKp 5B5fpHpNPHdL0xQsoghTgmCCg4vp6sE1/KftRBUm8Bq+qS0b5gYu10ndZ2wwInrW08p/ 4+dJlky2DkKxURqj/k+o1xectxyi7IEY8Bi+ZQL66bcgnADmQh/4xiQOBleu+4iXdKGZ Pi9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@xenosoft.de header.s=strato-dkim-0002 header.b=FF5KZHup; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si3007951otn.232.2019.12.04.04.23.38; Wed, 04 Dec 2019 04:23:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@xenosoft.de header.s=strato-dkim-0002 header.b=FF5KZHup; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727865AbfLDMXJ (ORCPT + 99 others); Wed, 4 Dec 2019 07:23:09 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.167]:22266 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727703AbfLDMXI (ORCPT ); Wed, 4 Dec 2019 07:23:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1575462184; 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=FF5KZHupkGFuNFCOfhIA6q79PW7/UThT7Ai1apIr8JGIK4hE5eoNlaS6nVCIJCNQwY 8Hm7gBfbQlI3emwzqxwVs9s+3KaJGlW7q3jqyROX2A6xJHO3gNjyc7huOTRbml9Y6pWi u3QQeEuw/yIryfW6etN2G/t1ENa4afMvaiy14MedzGiYBJ6+UKZDj290CSbCfDdgDWhn JkPATaqKnm8D/WtPJCZuNw9RAhd1k3z8MvFniDfA/lk8XQglhd+00XVo3vkr0+QaMv2j LI7wle6VmcmVgDaJNiS7dX2QC99PB6hXZMNeqMFriDI3Bn5bey1yX+l8gDNLOdf0ttFa ZobQ== 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.