Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp171806pxb; Wed, 13 Jan 2021 00:08:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdYRGuVFPnrHgcpdZir9ikYO6V8rqE86wmYdmHjAIbJwgKqmqxKqTZ75Lhz8Du0gi9M5eq X-Received: by 2002:aa7:c353:: with SMTP id j19mr821462edr.204.1610525317369; Wed, 13 Jan 2021 00:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525317; cv=none; d=google.com; s=arc-20160816; b=g1Gc3KzxzPiUYiNjIELcWuDWExbdjFkCivHx2xNRp4KEIJDxGbwOplNP1TLn+9zsL1 snbv7Z61F754iD1KAdaimqBKMJBqnpCfuVVss+aXqlhelqRzNjAHdMRY5iRqOJTwj383 EpBMHYz1XbvyrDnEu0MTeEknKnqB1d141zK1yPAKJKFC1J1pqmBzyaZQw3Xx7vVtdnHA fji9Vbv0OsGjvZDMNRhJkxe3IfWgkx/OFuL0GnEJnXaaG+jKS8aByRhxb3z3NR/iQOVJ +1q4stLIy3FMJpRZylDJgm+g4yGyVYBSPC084OBdVGBky7bXLZXTDiChoWjQU+057V4E bdvg== 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=7q+knKCuCez3H4cVmPBTcRNy4ZszjYzdj3R1r2y4RJw=; b=ZsyHsyyhJP+SC6jmcLh1rHLzwPnUIcqIgQpkkuL71eZFVnMwd/tl0IQsQvK+CJ8lUj nrR9Rj3ZXPj5xSWA+0yg/PSrRFlZapseNMd2Zdck59eHE9Zbef2ep+w+MYKzar9fAnQG B7+h7cgNu0XvmKjfacpPL+fwUYVsgzn3JyPXAl9iwBi94WK12OcayEMK53TQeld4ijcA yepxTU+d958wI0piPuJo3rZ9huHnsp7m3JHViRaUJSzTjQ4sO8avVA2qdK197hSlr+Xb 13dKMdZL53gnFF4TAGnkY0qa1NIrBS7DfbW92HIZHMAAgqqagoK8rLF/OBSvOfzBoJTz 2uqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KbrONTYy; 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 j24si603426ejd.743.2021.01.13.00.08.13; Wed, 13 Jan 2021 00:08:37 -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=KbrONTYy; 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 S1726207AbhAMIGV (ORCPT + 99 others); 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-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-kernel@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