From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2 Date: Mon, 2 Mar 2015 14:50:09 +0000 Message-ID: <1425307809.21151.69.camel@citrix.com> References: <54F07891.5080401@linaro.org> <1425046086-24111-1-git-send-email-frediano.ziglio@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1425046086-24111-1-git-send-email-frediano.ziglio@huawei.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Frediano Ziglio Cc: Tim Deegan , xen-devel@lists.xen.org, Julien Grall , Stefano Stabellini , zoltan.kiss@huawei.com List-Id: xen-devel@lists.xenproject.org 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 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 Acked-by: Ian Campbell [ ijc -- attempt to clarify the commit message ] I hope that is ok.