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=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 251DCC432C3 for ; Sat, 16 Nov 2019 07:06:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DB0B520718 for ; Sat, 16 Nov 2019 07:06:57 +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="hj/MM3uk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB0B520718 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 577086B0003; Sat, 16 Nov 2019 02:06:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 527896B0006; Sat, 16 Nov 2019 02:06:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 43D646B0007; Sat, 16 Nov 2019 02:06:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0027.hostedemail.com [216.40.44.27]) by kanga.kvack.org (Postfix) with ESMTP id 2B44F6B0003 for ; Sat, 16 Nov 2019 02:06:57 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id C6FE7181AEF15 for ; Sat, 16 Nov 2019 07:06:56 +0000 (UTC) X-FDA: 76161258432.20.name95_2520244a413b X-HE-Tag: name95_2520244a413b X-Filterd-Recvd-Size: 3150 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.54]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Sat, 16 Nov 2019 07:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1573888014; s=strato-dkim-0002; d=xenosoft.de; h=To:Cc:Message-Id:Subject:Date:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=zuFc8xULBzIlsh03+xVDOKfPqAywShuzPS+aigybEXY=; b=hj/MM3uk1eb1Gr1ppFgQnNJJXRK33qEpeLSyyIB+i7i8oRtwXXdF6UognO8Z+5ldnK tuhcJk9rOaGF4LGUc9weH2QEAVjacZVty2Od54e8eaH1m8DJrmFabPN3O7yCz5eYDr2e K5Tg0hq+77MWhfVAdi8DnLTK4o26oDP5wuQGZyW6YE5jQmHHmiozC4vrq6GWpnZblIGU FYwXRwGepWaaGghYuiB8JSEB6qgWrQCmE0ZP9RB1LP9oYv1PRCDSXK0mPW6SHRCVIcMQ qHIGuLVIlgqGB55Nd/M4otSbbK6wiZynctA+uOrqlYFjKrDKQCDhCAUmzlrD/uaEbbHY M5pw== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr6KxrfO5Oh7R7NWZ537pkxH6J+aB1+9x3aDxi+HSYc7KsUHFpLrY=" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a01:598:818d:108:b105:ba81:413a:5ece] by smtp.strato.de (RZmta 44.29.0 AUTH) with ESMTPSA id q007c8vAG7667Rt (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 16 Nov 2019 08:06:06 +0100 (CET) From: Christian Zigotzky Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sat, 16 Nov 2019 08:06:05 +0100 Subject: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M Message-Id: Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Benjamin Herrenschmidt , paulus@samba.org, darren@stevens-zone.net, "contact@a-eon.com" , rtd2@xtra.co.nz, mad skateman , Rob Herring , linuxppc-dev , nsaenzjulienne@suse.de To: Christoph Hellwig X-Mailer: iPhone Mail (16G102) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000068, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: FYI: Source files of the Dawicontrol DC 2976 UW SCSI board (PCI): https://gi= t.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/s= ym53c8xx_2?h=3Dv5.4-rc7 /* * DMA addressing mode. * * 0 : 32 bit addressing for all chips. * 1 : 40 bit addressing when supported by chip. * 2 : 64 bit addressing when supported by chip, * limited to 16 segments of 4 GB -> 64 GB max. */ #define SYM_CONF_DMA_ADDRESSING_MODE CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_= MODE Cyrus config: CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=3D1 I will configure =E2=80=9C0 : 32 bit addressing for all chips=E2=80=9D for t= he RC8. Maybe this is the solution. > On 13. Nov 2019, at 12:02, Christoph Hellwig wrote: >=20 > Interesting. Give me some time to come up with a real fix, as drivers > really should not mess with GFP flags for these allocations, and even > if they did swiotlb is supposed to take care of any resulting problems.