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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D722AC4708D for ; Fri, 6 Jan 2023 14:51:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234237AbjAFOvP (ORCPT ); Fri, 6 Jan 2023 09:51:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235370AbjAFOvO (ORCPT ); Fri, 6 Jan 2023 09:51:14 -0500 Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D932392DE for ; Fri, 6 Jan 2023 06:51:09 -0800 (PST) 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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