From: Julien Grall <julien.grall@citrix.com>
To: Zoltan Kiss <zoltan.kiss@linaro.org>,
Julien Grall <julien.grall@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com,
tim@xen.org,
Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>,
Zoltan Kiss <zoltan.kiss@huawei.com>
Subject: Re: [PATCH] xen/arm: gic-hip04: Resync the driver with the GICv2
Date: Mon, 1 Jun 2015 13:11:13 +0100 [thread overview]
Message-ID: <556C4BE1.9090508@citrix.com> (raw)
In-Reply-To: <556C4133.6060703@linaro.org>
On 01/06/15 12:25, Zoltan Kiss wrote:
> Hi,
>
> Yes, we managed to test it, and it works. Then only thing I've found is
> this bit:
>
> + /* Only 1020 interrupts are supported */
> + gicv2_info.nr_lines = min(1020U, nr_lines);
>
> This interrupt controller only supports 511, so 1020 should be replaced.
> We had such checking in the code in the early versions, and I looked
> everywhere in the archives to figure out why it was dropped before
> upstreaming, but I couldn't find it.
I'm aware of the 512 limit (see comment on the patch [1]). This change
was introduced on GICv2/GICv3 because the nr_lines will always be
aligned to 32, although IRQ 1020-1023 are reserved.
512 is a multiple of 32 and unless you have reserved IRQ below 512
and/or your GIC doesn't expose the right number of IRQ, this doesn't
harm and keep the change limited.
> Other than this bit:
>
> Reviewed-by: Zoltan Kiss <zoltan.kiss@huawei.com>
> Tested-by: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
Thanks. Can I get some Acked/Review on the other pending patch series?
http://lists.xenproject.org/archives/html/xen-devel/2015-05/msg00944.html :
6 patches to ack.
Regards,
[1] https://patches.linaro.org/46100/
--
Julien Grall
next prev parent reply other threads:[~2015-06-01 12:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 18:52 [PATCH] xen/arm: gic-hip04: Resync the driver with the GICv2 Julien Grall
2015-05-07 8:52 ` Zoltan Kiss
2015-05-07 9:32 ` Ian Campbell
2015-05-07 12:37 ` Zoltan Kiss
2015-05-15 21:08 ` Julien Grall
2015-05-18 13:36 ` Zoltan Kiss
2015-06-01 11:13 ` Julien Grall
2015-06-01 11:18 ` Ian Campbell
2015-06-01 11:25 ` Zoltan Kiss
2015-06-01 12:11 ` Julien Grall [this message]
2015-06-01 13:18 ` Zoltan Kiss
2015-06-01 15:34 ` Julien Grall
2015-06-09 13:03 ` Shameerali Kolothum Thodi
2015-06-10 18:23 ` Julien Grall
2015-06-03 10:35 ` Ian Campbell
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=556C4BE1.9090508@citrix.com \
--to=julien.grall@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=shameerali.kolothum.thodi@huawei.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
--cc=zoltan.kiss@huawei.com \
--cc=zoltan.kiss@linaro.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.