Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp91648pxf; Tue, 6 Apr 2021 16:00:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV9ssz9xxPREzbjkR7u1MRreswGmi4YYUDlJVW9BgXmWz7DE4APNJM7cuG3CavFGIVFQa+ X-Received: by 2002:a17:906:4e08:: with SMTP id z8mr381579eju.464.1617750026924; Tue, 06 Apr 2021 16:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617750026; cv=none; d=google.com; s=arc-20160816; b=qDCH2nb/WnXgk4snH+X7F4B8S9WPt0WQqHqWMycZEushdufpch1u3DpBPlQjpcCN3F pCyoCXiniUpAzxQF93BVEPZvNiaavK8DP5JQAv9FARBzqNobowOuTK7lh/UiqQm6V9VU gmQMIinnYO4rcQvHwGXqpRq9OGwGZ0ihmKnskwYdSQPRF5kROD7l+Xw3uMNzwjuweFdh UMyfOFpmwnTzAFb1LlrHNO4zp32z6qBOscnxgo5yqh5L98ZErGurtNLSDLwGdf/xOE4F aeX5xx2cHqpUwSFcpslVg5F7WobX0loKFP9e0mrkfLNwpKl8QfJ/ML9gRBWOFIghyq6y 0Wug== 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=CQkqAyjhsoQFZIyIYvLUOhXpo7lnAR7GuZPZMplquU0=; b=ZSwlfI+oGY0WklX165HKY4MF6mAKhJ5ij6FWIOSXeIsXJXg1deOjha1QOxDc30jMJy VSTVbpGxbLqXXnC4htMnrc+UWN9TZGes/LK8oxfthwr0tU9AWeh/4Hq7fpLUgOKPfkme GWcsTKNMxr4k99pPYJ8WFhMdw3q3sPInmoerrQMGSWSMitjVjpnazFLQ0QqLXM7tVGq2 p3+Th380KTyxT/zLDNA2mKCw68JM0kvN7wVd+pAlJSG+v2VYhtptuXFkCmkJ+DoNIF94 hNUNG5LX4RhaUvaw7NAAsuaO1VD5U9FDRwMVfFfz4EIaLHlcV013wM+VcPAs3VSIvofE mdgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C2gAYBhA; 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 cb1si9129751edb.448.2021.04.06.16.00.02; Tue, 06 Apr 2021 16:00:26 -0700 (PDT) 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=C2gAYBhA; 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 S233554AbhDFOGw (ORCPT + 99 others); Tue, 6 Apr 2021 10:06:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:39086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233227AbhDFOGv (ORCPT ); Tue, 6 Apr 2021 10:06:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 10E3C613C4; Tue, 6 Apr 2021 14:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617718003; bh=CQkqAyjhsoQFZIyIYvLUOhXpo7lnAR7GuZPZMplquU0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C2gAYBhAs4KkkWQaRjE9U8Y8opCsV8drwkxrNX6Aicy/E4paHRHrkgbpS7N9ad8ul hVEsKdiu8n3Fef9tB3mZjp/PH7lfSi2QrwnHkek2MviUmPg0VF7QxCdPXuQkZLenM1 cLQyPhweEDz9EKjtKXqrSAurIsrYz8DWyri4XE62SQ1gl1ncRTL3m3hZpTspgzemiO UcytOZqB7J3MVcm1Lt/0umdE86aHK0OF31Y3rs4oSbyfjUDtf4weMARGo15b8SBpww TeyLqCkT09bFfe+HhNU5zYG7IkRQvjkVnawjcJdyL9rbvGOAnxzx9Q9i1cJTEMCD4D nnZyIVkPaertw== Received: by mail-ej1-f42.google.com with SMTP id a7so22181489ejs.3; Tue, 06 Apr 2021 07:06:42 -0700 (PDT) X-Gm-Message-State: AOAM530EleuybtP1Ik/QFHu8jvbry3NFGgOhJXcaVem1jZevaxCaXD+s u2bEC5su7vM0uGMQbGRSKse0+ROkk/6MA+Tmow== X-Received: by 2002:a17:906:813:: with SMTP id e19mr7792178ejd.359.1617718001625; Tue, 06 Apr 2021 07:06:41 -0700 (PDT) MIME-Version: 1.0 References: <20210402192054.7934-1-dariobin@libero.it> In-Reply-To: <20210402192054.7934-1-dariobin@libero.it> From: Rob Herring Date: Tue, 6 Apr 2021 09:06:29 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] fdt: translate address if #size-cells = <0> To: Dario Binacchi Cc: "linux-kernel@vger.kernel.org" , Bin Meng , Frank Rowand , Michael Turquette , Stephen Boyd , Tero Kristo , devicetree@vger.kernel.org, linux-clk , linux-omap Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 2, 2021 at 2:21 PM Dario Binacchi wrote: > > > The series comes from my commit in U-boot > d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") > and from the subsequent exchange of emails at the end of which I was > suggested to send the patch to the linux kernel > (https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn@gmail.com/). It's 'ranges' that determines translatable which is missing from the DT. This should have not had a 0 size either though maybe we could support that. Does the DT have to be updated anyways for your spread spectrum support? > The second patch of the series aims to demonstrate that the first one, which > enables the translation of addresses also for crossings of DT nodes > with #size-cells = <0>, it really works. I don't seem to have the 2nd patch... In any case, you should handle the special case for this platform in code for the platform. Rob