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 X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30EFCC4361B for ; Tue, 15 Dec 2020 15:41:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9883224B8 for ; Tue, 15 Dec 2020 15:41:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9883224B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GpLsxP3AZa2vlkHO31YYZ59r9Yij6HRNI6AQhqM0drc=; b=qFsIx6xX/V26YCFa5vFyaQk47 u1rB+hXsr/KDzPqYRikbtzlu3UMh5TTfirzDnonNqImltDls1IYezV1qNGcU2XVfIGlrEqKiDpEZK BzM9pUl6jnGWqf3AZaZzIlt9c1a2yGH5llLZq+M7XOsHzCG7q6WasMCyTQDCpKDBn9YC6qboLlN+8 mDgwElSk+DdwjxkBS0M8qGpQ3G6WDKuv1JcU9yCE3dB5c69jxnSHpwG9sG1Ru0GmjceWTHpi/hwgb ggZDBV6t52KUVVdIV6b4lwZJKhGZxcGobeG4ZCS6AOaDFVUx0FU3m+SDDYA9hHhg+3lB9V6QS6Oxw yHWmoCyAw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCQx-00087C-9q; Tue, 15 Dec 2020 15:40:15 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCQv-00086d-2U for linux-arm-kernel@lists.infradead.org; Tue, 15 Dec 2020 15:40:13 +0000 Received: by mail-pj1-x1043.google.com with SMTP id lj6so1432562pjb.0 for ; Tue, 15 Dec 2020 07:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CUUB0IoWATxzada4ikDi7RLq5JzMboA0EYEjnfSTamo=; b=QPGOCcKZlmf1rjtVYZP9Smv6yPTlv0/rbiED5VUUf0XswRlwwB9NsinuplahUu1L8N qDuQuWRfYJqaaam6KW45R53YuVIBOSNZF4M7gygz7R66yiDen/DMlNVqEz415ya5BwsI z890OkTuLV9DQ05pNJP1X3mwAD5GyYFK7043xSZxIaj9rrS11oIKn6FNhuRPBFPQcc9T AhHn3alnDhvjIOKoWb7Gd3t1XqPe9GeHnh3i3nB5jYYAfoJbMvkn9zpl4AndJXsfV/VO fZqxH4VaTXiSplYYcPxM6p+8fJppYTyhMJ/1no1m/yrnODUBj3Mp0QVj+xVHadqlsZp+ 6cPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CUUB0IoWATxzada4ikDi7RLq5JzMboA0EYEjnfSTamo=; b=R1tLoeK+tQW5Z5qvAoB6p37DrRUlodrKEOprQZpO1OKr6ZynThMV5GIkelzwNflJmt KOQM2Khesr10TcjJTxncIG0N4LWckFNyW561sD5ZVOjZopdjx4qHjE9ZSlEZp6LGSLdy eSa5oZ+u9aE6xzb5vlZ2cDIzX+kvG6dWvBjbAWt61m2u/9XSS0IWDfMZtwFvAYhQRGjk fJP8mfPnk5mojs4+lG3fJtIG+vWUY5fMXpu/drR07EEgoq9XD7QratrhBcDTJ9OM5/tc HxSSA0eL4Ak78EcX/fpZ0UxH7XRorHoPAc7sLmBbs+UoA7shIyEXlL+/po8nFyZ9spI7 p3wQ== X-Gm-Message-State: AOAM533F06Cjkoz5DQwjnegXbg0ZXSubgM9pNcgajhN9Pvx5vza1x+3r 5Wu4HhE/BmNHhfk6q68JAes= X-Google-Smtp-Source: ABdhPJzUgI0Cw5WRKLDrmzpd9lu/NDlzdUtIzzf+z0qjPuLoipMGmeqs6rslg7SawOncNujA6+kdHQ== X-Received: by 2002:a17:90a:dc18:: with SMTP id i24mr30737250pjv.118.1608046810646; Tue, 15 Dec 2020 07:40:10 -0800 (PST) Received: from [10.230.29.166] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id w2sm25321830pfb.104.2020.12.15.07.40.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Dec 2020 07:40:09 -0800 (PST) Subject: Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges To: Arnd Bergmann , Ray Jui 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> From: Florian Fainelli Message-ID: Date: Tue, 15 Dec 2020 07:40:07 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_104013_188485_6BA547A0 X-CRM114-Status: GOOD ( 18.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree , Florian Fainelli , Scott Branden , Arnd Bergmann , Ray Jui , Zhen Lei , linux-kernel , Rob Herring , Bjorn Andersson , Andy Gross , bcm-kernel-feedback-list , linux-arm-msm , linux-arm-kernel , Bharat Gooty Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 12/14/2020 11:46 AM, Arnd Bergmann wrote: > On Mon, Dec 14, 2020 at 8:09 PM Ray Jui wrote: >> On 11/28/2020 1:58 AM, Arnd Bergmann wrote: >>> On Sat, Nov 28, 2020 at 5:53 AM Florian Fainelli wrote: >>>> >>>> On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei wrote: >>>>> The scripts/dtc/checks.c requires that the node have empty "dma-ranges" >>>>> property must have the same "#address-cells" and "#size-cells" values as >>>>> the parent node. Otherwise, the following warnings is reported: >>>>> >>>>> 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) >>>>> >>>>> Arnd Bergmann figured out why it's necessary: >>>>> Also note that the #address-cells=<1> means that any device under >>>>> this bus is assumed to only support 32-bit addressing, and DMA will >>>>> have to go through a slow swiotlb in the absence of an IOMMU. >>>>> >>>>> Suggested-by: Arnd Bergmann >>>>> Signed-off-by: Zhen Lei >>>>> --- >>>> >>>> Applied to devicetree-arm64/next, thanks! >>> >>> The notification may have gone missing, but I had merged it into v5.10-fixes >>> already, and as of today, it's in mainline, so you can drop it from your >>> next branch, or just leave it in if you want to avoid taking things out of >>> your tree. >> >> It looks like this patch might have caused a regression on Stingray USB. >> Bharat, could you please confirm? > > Well, this is what I had asked about originally, I assumed that > Florian had asked someone with access to the datasheet. It looks like we had some bad communication here, the notification email indicating that you had applied the patch did not make it through, and I failed to make you aware that I was waiting for some testing from Scott and Ray. -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel