Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1EE05C4708D for ; Fri, 6 Jan 2023 14:51:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gddQH4RfiwyiBBaRFYAenY4OsvEqMbZkl3ZRxMEsrkE=; b=EPhNtY8PMZYXBk XizKhM/k/D2TjF+QIRiRjy2ChgnN32LNsFUOpmddZJGd762/X8pwXpMRQ8YQApfV0VI3LiwaC1OO5 /uh3ZlQwm5wevx95VGZWfBR/8zHdf47YjscMEZ4i6jQy4CbUXGPESw7W+FuQBIG74xsVgKYOcWnO6 R0+H1+qqHEgpGayXJ4Qv7KphXarVw+zbmM+Z2LPzvc9r8ks3DIVhAUGjJftvOClUMBer0ze8SWajq UnjqtOJSVR1f1dVpf3QFvxZCQL2p4kf6pCARw2qS6lj6xqwB27uSJGrnGN1WCdn3Hcg3niYUKYBkg RBQ45x6Bjhi5PCUhOyDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDo3v-008vYx-N5; Fri, 06 Jan 2023 14:51:15 +0000 Received: from imap5.colo.codethink.co.uk ([78.40.148.171]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDo3s-008vW1-Px for linux-riscv@lists.infradead.org; Fri, 06 Jan 2023 14:51:14 +0000 Received: from [167.98.27.226] (helo=[10.35.5.156]) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1pDo3k-0019i8-Bc; Fri, 06 Jan 2023 14:51:05 +0000 Message-ID: Date: Fri, 6 Jan 2023 14:51:04 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] riscv: dts: fu740: fix size of pcie 32bit memory Content-Language: en-GB To: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Cc: robh+dt@kernel.org, palmer@dabbelt.com, krzysztof.kozlowski+dt@linaro.org, zong.li@sifive.com, linux-kernel@lists.codethink.co.uk, sudip.mukherjee@codethink.co.uk, Paul Walmsley , Greentime Hu References: <20230106134456.265891-1-ben.dooks@codethink.co.uk> <422275a4-b082-2951-71f2-04f33e036438@linaro.org> From: Ben Dooks Organization: Codethink Limited. In-Reply-To: <422275a4-b082-2951-71f2-04f33e036438@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230106_065112_992696_653E5CA5 X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 06/01/2023 14:07, Krzysztof Kozlowski wrote: > On 06/01/2023 14:44, Ben Dooks wrote: >> The 32-bit memory resource is needed for non-prefetchable memory >> allocations on the PCIe bus, however with some cards (such as the >> SM768) the system fails to allocate memory from this. >> >> Checking the allocation against the datasheet, it looks like there >> has been a mis-calcualation of the resource for the first memory >> region (0x0060090000..0x0070ffffff) which in the data-sheet for >> the fu740 (v1p2) is from 0x0060000000..0x007fffffff. Changing >> this to allocate from 0x0060090000..0x007fffffff fixes the probing >> issues. >> >> Fixes: ae80d514808557018e44190 ("riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC >> ") > > Don't wrap lines. > >> > > Drop empty line between tags. Thanks, will fix. Does anyone have a chance to review and/or test this, it works for me but I've not got a large number of devices to test with. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv