Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3559098ybc; Thu, 21 Nov 2019 10:05:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwBTge1qyjcO63vEYnrBqKW9+nepHDyeoyHHaz0ACk2n9gZh7Rr8Td8r+ydPiF6b0UlKqTX X-Received: by 2002:ac2:5f01:: with SMTP id 1mr8837947lfq.147.1574359501617; Thu, 21 Nov 2019 10:05:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574359501; cv=none; d=google.com; s=arc-20160816; b=KdCt19AMorRzwj0WKYMOky1CbFdpGy8XMa6Lv+qDMk9I02LskPXDtf/GUghrqDXPaU Rs+eIw7Wz0xacrgPoCcCIpX2e3pT9uPS9cYMAgPnD0vcyP+E+cAHJdsE9/3QFYZlHlkC TOxkiKZv35e3EwmFdRAyvehpEb6j3S866CsW/M8e1E2DcCMDRNchxOJ+KDe/4NUZSiE4 7oCTV7ilL3rA6eq/OTmRsuzpIlXBYpSbIOMSN6XUQM/xR2dXWi7ItKeXvkLkKQyBj2n3 tjd/ZqIxvJBOkJDXR5zcjFKzgm0oNVtO8fnxHQA/x4ugiT1ghTSTR9aflleSQOt0fFVx d3Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VlMhNb4bmN4w+HXJ5doqTQFzG6DE4ko10reELpkXxss=; b=GCIRwhbAbljKpiHwWeLvlfLXhJBKpHijSwoOvK1r6OM2J0Dko97lFVN9PXxRc8rEII QrDfjI9QbzuWQMaSiYzjXI+YxnLw+FFcmzIYdMPu4o72GMKQVtwrnXXwbI+tlV+G53yy 0IvaZ6DtL0WHxlAspLR8Vxw4MEX4wcgZ6vvOWrM3XrrUIhK3Q3DDriA1HLy2npl8aHIT o7W9D++y4H2qlqTuw1tc0pKQEnMoYCt0kJa887a7/QxAxe7GyCIu5rdeAq+lDITvrC0P b5ZcZqyLbkTPl1Wga5k5cY4lhgL8FSs162N41sQ8z/aolkPyNo2ppDJ/AQZ//EewUGW2 W00Q== ARC-Authentication-Results: i=1; mx.google.com; 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 pg6si2297416ejb.138.2019.11.21.10.04.28; Thu, 21 Nov 2019 10:05:01 -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; 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 S1726967AbfKUSCa (ORCPT + 99 others); Thu, 21 Nov 2019 13:02:30 -0500 Received: from verein.lst.de ([213.95.11.211]:47552 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726333AbfKUSCa (ORCPT ); Thu, 21 Nov 2019 13:02:30 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 8D95E68BFE; Thu, 21 Nov 2019 19:02:26 +0100 (CET) Date: Thu, 21 Nov 2019 19:02:26 +0100 From: Christoph Hellwig To: Christian Zigotzky Cc: Robin Murphy , Christoph Hellwig , 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 Subject: Re: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M Message-ID: <20191121180226.GA3852@lst.de> References: <20191121072943.GA24024@lst.de> <6eec5c42-019c-a988-fc2a-cb804194683d@xenosoft.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 21, 2019 at 05:34:48PM +0100, Christian Zigotzky wrote: > I modified the patch and compiled a new RC8 of kernel 5.4 today. (patch > attached) > > We have to wait to Rolands test results with his SCSI PCI card. I tested it > today but my TV card doesn't work with this patch. I think we have two sorta overlapping issues here. One is that I think we need the bus_dma_limit, which should mostly help for something like a SCSI controller that doesn't need streaming mappings (btw, do we have more details on that somewhere?). And something weird with the videobuf things. Your change of the dma masks suggests that the driver doesn't do the right allocations and thus hits bounce buffering (swiotlb). We should fix that for real, but the fact that the bounce buffering itself also fails is even more interesting. Can you try this git branch: git://git.infradead.org/users/hch/misc.git fsl-dma-debugging Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/fsl-dma-debugging and send me the dmesg with that with your TV adapter?