Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3244581ybc; Thu, 21 Nov 2019 05:37:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzkPx2Q5/DLNDZEMFGUVtEwlc+m5fputmiCkejWceiSZjtVk1/lr+JTVodipmaK/QDFmHLD X-Received: by 2002:a5d:6181:: with SMTP id j1mr10459348wru.251.1574343458415; Thu, 21 Nov 2019 05:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574343458; cv=none; d=google.com; s=arc-20160816; b=DXKMHBbaP1+X2yEZubVv2bpFLBx9dtvLjyFJXvILFawkGf3+SchBz+MXDR47Yf/BEa dH3363meVi8Tkd+Aa82lNAJYgfkccBm14LOV7Dq4nYhBsh8+hBBN9O500LUZQTs84TLZ FMsniY5kfwN4+WndZHoF50sComnjZ5wPntzJTageDGFVeNKLcp/XdegDkt+PoXCAcTro cxjcE7QMG95WbAzA16jdtelPm8R3IQyi+mJwFMHSu/3GLyujFNCBEvizyNLdqCrl07Q+ TV+xlJkvX/9qMxYLjmHvv+Z5A8+Ef90L3FXOU848P++yoBo1SAf5t7NfdLwVcsH2uP5A xcZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=KepzmhCq83KzfDCA87WrI5xkil5mpDFUlmr7l0xxBt4=; b=WOA311vNhy8Rf+7oVUAhh8YwJ27Wsub8h5+Au2jaaX1NbYr7bjj4pI+sIsWg+qVtpn 8j9ea5fbzoWpGI5eaRZZ+TCySP2qyITYSAs7VxbHLbAQFMw8vbdRvDBsf7X7G/n9ZgU+ ESjNkoRV54jXl8IOgMkDMZobqSpldUPPmCyiIGEepZfyE1BqRMkzDWoAvzn7WuKdggVr vz2buoecEI2B9NHtU0yWpB9FnZtWu6bXoPACNmBHaqwQ5nYqJRBdbXIFRzMmYKS/g+y5 Wi0NotVO9qmSglkjkk0T6/dpoMwcaSgsNPvBSwhgNQNOJY28j1/IBx14YSNPB8tEcsWM dbHw== 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 u93si2913394edc.184.2019.11.21.05.37.12; Thu, 21 Nov 2019 05:37:38 -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 S1726985AbfKUNd5 (ORCPT + 99 others); Thu, 21 Nov 2019 08:33:57 -0500 Received: from foss.arm.com ([217.140.110.172]:56336 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbfKUNd4 (ORCPT ); Thu, 21 Nov 2019 08:33:56 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E35FBDA7; Thu, 21 Nov 2019 05:33:55 -0800 (PST) Received: from [10.1.196.37] (e121345-lin.cambridge.arm.com [10.1.196.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 187683F703; Thu, 21 Nov 2019 05:33:53 -0800 (PST) Subject: Re: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M To: Christian Zigotzky , Christoph Hellwig Cc: 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 References: <20191121072943.GA24024@lst.de> <6eec5c42-019c-a988-fc2a-cb804194683d@xenosoft.de> From: Robin Murphy Message-ID: Date: Thu, 21 Nov 2019 13:33:52 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <6eec5c42-019c-a988-fc2a-cb804194683d@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/11/2019 12:21 pm, Christian Zigotzky wrote: > On 21 November 2019 at 01:16 pm, Christian Zigotzky wrote: >> On 21 November 2019 at 08:29 am, Christoph Hellwig wrote: >>> On Sat, Nov 16, 2019 at 08:06:05AM +0100, Christian Zigotzky wrote: >>>> /* >>>>   *  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=1 >>>> >>>> I will configure “0 : 32 bit addressing for all chips” for the RC8. >>>> Maybe this is the solution. >>> 0 means you are going to do bounce buffering a lot, which seems >>> generally like a bad idea. >>> >>> But why are we talking about the sym53c8xx driver now?  The last issue >>> you reported was about video4linux allocations. >>> >> Both drivers have the same problem. They don't work if we have more >> than 3.5GB RAM. I try to find a solution until you have a good >> solution. I have already a solution for V4L but I still need one for >> the sym53c8xx driver. > OK, you mean that "0" is a bad idea but maybe it works until you have a > solution. ;-) Is this on the same machine with the funny non-power-of-two bus_dma_mask as your other report? If so, does Nicolas' latest patch[1] help at all? Robin. [1] https://lore.kernel.org/linux-iommu/20191121092646.8449-1-nsaenzjulienne@suse.de/T/#u