From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mx.groups.io with SMTP id smtpd.web12.11019.1582302550351469731 for ; Fri, 21 Feb 2020 08:29:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=smeVEZFb; spf=pass (domain: linaro.org, ip: 209.85.221.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f65.google.com with SMTP id w12so2733222wrt.2 for ; Fri, 21 Feb 2020 08:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=+PG+u8NUoNgTGYBtx5JZkKBFPtZU4q/04c2aBx2lFvo=; b=smeVEZFbWfMhCSyGzu9KxoGN0/+cOQCAwpY+MHliNbD6rK+Y/A4cg2RqclJZlelUgp YFT1e2vPbfsvoyPfZAGC1csGK6f8QzXkX5NHAPvA09XpFu8b4nORC93A8xDPt0Aut1By 7vGsRlAD4LmeyfczFDW6ky82lkEEhkGNot9mFJCaqzm8kfm5Dfwb5M3pr/yDISDMylZv 3aZsWRT6IQn+OGykju4fqJgcwOgQ5UpMjCIMfIh4vajYMebsyePEla73NBu373VKrruP KYVIUxuA9i7onCqwkNbOakZglyOO7ryHrbOcn8pqIO1KB0r9CJ7LW4A15p6wzOdsYGsA AMkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+PG+u8NUoNgTGYBtx5JZkKBFPtZU4q/04c2aBx2lFvo=; b=fnEFdiHv2WTDEybvuf6+5Tw7GMUHMpc+D1OtlLdvB1y2SVxPuuFAbBmWifflfM5xxz spbF0xZa5o3r4AG4EFbwjyNDTFDkQ4b7VmcpyU3aSKWs7FPZ91E+6n1NEuwP1nl5sKn2 tQbY6ENakfPkD71biTnaQvE4IvT+mp8KJJeQnFpI3bOszQDGPVl6PE3hkinVwpJfjFdy NvphJ+nwxaJIj69n6wcCXuuyWfe3J0F0x1TKx5ANM8XChNhjVGvA5zsPizHZDCuATBCQ SyKga+ECvsmD9Jdbdl5XaUf7i9xX6ncWdPnt7ekPaRCOrrZiVOyYm3ZEOKyF0dmAozFm NVTA== X-Gm-Message-State: APjAAAXhWO3fN+SBAhzMXKEKD2FRSl+F5mM1gaRrMAAqbW8Su1vjg/Cd zxzqOvhaJGRijQR7TfrEmpX5ZGR52m3ggg== X-Google-Smtp-Source: APXvYqzb7gOwC2MMfAbQM76+lSx2fXSjnlAS6Fr3g/cnq5ux4kRmItoNmv58lo3WN5UCONXV58hb+g== X-Received: by 2002:adf:f10b:: with SMTP id r11mr49706357wro.307.1582302548571; Fri, 21 Feb 2020 08:29:08 -0800 (PST) Return-Path: Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id s15sm4506725wrp.4.2020.02.21.08.29.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 08:29:07 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 1/1] Platform/DeveloperBox: drop dma-ranges property from DT root node Date: Fri, 21 Feb 2020 17:29:04 +0100 Message-Id: <20200221162904.24152-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 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