From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web10.12166.1583499500447946207 for ; Fri, 06 Mar 2020 04:58:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=jNlGR+dh; spf=pass (domain: nuviainc.com, ip: 209.85.128.66, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f66.google.com with SMTP id a141so2281540wme.2 for ; Fri, 06 Mar 2020 04:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JjyLxc1zmkh2HqQpXJ/CImS6/+binr8xHgpPuG57ef8=; b=jNlGR+dhPK1nN9kUB60RMe9YqHrQIR3GQHYwoLGCvYlj1GMRRltwbIVbI5Au25zJXi KNw2tPNuaDsWTLzw5YDSU+ZYC7w4InYb9tqoiwSFvwyFMac7SkTi+yTTE+naKeuc3xz8 KUrSbN4+AZGEjxA2o2LC2abPaknZknPqmnvRgDRnIbRQHDYxLrYungs/Nua6uz4HqpWP TfArDzRnja53Q+Cv0xCncekDORFI/Hvc4cV/2nX736O8s1BMXrqp1rznwdJEL4S857Hk l3jBFtGQ/n9yxTOJjpaJobRtwYVLmFABdOuecLZa+SxYYrqiz8vsOziX5IXLy1LDnFd6 s9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JjyLxc1zmkh2HqQpXJ/CImS6/+binr8xHgpPuG57ef8=; b=t4eSJEH8zuKcsNkUNQlbbQpMmxCrXO7B3ff9g5dTiZZ4+EE84PcHpzYtkbzZjAldOB v+4srTIfXj/AeEeL6Xpev+isr8KyLJ8LA7Fzj1IJqQlsK94fxGPkXSwqm3Lfna3VUTuz F5mhGkPhDV+4ySEtse1VRDMzT1bZRkBhR1SzyztpnaPChxc9fD6bZqAdUBzX17Ufutqv GbYgloU1PTqRj6zdi684hg7GaEhPzejzY3JkmAQ8r2ab7hKYz6ZU64ipfrRXi3LUPZMk nhC9sjOjQm9No6BNBJmzUCJNzfRqyLrE0O6cNkBiOZ1MVfZGrzqaZPCjtj/nO2D8Pn9e HZjA== X-Gm-Message-State: ANhLgQ0/r2rN/5NLaDDODRg1Mxoqwhkr3d332zW5ti66HD4uUK8qw2Gf xGdUdaVo79Prm0j3dwkRWs6QTw== X-Google-Smtp-Source: ADFU+vuthQuDtJ0du63NbsX1sptsZg1VgZ5Dt98bTs6FZ9crXbNv+fMXruHTwLPrOoVUyIFZyiZMgg== X-Received: by 2002:a05:600c:20c7:: with SMTP id y7mr3996435wmm.77.1583499499045; Fri, 06 Mar 2020 04:58:19 -0800 (PST) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id z12sm11858856wrl.48.2020.03.06.04.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 04:58:18 -0800 (PST) Date: Fri, 6 Mar 2020 12:58:17 +0000 From: "Leif Lindholm" To: Ard Biesheuvel Cc: devel@edk2.groups.io Subject: Re: [PATCH edk2-platforms 1/1] Platform/DeveloperBox: drop dma-ranges property from DT root node Message-ID: <20200306125817.GF23627@bivouac.eciton.net> References: <20200221162904.24152-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20200221162904.24152-1-ard.biesheuvel@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 21, 2020 at 17:29:04 +0100, 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 Reviewed-by: Leif Lindholm > --- > 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 >