Skip to contentSkip to conversation

KVM: arm64: add gic-400 compatible

PATCH In review Joel Schopp 4 participants 5 messages Sep 8, 2014 – Apr 2, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: arm64: add gic-400 compatible

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc Christoffer Dall <[email protected]>
---
 virt/kvm/arm/vgic.c |    1 +
 1 file changed, 1 insertion(+)
virt/kvm/arm/vgic.c +1 -0
index 73eba79..e81444e 100644
@@ -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 on v1 1/1
#1 lore raw
Quoted 13 lines · Joel Schopp

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc Christoffer Dall <[email protected]>
---
 virt/kvm/arm/vgic.c |    1 +
 1 file changed, 1 insertion(+)
virt/kvm/arm/vgic.c +0 -0
index 73eba79..e81444e 100644

virt/kvm/arm/vgic.c static struct notifier_block vgic_cpu_nb = { · line 1553

Quoted 4 lines
virt/kvm/arm/vgic.c +1 -0
@@ -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:

Mark.

Acked-by on v1 1/1
#2 lore raw
In reply to Joel Schopp
Quoted 14 lines · Joel Schopp

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc Christoffer Dall <[email protected]>
---
 virt/kvm/arm/vgic.c |    1 +
 1 file changed, 1 insertion(+)
virt/kvm/arm/vgic.c +0 -0
index 73eba79..e81444e 100644

virt/kvm/arm/vgic.c static struct notifier_block vgic_cpu_nb = { · line 1556

Quoted 7 lines
virt/kvm/arm/vgic.c +1 -0
@@ -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, },
 	{},
 };
#3 lore raw
In reply to Joel Schopp

Ping.
This patch was acked but has never been merged?

-Takahiro AKASHI

Quoted 27 lines · Joel Schopp

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc Christoffer Dall <[email protected]>
---
  virt/kvm/arm/vgic.c |    1 +
  1 file changed, 1 insertion(+)
virt/kvm/arm/vgic.c +1 -0
index 73eba79..e81444e 100644
@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#4 lore raw

Hi,

Quoted 2 lines · AKASHI Takahiro

Ping.
This patch was acked but has never been merged?

There's a more complete patch in the kvmarm tree, queued for 4.1 [1]. It adds both "arm,gic-400" and "arm,cortex-a7-gic".

Mark.

[1] https://git.kernel.org/cgit/linux/kernel/git/kvmarm/kvmarm.git/commit/?h=queue&id=0f37247574b3ef5b130116bbf7c0f9eb8a4c78c2

Quoted 36 lines

-Takahiro AKASHI

Quoted 22 lines · Joel Schopp

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc Christoffer Dall <[email protected]>
---
  virt/kvm/arm/vgic.c |    1 +
  1 file changed, 1 insertion(+)
virt/kvm/arm/vgic.c +1 -0
index 73eba79..e81444e 100644
@@ -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, },
  	{},
  };
Quoted 5 lines

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm