All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Frediano Ziglio <frediano.ziglio@huawei.com>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	Tim Deegan <tim@xen.org>,
	zoltan.kiss@huawei.com, xen-devel@lists.xen.org
Subject: Re: [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2
Date: Tue, 24 Feb 2015 17:00:07 +0000	[thread overview]
Message-ID: <1424797207.20243.10.camel@citrix.com> (raw)
In-Reply-To: <54ECA515.2090909@linaro.org>

On Tue, 2015-02-24 at 16:21 +0000, Julien Grall wrote:
> On 24/02/15 16:01, Ian Campbell wrote:
> > On Mon, 2015-02-23 at 16:30 +0000, Julien Grall wrote:
> >> I'm wondering if it's worth to backport this patch to Xen 4.5?
> > 
> > Maybe, I doubt 4.5 is being used on platforms which suffer from this
> > issue, but it's pretty un-intrusive I suppose.
> 
> There is no reason to consider only the set of platforms we support
> upstream.

No, but it is a factor: we shouldn't be risking destabilising things for
those platforms which were supported out of the box on 4.5 for the
benefit of platforms which were and are not.

Of course risk is a judgement call, and as I said this change is pretty
unobtrusive (read: probably not that risky), hence "maybe" rather than
"no".

>  We should take into account people who want to ship a product
> based on Xen 4.5.

Again, this is a factor but not the most important one.

>  This release aims to work anywhere by only adding few
> lines of code in the platform code.

And so is this.

> Furthermore, the current code rely on how the device has been written.
> For instance the calxeda device tree is using ranges and, therefore, the
> regs contains offset.
> Fortunately, the offset and the translated address is the same.
> 
> > I certainly wouldn't want to backport a fix to gic v2 only.
> 
> As we didn't backport other patches related to GICv3, it would not make
> much sense to backport a similar fix for GICv3..

We should consider each patch/series on its own merits. The other GICv3
fixes were far more invasive and complicated than what is being done
here.

Assuming the v3 fix is similar to the v2 one here either both are
justified or neither.

Ian.

  reply	other threads:[~2015-02-24 17:00 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 [this message]
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
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=1424797207.20243.10.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.