All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] drivers: core: Add translation in live tree case
Date: Sun, 21 Jan 2018 17:41:41 -0700	[thread overview]
Message-ID: <CAPnjgZ1btT-r5oYurP8aGQoJv4z6hVJNFkY7NUNXrgAAsTpvbw@mail.gmail.com> (raw)
In-Reply-To: <4e4643cb-d0ac-2e89-ff3f-556b233796ef@wwwdotorg.org>

On 20 December 2017 at 08:45, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 12/20/2017 01:52 AM, Mario Six wrote:
>>
>> The function dev_read_addr calls ofnode_get_addr_index in the live tree
>> case, which does not apply bus translations to the address read from the
>> device tree. This results in illegal addresses on boards that rely on
>> bus translations being applied.
>>
>> Fix this situation by applying bus translations in the live tree case as
>> well.
>>
>> Signed-off-by: Mario Six <mario.six@gdsys.cc>
>>
>> ---
>> v3 -> v4:
>> * Fixed issue on 64-bit platforms
>
>
> Tested-by: Stephen Warren <swarren@nvidia.com>

Applied to u-boot-dm, thanks!

      reply	other threads:[~2018-01-22  0:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20  8:52 [U-Boot] [PATCH v4] drivers: core: Add translation in live tree case Mario Six
2017-12-20 15:45 ` Stephen Warren
2018-01-22  0:41   ` Simon Glass [this message]

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=CAPnjgZ1btT-r5oYurP8aGQoJv4z6hVJNFkY7NUNXrgAAsTpvbw@mail.gmail.com \
    --to=sjg@chromium.org \
    --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.