From: Julien Grall <julien.grall@linaro.org>
To: Frediano Ziglio <frediano.ziglio@huawei.com>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Tim Deegan <tim@xen.org>
Cc: zoltan.kiss@huawei.com, xen-devel@lists.xen.org
Subject: Re: [PATCH v3 4/8] xen/arm: Add support for DTBs with strange names of Hip04 GICv2
Date: Wed, 05 Nov 2014 13:48:06 +0000 [thread overview]
Message-ID: <545A2A96.8060105@linaro.org> (raw)
In-Reply-To: <1415180475-8339-5-git-send-email-frediano.ziglio@huawei.com>
Hi Frediano,
On 11/05/2014 09:41 AM, Frediano Ziglio wrote:
> This name can appear in some Linux kernel repos. Not very fortunate,
> but to avoid others spending an hour to spot that few characters
> difference it worth to work around it.
Linux upstream is using "hisilicon,hip04-intc" to detect the hisilicon
interrupt controller. So it's not a workaround.
Which kernel is using the "*,hip04-gic"?
Regards,
> Signed-off-by: Zoltan Kiss <zoltan.kiss@huawei.com>
> ---
> xen/arch/arm/gic-v2.c | 1 +
> xen/include/asm-arm/gic.h | 4 +++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c
> index 3cb59dd..9ab30ce 100644
> --- a/xen/arch/arm/gic-v2.c
> +++ b/xen/arch/arm/gic-v2.c
> @@ -823,6 +823,7 @@ DT_DEVICE_END
> static const char * const hip04_gicv2_dt_compat[] __initconst =
> {
> DT_COMPAT_GIC_HIP04,
> + DT_COMPAT_GIC_HIP04_2,
> NULL
> };
>
> diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h
> index 5adb628..3d2b3db 100644
> --- a/xen/include/asm-arm/gic.h
> +++ b/xen/include/asm-arm/gic.h
> @@ -156,11 +156,13 @@
> #define DT_COMPAT_GIC_CORTEX_A15 "arm,cortex-a15-gic"
> #define DT_COMPAT_GIC_CORTEX_A7 "arm,cortex-a7-gic"
> #define DT_COMPAT_GIC_HIP04 "hisilicon,hip04-gic"
> +#define DT_COMPAT_GIC_HIP04_2 "hisilicon,hip04-intc"
>
> #define DT_MATCH_GIC_V2 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A15), \
> DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7), \
> DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_400), \
> - DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_HIP04)
> + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_HIP04), \
> + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_HIP04_2)
>
> #define DT_COMPAT_GIC_V3 "arm,gic-v3"
>
>
--
Julien Grall
next prev parent reply other threads:[~2014-11-05 13:48 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 9:41 [PATCH v3] xen/arm: Add support for Huawei hip04-d01 platform Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 1/8] xen/device_tree: Add new helper to read arrays from a DTB Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 2/8] xen/arm: Implement hip04-d01 platform Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 3/8] xen/arm: Make gic-v2 code handle " Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 4/8] xen/arm: Add support for DTBs with strange names of Hip04 GICv2 Frediano Ziglio
2014-11-05 13:48 ` Julien Grall [this message]
2014-11-05 14:52 ` Stefano Stabellini
2014-11-06 9:46 ` Zoltan Kiss
2014-11-06 9:54 ` Julien Grall
2014-11-06 10:13 ` Frediano Ziglio
2014-11-07 13:36 ` Julien Grall
2014-11-07 14:34 ` Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 5/8] xen/arm: handle GICH register changes for hip04-d01 platform Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 6/8] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform Frediano Ziglio
2014-11-05 9:41 ` [PATCH v3 7/8] xen/device_tree: Add dt_device_get_address_raw Frediano Ziglio
2014-11-05 14:18 ` Julien Grall
2014-11-05 9:41 ` [PATCH v3 8/8] xen/arm: Handle translated addresses for hardware domains Frediano Ziglio
2014-11-05 14:18 ` Julien Grall
2014-11-05 14:54 ` Zoltan Kiss
2014-11-05 14:58 ` Julien Grall
2014-11-05 15:13 ` Frediano Ziglio
2014-11-05 15:28 ` Julien Grall
2014-11-05 15:46 ` Frediano Ziglio
2014-11-05 15:51 ` Julien Grall
2014-11-05 15:52 ` Julien Grall
2014-11-05 16:02 ` Frediano Ziglio
2014-11-05 13:38 ` [PATCH v3] xen/arm: Add support for Huawei hip04-d01 platform Julien Grall
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=545A2A96.8060105@linaro.org \
--to=julien.grall@linaro.org \
--cc=frediano.ziglio@huawei.com \
--cc=ian.campbell@citrix.com \
--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.