From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xenproject.org, tim@xen.org,
stefano.stabellini@citrix.com
Subject: Re: [PATCH v3 1/2] xen/arm: Divide GIC initialization in 2 parts
Date: Wed, 16 Jul 2014 15:22:45 +0100 [thread overview]
Message-ID: <53C68AB5.7030203@linaro.org> (raw)
In-Reply-To: <1405516256.15219.4.camel@kazak.uk.xensource.com>
Hi Ian,
On 16/07/14 14:10, Ian Campbell wrote:
> On Wed, 2014-07-09 at 14:23 +0100, Julien Grall wrote:
>> Currently the function to translate IRQ from the device tree is set
>> unconditionally to be able to be able to retrieve serial/timer IRQ before the
>> GIC has been initialized.
>>
>> It assumes that the xlate function won't never changed. We may also need to
>
> "won't ever change".
>
>> @@ -560,8 +561,11 @@ static hw_irq_controller gicv2_guest_irq_type = {
>> .set_affinity = gicv2_irq_set_affinity,
>> };
>>
>> +static int __init gicv2_init(void);
>
> I think you can reorder things to
> gic_init() { }
> ops
> gic_preinit()
> to avoid the forward declaration.
I wanted to move the less possible code. I will reorder it in the next
series.
>> @@ -261,11 +265,15 @@ struct gic_info {
>> uint8_t nr_lrs;
>> /* Maintenance irq number */
>> unsigned int maintenance_irq;
>> + /* Pointer to the device tree node representing the interrupt controller */
>> + const struct dt_device_node *node;
>
> You added this to both struct gic_info and gicv2_info?
I guess you wanted to say gicv2 instead of gicv2_info?
The one in gicv2 is an error, I will drop it.
Regards,
--
Julien Grall
prev parent reply other threads:[~2014-07-16 14:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 13:23 [PATCH v3 1/2] xen/arm: Divide GIC initialization in 2 parts Julien Grall
2014-07-09 13:23 ` [PATCH v3 2/2] xen/dt: Allow only IRQ translation that are mapped to main GIC Julien Grall
2014-07-16 13:14 ` Ian Campbell
2014-07-16 14:28 ` Julien Grall
2014-07-16 14:34 ` Ian Campbell
2014-07-16 14:36 ` Julien Grall
2014-07-16 13:10 ` [PATCH v3 1/2] xen/arm: Divide GIC initialization in 2 parts Ian Campbell
2014-07-16 14:22 ` Julien Grall [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=53C68AB5.7030203@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/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.