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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 478EBC433E0 for ; Wed, 13 Jan 2021 08:06:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E88E323120 for ; Wed, 13 Jan 2021 08:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725998AbhAMIGV (ORCPT ); Wed, 13 Jan 2021 03:06:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:59056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbhAMIGV (ORCPT ); Wed, 13 Jan 2021 03:06:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0BA7A2333B; Wed, 13 Jan 2021 08:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610525140; bh=Alzz0M7HPrwFAwKGdcZMCSI7QCWigUYNKGF1r+SA0eg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KbrONTYyabwBIbrDB8RpM1AnhUNLG2KisiBIlsWBzPJtLJd2iS87M6cAtBYtWcwoz b2SkNSan3UZ9QtwTBy1MQLNzKav3DcGFh2ruiyk55o/4J5Sn4B6ain6X4FIXwW1lEi VMqQVcxKQVnCYVazE4hND8XWV7cxM+yTUp2LGB3RpUs1yFsK9CYV1FZy4jFFvmiudV 5LrYC840qq5juTxft8hJIKyxV8U1H/KEg609DwWymFQhVCprqsKfaNsRA1J+KKA8IA u+ZIo99fh6V4F7RiY50HUH2PCpx696Ej50RgyGKKnoAeo39WhrN4USDalKw0glhdpS 4ec7GX4L8nLvQ== Received: by mail-oi1-f169.google.com with SMTP id w124so1225778oia.6; Wed, 13 Jan 2021 00:05:40 -0800 (PST) X-Gm-Message-State: AOAM530R30Zitkpl3tZWeVJ6mQQ4FKkjy4cCJssgk4J2XxeKpqlJ/U6k Ac5A7RxZ9ox4rhWBAE3aZrjfAbmf2Ik1PlCyYAw= X-Google-Smtp-Source: ABdhPJyNVCdIK7R8b9QgE46aj8NKwV72zrszTQgMRnTLfVfcjVNY9F65+xTqtCuNdx1Y/ECwmNhUsqB45daUMiJy1K0= X-Received: by 2002:aca:e103:: with SMTP id y3mr491018oig.11.1610525139188; Wed, 13 Jan 2021 00:05:39 -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> <18112862-a42e-95b1-39a3-2e414667f39b@broadcom.com> <8aaa7bb9-a81e-cd0e-8e67-360515313748@broadcom.com> <3fc2b0174965ec6b911ab4bd73da1525@mail.gmail.com> In-Reply-To: <3fc2b0174965ec6b911ab4bd73da1525@mail.gmail.com> From: Arnd Bergmann Date: Wed, 13 Jan 2021 09:05:22 +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: Bharat Gooty Cc: Ray Jui , Florian Fainelli , 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-arm-msm@vger.kernel.org On Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty wrote: > > Hello Ray, > > I had cross checked with Design and integration team. > Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. > > -----Original Message----- > From: Ray Jui > > Bharat can correct me if I'm wrong, but I don't think we have a bug in > the USB DMA engine that causes it can only address 32-bit. I believe we > can set dma-ranges size to 40-bit here. > > The dma-range property is though required to be specified, instead of > leaving it as empty, with the use of IOMMU. That seems to be a v5.10 > specific behavior as I described below. Ok, thanks for double-checking. I had misremembered the version that actually went into the as the one that used 64-bit dma-ranges and thought that was what broke, rather than the version without dma-ranges. If any of you want to send me that bugfix directly, or have Florian pick it up through his fixes branch, I'll make sure we get it into v5.11. Arnd 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=-4.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 DF786C433E0 for ; Wed, 13 Jan 2021 08:07:14 +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 6EF4B23120 for ; Wed, 13 Jan 2021 08:07:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EF4B23120 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=alIE+WGFrKivFJSKZSXsHbUb/BesNzVcFniugI3HQyw=; b=r/WtYyKrCB4BtD0JaKZhUApER 1hCT/mfAsKJcsBnqOKawGSutlU2y0GF5zHjz7L4A1jgz9WngEaOWALz6fUMNLSzO0NRlJ4x4WOfSE CDoUeZ9s5xgX83svHR1ff/WxuZLkQ9JFl8Gs1Z73NZS/BHEvYltvkDGqnUeYrqlkVTLuAwHM5eRPd rq42mOTxHg/0kAw24Mao3901bPFO/XeVHjxXYdUuOIyReLsGwTIUpgj1ZtY/8YVm159VqMEjvYHuu Crnl9SVSXWBKZac1oU2hM2hR6uHNHqWjd+i3+sdVsI1ZIzK0v8ZxleNLKmBiruHMXKXx60p8W1hNR wlYu/MMog==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzbA0-0004cZ-3d; Wed, 13 Jan 2021 08:05:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzb9x-0004bb-G8 for linux-arm-kernel@lists.infradead.org; Wed, 13 Jan 2021 08:05:42 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 105072333F for ; Wed, 13 Jan 2021 08:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610525140; bh=Alzz0M7HPrwFAwKGdcZMCSI7QCWigUYNKGF1r+SA0eg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KbrONTYyabwBIbrDB8RpM1AnhUNLG2KisiBIlsWBzPJtLJd2iS87M6cAtBYtWcwoz b2SkNSan3UZ9QtwTBy1MQLNzKav3DcGFh2ruiyk55o/4J5Sn4B6ain6X4FIXwW1lEi VMqQVcxKQVnCYVazE4hND8XWV7cxM+yTUp2LGB3RpUs1yFsK9CYV1FZy4jFFvmiudV 5LrYC840qq5juTxft8hJIKyxV8U1H/KEg609DwWymFQhVCprqsKfaNsRA1J+KKA8IA u+ZIo99fh6V4F7RiY50HUH2PCpx696Ej50RgyGKKnoAeo39WhrN4USDalKw0glhdpS 4ec7GX4L8nLvQ== Received: by mail-oi1-f170.google.com with SMTP id 9so1242576oiq.3 for ; Wed, 13 Jan 2021 00:05:40 -0800 (PST) X-Gm-Message-State: AOAM531JZNbyN9QINOoT3r1REo0SYR6SazGZ94tqaz/p5nEee/AVp3U6 EIdBSsxNIuT7JIx/IrlRDgQlSmb6QCUqIrcIzWs= X-Google-Smtp-Source: ABdhPJyNVCdIK7R8b9QgE46aj8NKwV72zrszTQgMRnTLfVfcjVNY9F65+xTqtCuNdx1Y/ECwmNhUsqB45daUMiJy1K0= X-Received: by 2002:aca:e103:: with SMTP id y3mr491018oig.11.1610525139188; Wed, 13 Jan 2021 00:05:39 -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> <18112862-a42e-95b1-39a3-2e414667f39b@broadcom.com> <8aaa7bb9-a81e-cd0e-8e67-360515313748@broadcom.com> <3fc2b0174965ec6b911ab4bd73da1525@mail.gmail.com> In-Reply-To: <3fc2b0174965ec6b911ab4bd73da1525@mail.gmail.com> From: Arnd Bergmann Date: Wed, 13 Jan 2021 09:05:22 +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: Bharat Gooty X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210113_030541_703417_37F58334 X-CRM114-Status: GOOD ( 16.99 ) 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 , Ray Jui , linux-arm-msm , bcm-kernel-feedback-list , linux-arm-kernel 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 Wed, Jan 13, 2021 at 4:42 AM Bharat Gooty wrote: > > Hello Ray, > > I had cross checked with Design and integration team. > Yes we can set the "dma-rages" to 40 bit DMA ranges. Tested, it is working. > > -----Original Message----- > From: Ray Jui > > Bharat can correct me if I'm wrong, but I don't think we have a bug in > the USB DMA engine that causes it can only address 32-bit. I believe we > can set dma-ranges size to 40-bit here. > > The dma-range property is though required to be specified, instead of > leaving it as empty, with the use of IOMMU. That seems to be a v5.10 > specific behavior as I described below. Ok, thanks for double-checking. I had misremembered the version that actually went into the as the one that used 64-bit dma-ranges and thought that was what broke, rather than the version without dma-ranges. If any of you want to send me that bugfix directly, or have Florian pick it up through his fixes branch, I'll make sure we get it into v5.11. Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel