Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3475090pxu; Tue, 15 Dec 2020 07:53:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYk64r0LnVPNk4uTJpVQ6Hn3OHnWyo/eFT0sbT9SKY3sh60pCeHaA3QgyFjAWLT1wZZzbu X-Received: by 2002:aa7:c058:: with SMTP id k24mr30112910edo.263.1608047596057; Tue, 15 Dec 2020 07:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608047596; cv=none; d=google.com; s=arc-20160816; b=VlP3MIliP9jT8jx/aT+Zlms4QY2Pf21oc+1e6qr9W2lcEfWyembtS39BojnI8re/jN H0HYm1YvsqO0eXHt8ODk4FX0Vrk0d/InnOdtl2xaUc9bY8A8YXqGMvNpb+Enl6u86DHh +npxQZPTez8GghUfgz2falQEs9ToR+mxcEURWbgoYIoOQSGaxfiGMA38VFoULKh2ur6q 4W4rsvLx3DwqBELq2WwG/TT3w1tIYJ1dfjbDClT3zv0evfC0dZd28UWXtLIsPeDfTSTd rotroy8NEWXJkSIJquc4SRBAAz2rhKEWO/K5ayaWg6v9sulghWUFpVjTwIMbq37u1Ttw P+8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=H0swYePE9GK2HMRvBLr5dj/ZkK0JzZjJRx/A3hm80gQ=; b=FFCdR6jYNS5vHE3onvHxP541+dekQmaH6XKn0inXAd2S4C9l+3ruVlFvuuTtkSB3dX t5Ke3VZgPu8kifDVZGgO1vXnxqQ34GWcKfl4IQrbTJMzP3rIQdOdhKswgzgbDrfhETsL m2KZMH9WgUQMSyPQN0yl+8RR+sk57f3Jc7ZPSLIvLJs37eqFQJ5bkJsKmWB+nT9PYN6z mkbLthqRTgFzeXINuidiEXp5lHC7i+CX9+urnWs4VitlMBmGmIisBIGgBWOcyQ35oKX0 AWsvqNxsW2EuMSXfyH7M+6hey+IujWAgMJJuIfr9bdCdj4chatEhJRcQKHWdOLyTRgXg 0lKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CtFESZdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id en21si1185835ejc.393.2020.12.15.07.52.51; Tue, 15 Dec 2020 07:53:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CtFESZdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730474AbgLOPuY (ORCPT + 99 others); Tue, 15 Dec 2020 10:50:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:40652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730417AbgLOPuI (ORCPT ); Tue, 15 Dec 2020 10:50:08 -0500 X-Gm-Message-State: AOAM533VzvEKppX5x2bg6rGkw/aPGGWnFKdnwkM6FCP3kZPBlUG/IryM g9pqRWC7GYUJdWUcPrKd8B0UM7ItKbqYFBJVHyA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608047367; bh=vk0DJ0JzWJlteCvdQrm7cTztN3kStbn7sC/CRkgubWQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CtFESZdADvAexjzxRDg0+RJDwS1bEU4mFWyL6SfeZ+2DucZbqnwUsNNCTL0oc4Qab IqgBNcH7SzKOr0po7+b4Co03iExifNCD9cDg2BwBcBEtUDsaLGoky7j/WtlUYOzgkg NqX7/GJCaXouRC2WodvKWPN/csUU/rsQ1Fwg82O6AasTIdQHC+wM+bCN8xX1GPASKn GYIFblyDkCWPHK9niajlvfdRymaofA08J1nxCgngcoLV1DGwURIMCKz6tfXdJ9Ya8b X0Hgew74mexMLfR0YW7R9jfyPwHyLIIN2tXasljBDeHoeuU9VdBFxxA2diiQal6Hhx YsN06IKgUKPcA== X-Received: by 2002:a9d:be1:: with SMTP id 88mr23804391oth.210.1608047366643; Tue, 15 Dec 2020 07:49:26 -0800 (PST) MIME-Version: 1.0 References: <20201016090833.1892-1-thunder.leizhen@huawei.com> <20201016090833.1892-2-thunder.leizhen@huawei.com> <20201128045328.2411772-1-f.fainelli@gmail.com> <9c6c6b7e-8c39-8c49-5c87-9b560c027841@broadcom.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 15 Dec 2020 16:49:10 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges To: Florian Fainelli Cc: Bharat Gooty , Ray Jui , devicetree , linux-kernel , Arnd Bergmann , Scott Branden , Ray Jui , linux-arm-msm , Andy Gross , Bjorn Andersson , Rob Herring , bcm-kernel-feedback-list , Zhen Lei , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli wrote: > > On 12/15/2020 5:19 AM, Bharat Gooty wrote: > > Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not > > give the complete DDR for the USB DMA. > > So restricting the usable DAM size to 4GB. > > Thanks, can you make this a proper patch submission along with a Fixes: > tag that is: > > Fixes: 2013a4b684b6 ("arm64: dts: broadcom: clear the warnings caused by > empty dma-ranges") Yes, that would be helpful, though I would appreciate a better description that explains what is actually going on: is it the device or the bus that has the 32-bit limitation, and if it is indeed a bug in the device, why do you pretend that this is a 64-bit device on a 32-bit bus instead (this could also use a comment in the dts file)? Arnd