diff mbox

KVM: arm64: add gic-400 compatible

Message ID 20140908222144.4967.80301.stgit@joelaarch64.amd.com
State New
Headers show

Commit Message

Joel Schopp Sept. 8, 2014, 10:21 p.m. UTC
Add a one liner to identify the gic-400.  It's gicv2 with optional MSI extensions.

Cc: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Joel Schopp <joel.schopp@amd.com>
---
 virt/kvm/arm/vgic.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Mark Rutland Sept. 9, 2014, 10:15 a.m. UTC | #1
On Mon, Sep 08, 2014 at 11:21:44PM +0100, Joel Schopp wrote:
> Add a one liner to identify the gic-400.  It's gicv2 with optional MSI extensions.
> 
> Cc: Christoffer Dall <christoffer.dall@linaro.org>
> Signed-off-by: Joel Schopp <joel.schopp@amd.com>
> ---
>  virt/kvm/arm/vgic.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
> index 73eba79..e81444e 100644
> --- a/virt/kvm/arm/vgic.c
> +++ b/virt/kvm/arm/vgic.c
> @@ -1550,6 +1550,7 @@ static struct notifier_block vgic_cpu_nb = {
>  
>  static const struct of_device_id vgic_ids[] = {
>  	{ .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, },
> +	{ .compatible = "arm,gic-400", .data = vgic_v2_probe, },

Given this is documented and is supported by the GIC driver:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.
Christoffer Dall Sept. 11, 2014, 11:07 p.m. UTC | #2
On Mon, Sep 08, 2014 at 10:21:44PM +0000, Joel Schopp wrote:
> Add a one liner to identify the gic-400.  It's gicv2 with optional MSI extensions.
> 
> Cc: Christoffer Dall <christoffer.dall@linaro.org>
> Signed-off-by: Joel Schopp <joel.schopp@amd.com>
> ---
>  virt/kvm/arm/vgic.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
> index 73eba79..e81444e 100644
> --- a/virt/kvm/arm/vgic.c
> +++ b/virt/kvm/arm/vgic.c
> @@ -1550,6 +1550,7 @@ static struct notifier_block vgic_cpu_nb = {
>  
>  static const struct of_device_id vgic_ids[] = {
>  	{ .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, },
> +	{ .compatible = "arm,gic-400", .data = vgic_v2_probe, },
>  	{ .compatible = "arm,gic-v3", .data = vgic_v3_probe, },
>  	{},
>  };
> 
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
AKASHI Takahiro April 2, 2015, 7:47 a.m. UTC | #3
Ping.
This patch was acked but has never been merged?

-Takahiro AKASHI

On 09/09/2014 07:21 AM, Joel Schopp wrote:
> Add a one liner to identify the gic-400.  It's gicv2 with optional MSI extensions.
>
> Cc: Christoffer Dall <christoffer.dall@linaro.org>
> Signed-off-by: Joel Schopp <joel.schopp@amd.com>
> ---
>   virt/kvm/arm/vgic.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
> index 73eba79..e81444e 100644
> --- a/virt/kvm/arm/vgic.c
> +++ b/virt/kvm/arm/vgic.c
> @@ -1550,6 +1550,7 @@ static struct notifier_block vgic_cpu_nb = {
>
>   static const struct of_device_id vgic_ids[] = {
>   	{ .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, },
> +	{ .compatible = "arm,gic-400", .data = vgic_v2_probe, },
>   	{ .compatible = "arm,gic-v3", .data = vgic_v3_probe, },
>   	{},
>   };
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
diff mbox

Patch

diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
index 73eba79..e81444e 100644
--- a/virt/kvm/arm/vgic.c
+++ b/virt/kvm/arm/vgic.c
@@ -1550,6 +1550,7 @@  static struct notifier_block vgic_cpu_nb = {
 
 static const struct of_device_id vgic_ids[] = {
 	{ .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, },
+	{ .compatible = "arm,gic-400", .data = vgic_v2_probe, },
 	{ .compatible = "arm,gic-v3", .data = vgic_v3_probe, },
 	{},
 };