From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web09.15446.1583512952746491330 for ; Fri, 06 Mar 2020 08:42:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=Fn76jrVW; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f65.google.com with SMTP id a5so3212380wmb.0 for ; Fri, 06 Mar 2020 08:42:32 -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=aGwiTfYjSUqx0DO4+wvC1uaurQUpuMXQ4AcGS7JD/6s=; b=Fn76jrVWrKcwg/i1Pf6xKe3abzA50H0HnmHADLpCUQt5LCvbO96nTfDptDo5PcwIQK xoAwpGdfE0mdLATg6vyi5DVljj3YNBJHi1V/C49KiX5ABUyIU4DHjYpXm1TdmTNDe8Hq P8ZMJxK2k73T1anVXx/iMSutvTgXK4czcVOT6GNACmivvjKagWVyR9kmszF6L0W/3W0b nnqihbs2Gd2fUmojEmJezLxWdasjRBDR9tLparGSr0dSyE2MGYbtNrye/12+j+7ZbbwF 7RmKWSDMcTmxavEWLC/ECb6StQt3GPJFurXMRkpLHqKCWkLIqeHJFwWF2r9YEsZhs2Zp 0CQw== 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=aGwiTfYjSUqx0DO4+wvC1uaurQUpuMXQ4AcGS7JD/6s=; b=VQKLJfXlCB+7ISw7geiCVCSvdC8n0yYkhJQj/AzpipTdOGHUjZeRnI1yM2IhaQXaf2 szXW1xnTq1ZhVGzPRWuf3RJbFbBHE+ZPKyqZpuMsTfQvwrLPLeQS4uy6X4e5c1xw0W/T nTwrHsEPPdtrt2Uz1L34P9B/Uqfx1QBkJi8ZZXH66DC/osQculSsi9Sr+MPYzjxrFRBm z5NqiES1MjD/IRN87ii0NzBeD4Vrf3auffjxCpTSIfaFnV1eRdB/RTm56IhIYYRtPPB9 SllSUWLm3/aV6ZoUn71RPk/MQv7KlAbmFfodrUfCHW7sr9gAtYN+M6NltZTQbrWZkD1r MC0Q== X-Gm-Message-State: ANhLgQ3U6Ub3vxNM09hhAFmNEbRLq3QFgfxi4KRimDhEUtoJ+DpxWiAn OWuXg6jRAfjaGgGwUsikMiK2xx86wtw2VFA/TU4LburQZmk4dA== X-Google-Smtp-Source: ADFU+vvrjPsKOV8K+LB1z9P1ZX2rudKyDoZ6u+63qnBCcEiFMZxklhYuAHqy1zJuJ1LIz69Dd9AjciucObeP8zaCk6c= X-Received: by 2002:a1c:2d88:: with SMTP id t130mr5205872wmt.68.1583512951282; Fri, 06 Mar 2020 08:42:31 -0800 (PST) MIME-Version: 1.0 References: <20200221162904.24152-1-ard.biesheuvel@linaro.org> <20200306125817.GF23627@bivouac.eciton.net> In-Reply-To: <20200306125817.GF23627@bivouac.eciton.net> From: "Ard Biesheuvel" Date: Fri, 6 Mar 2020 17:42:20 +0100 Message-ID: Subject: Re: [PATCH edk2-platforms 1/1] Platform/DeveloperBox: drop dma-ranges property from DT root node To: Leif Lindholm Cc: edk2-devel-groups-io Content-Type: text/plain; charset="UTF-8" On Fri, 6 Mar 2020 at 13:58, Leif Lindholm wrote: > > 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 > Pushed as 28d2f4ecd87d..f9d42079600c Thanks > > --- > > 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 > >