All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Frediano Ziglio <frediano.ziglio@huawei.com>
Cc: Tim Deegan <tim@xen.org>,
	xen-devel@lists.xen.org, Julien Grall <julien.grall@linaro.org>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	zoltan.kiss@huawei.com
Subject: Re: [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2
Date: Mon, 2 Mar 2015 14:50:09 +0000	[thread overview]
Message-ID: <1425307809.21151.69.camel@citrix.com> (raw)
In-Reply-To: <1425046086-24111-1-git-send-email-frediano.ziglio@huawei.com>

On Fri, 2015-02-27 at 14:08 +0000, Frediano Ziglio wrote:
> Translated addresses (in d->arch.vgic.{c,d}base) are now bus addresses
> which could not always be applied to the DT.
> Copy the original addresses from DT directly to get the original
> untranslated reg property which will give same d->arch.vgic.{c,d}base
> values once translated again.
> 
> Signed-off-by: Frediano Ziglio <frediano.ziglio@huawei.com>

Acked + applied. I reworded the commit message a bit in an attempt to
make it clearer:

   xen/arm: Handle translated addresses for hardware domains in GICv2
    
    Translated addresses (in d->arch.vgic.{c,d}base) are bus addresses
    which are not always correct in the context of a subnode in the DTB
    exposed to domain 0 since they would then be subject to retranslation.
    
    Copy the original addresses from DT directly to get the original
    untranslated reg property which will give same d->arch.vgic.{c,d}base
    values once translated again by the guest.
    
    Signed-off-by: Frediano Ziglio <frediano.ziglio@huawei.com>
    Acked-by: Ian Campbell <ian.campbell@citrix.com>
    [ ijc -- attempt to clarify the commit message ]

I hope that is ok.

  reply	other threads:[~2015-03-02 14:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20  9:38 [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2 Frediano Ziglio
2015-02-23 16:30 ` Julien Grall
2015-02-24 16:01   ` Ian Campbell
2015-02-24 16:21     ` Julien Grall
2015-02-24 17:00       ` Ian Campbell
2015-02-24 17:09         ` Julien Grall
2015-02-24 16:00 ` Ian Campbell
2015-02-25 11:14   ` Frediano Ziglio
2015-02-25 13:03     ` Julien Grall
2015-02-25 13:21       ` Frediano Ziglio
2015-02-27 13:53         ` Julien Grall
2015-02-27 13:57           ` Ian Campbell
2015-02-27 14:00             ` Julien Grall
2015-02-27 14:08               ` Frediano Ziglio
2015-03-02 14:50                 ` Ian Campbell [this message]
2015-03-02 15:00                   ` Frediano Ziglio

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=1425307809.21151.69.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=frediano.ziglio@huawei.com \
    --cc=julien.grall@linaro.org \
    --cc=stefano.stabellini@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.org \
    --cc=zoltan.kiss@huawei.com \
    /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.