All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/2] of: addr: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
Date: Mon, 17 May 2021 10:03:55 +0800	[thread overview]
Message-ID: <CAEUhbmV7KjLc_sOFS1P=jfEOePHjM_EGpRm2Z7mV0KQieePwHA@mail.gmail.com> (raw)
In-Reply-To: <20210430131659.19119-1-bmeng.cn@gmail.com>

Hi Simon,

On Fri, Apr 30, 2021 at 9:17 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> 'dma-ranges' frequently exists without parent nodes having 'dma-ranges'.
> While this is an error for 'ranges', this is fine because DMA capable
> devices always have a translatable DMA address. Also, with no
> 'dma-ranges' at all, the assumption is that DMA addresses are 1:1 with
> no restrictions unless perhaps the device itself has implicit
> restrictions.
>
> This keeps in sync with Linux kernel commit:
>
>   81db12ee15cb: of/address: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> ---
>
> Changes in v2:
> - rebase on top of Dario's revert patch:
>   http://patchwork.ozlabs.org/project/uboot/patch/20210425141746.19115-6-dariobin at libero.it/

The above dependent patch is now in u-boot/master.

Could you please apply this series?

> - drop commit "of: addr: Abort address translation for parent nodes missing 'ranges'",
>   as the revert patch restores the abort behavior
>
>  drivers/core/of_addr.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>

Regards,
Bin

  parent reply	other threads:[~2021-05-17  2:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 13:16 [PATCH v2 1/2] of: addr: Translate 'dma-ranges' for parent nodes missing 'dma-ranges' Bin Meng
2021-04-30 13:16 ` [PATCH v2 2/2] of: addr: Remove call to dev_count_cells() in of_get_address() Bin Meng
2021-04-30 18:13   ` Simon Glass
2021-05-01  1:22     ` Bin Meng
2021-06-05 16:02     ` Simon Glass
2021-05-17  2:03 ` Bin Meng [this message]
2021-06-04  6:11   ` [PATCH v2 1/2] of: addr: Translate 'dma-ranges' for parent nodes missing 'dma-ranges' Bin Meng
2021-06-05 13:39     ` Simon Glass
2021-06-05 16:02     ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEUhbmV7KjLc_sOFS1P=jfEOePHjM_EGpRm2Z7mV0KQieePwHA@mail.gmail.com' \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.