Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3393073pxb; Mon, 9 Nov 2020 09:58:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrTPpbH1mszGx0FdFsdSOfaSPMcGpP7lqfmOmcHC7mnP3UOyoLOFfAiBzEJum24LILMyWY X-Received: by 2002:a17:906:ca83:: with SMTP id js3mr16897112ejb.42.1604944720987; Mon, 09 Nov 2020 09:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604944720; cv=none; d=google.com; s=arc-20160816; b=1BSe51Zdy0COUHVYqrqGiVzK1Q59RqQiQD7tAQj149Kwh9sOTvroPFvLs1WxE4bFmE c2ybcGA5eLbBZMON9IYKUCZ2kyt8apjaBAyiDiQi09/xwPuTdqUzdR+f64qLQ3uipqL7 qd1sRQb7TMQYIuv2Eyb4FG2qPIeCsx2t2QmowzrB6rUoSGXQiCKiW35m+AD238MXIz5Y u2tU4sSjSueCg2E6M9Oe4L76Yv/sv/HgOanvB0BcGlnNLi5TrGCZSMz4t6WGn1RLtrzq rmBN/BRX7tcALMDlzUwX9LA7hhmTPfZrdv+TCfP7J3NYZyxGEzjt0+xScX3kS4SQ4w0F dALw== 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=YSXbnPCYGtz7LNmhtNmmMkgAJ+XOWUCAbcBY01X9xRs=; b=pNyH8j8qPb+22blnv7HrEd96igY4S2HZfopC61AZnWT/M3EfucP/ucY6ZHjfq2nx4o Vx1dWTj/tdU2DIl4aONa7VfcBKYQa4/tP1wpU5CTZBhIkT85ypsb8Sr8+qWBwGJEPjf1 CNXEfWl9CwdZkbEJej5LrSsSVDAGk9hVHFx7M3QHtLWLYTpAYw2A5kLNILvxakAnLqNk su2y+JP5jvZQ6q94giGtbK7QsFO7axruNkKkMJyXydaXVSDcagsDeZo0IR/k+CDQ1gjn ZEjcnCkQHcytJEQfWyIZJapFS17/mAntJODl8IjvnVDkmFgKyf8hxB59i2u4UE9+zq0h B8QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FVYQvb7f; 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 y13si8787509edp.325.2020.11.09.09.58.16; Mon, 09 Nov 2020 09:58:40 -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=default header.b=FVYQvb7f; 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 S1730011AbgKIR4q (ORCPT + 99 others); Mon, 9 Nov 2020 12:56:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:46522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729533AbgKIR4p (ORCPT ); Mon, 9 Nov 2020 12:56:45 -0500 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B0CBE2068D; Mon, 9 Nov 2020 17:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604944604; bh=d6Nc5RiBiq3XeVeUekKRvwM0AjmxizMZD3zTXBs+VC4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FVYQvb7fC0tGjEnXYBJQ2BU5DlA5DqfngmMFCiFhFKfAgCxqRGKVSe2p8N2HqbQjq /Bnb9Po+fBPysQCXYwDJrdyHYwNF0iTLU4hNyl8lp+hbb10EMnMGCUwtGWDGPMa1tV ni2mTuAYNW6rsVUITrQg8PIcWLnCqm+RlqVrjSYw= Received: by mail-ot1-f46.google.com with SMTP id i18so9824898ots.0; Mon, 09 Nov 2020 09:56:44 -0800 (PST) X-Gm-Message-State: AOAM530QOW6il7fcYKdDBA5LKSrOX5TY7Y/P11NrIpY0C+FMjy9/xzZ8 KlJd09pE0q3kKEIGo+P6bisBkca3Z1eACnXl3hs= X-Received: by 2002:a9d:65d5:: with SMTP id z21mr10432995oth.251.1604944603895; Mon, 09 Nov 2020 09:56:43 -0800 (PST) MIME-Version: 1.0 References: <20201016090833.1892-1-thunder.leizhen@huawei.com> <20201016090833.1892-2-thunder.leizhen@huawei.com> <0eee3fd2-7400-7de7-27a7-7fcaa0955854@gmail.com> <07ab3bdd-dcb1-5a59-d813-f82451b3f028@huawei.com> <5980552d-6e96-fd9f-c758-1b1e9f57100e@huawei.com> <43986e17-f493-b3b6-2829-3ba7d92f2e8c@gmail.com> In-Reply-To: <43986e17-f493-b3b6-2829-3ba7d92f2e8c@gmail.com> From: Arnd Bergmann Date: Mon, 9 Nov 2020 18:56:26 +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: "Leizhen (ThunderTown)" , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list , Andy Gross , Bjorn Andersson , linux-arm-msm , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 9, 2020 at 6:30 PM Florian Fainelli wrote: > > On 11/8/20 10:18 PM, Leizhen (ThunderTown) wrote: > > Hi, everybody: > > How do we deal with this problem? I updated the kernel to the latest and the problem still persists. > > > > make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j24 dtbs 2>err.txt > > vim err.txt > > > > arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) > > arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) > > arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) > > I was hoping that Ray or Scott could give this a try, and TBH, I am > still not a big fan of having to mangle the 'reg' property to be > compatible with #address-cells = <2> and #size-cells = <2>, I would have > preferred omitting the 'dma-ranges' property entirely. > > We have plenty of time to get this patch applied for v5.11. I would much prefer to get the warning fixed for v5.10, once we know what the hardware can or cannot actually do, as it is one of the warnings that shows up in every kernelci build. Arnd