From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mx.groups.io with SMTP id smtpd.web10.10705.1583491192979978132 for ; Fri, 06 Mar 2020 02:39:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=EHpP0ZSi; spf=pass (domain: linaro.org, ip: 209.85.128.68, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f68.google.com with SMTP id j1so1813215wmi.4 for ; Fri, 06 Mar 2020 02:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uq7+n/W25glQaES9ieTFxmfq36+nue+h5UIVzTHmBzY=; b=EHpP0ZSi8ZLR52mY51XWLe+JvdVNbrs7GkGDkDZd4/aOFqikDYwOHsVBIgtYNC+mz+ ZMO0cOJKuagzZga3fL+Y2Tj/HI7EbO0c/KFtNwKbp0Xh280/GvlVoYV+jopZMORnkyZD HBiIQTe21+ERecxlDXLcQRulq8FAVQ5EoPOKSjeLEHkUQ1x9EkpD5PrpVdAty1kvXoFB n7gkjH75lGg+3tD2Y67lggH0+SORcwdjUcAjJf/sGzsFPoliDRA/wGaA1d8fOZrvQ9k0 LSvFKazjWpfinnhkUxiFId8B6duzdzahOpVKoXaJ23kdkt9vlRq2R7JijtRFKp/qljuo G4Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uq7+n/W25glQaES9ieTFxmfq36+nue+h5UIVzTHmBzY=; b=fDpQWaTvFGpfrHg7kXahsA8kVPUvzpoLwCycvDnEWvn8avFlNibDkrXVE0XbOJajFo t4fkDsFMerw3NuWhqogZAPsoK6DQSnsWB/k20fVOZ7P12oiVJKX5xo8ccpMZHtT6pInc y1jnsB2d+JfJzPYrKJk2xln1keoHnyqKLt1e9aq2Pvbaks++EFKH/ghwySUdtRdZQAx5 +3R9yC0j16ZQRrt4qmOlyjEdlOeNHovAopL2nGdFseEHctX42zCRpoerLTygEWuEV3EK sR5oSQJWbx+zBXsL3BhJdx4ius/ZMOndNTIdeiGibiJWIwQKKqE22QjBM+8cGNVXhi97 bc8g== X-Gm-Message-State: ANhLgQ14n7hgKHKHjEyjsYQTPlDzCkzXb54H6pqTq8iSvJ4WNmH7W+jL 2744Fx/ij8VQ6HqgUbyH2wThKcx9M3ckDimqwW9dQXr9Ih8= X-Google-Smtp-Source: ADFU+vtD5OrUExcQVUNy4o1WXCVKyLkJJdFLpPrt0/ME6DIofM4vhInHLm4M9AqxkOPtp3vFx/qmtWmH/eGOa+Z1JJQ= X-Received: by 2002:a7b:c354:: with SMTP id l20mr2493425wmj.40.1583491191253; Fri, 06 Mar 2020 02:39:51 -0800 (PST) MIME-Version: 1.0 References: <20200221162904.24152-1-ard.biesheuvel@linaro.org> In-Reply-To: <20200221162904.24152-1-ard.biesheuvel@linaro.org> From: "Ard Biesheuvel" Date: Fri, 6 Mar 2020 11:39:40 +0100 Message-ID: Subject: Re: [PATCH edk2-platforms 1/1] Platform/DeveloperBox: drop dma-ranges property from DT root node To: edk2-devel-groups-io Cc: Leif Lindholm Content-Type: text/plain; charset="UTF-8" On Fri, 21 Feb 2020 at 17:29, Ard Biesheuvel wrote: > > The dma-ranges DT property describes the DMA translation between a > parent bus and its children, and so having a dma-ranges property in > the root node makes little sense, but it doesn't harm either. > > However, recent kernels (v5.5+) have started spewing warnings into > the kernel log of the following nature: > > OF: translation of DMA address(0) to CPU address failed node(/uart@2a400000) > OF: translation of DMA address(0) to CPU address failed node(/pmu) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@70000000) > OF: translation of DMA address(0) to CPU address failed node(/uart@51040000) > OF: translation of DMA address(0) to CPU address failed node(/gpio@51000000) > OF: translation of DMA address(0) to CPU address failed node(/i2c@51210000) > OF: translation of DMA address(0) to CPU address failed node(/gpio-keys) > OF: translation of DMA address(0) to CPU address failed node(/tpm_tis@10000000) > OF: translation of DMA address(0) to CPU address failed node(/sdhci@52300000) > OF: translation of DMA address(0) to CPU address failed node(/ethernet@522d0000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > OF: translation of DMA address(0) to CPU address failed node(/pcie@60000000) > > and so we should probably get rid of this bogus dma-ranges property. > > Signed-off-by: Ard Biesheuvel > --- > Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi > index afb9e2c779df..2ee3821fca0b 100644 > --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi > +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi > @@ -21,7 +21,6 @@ > #address-cells = <2>; > #size-cells = <2>; > interrupt-parent = <&gic>; > - dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>; > > aliases { > serial0 = &soc_uart0; > -- > 2.17.1 > Ping?