Skip to contentSkip to conversation

ARM: dts: OMAP5: Add VGIC interrupts for KVM

PATCH New Alexander Tarasikov 3 participants 3 messages Sep 16, 2013 2 messages not in the archive Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: OMAP5: Add VGIC interrupts for KVM

Hello,
this patch adds the interrupts definition to the Cortex A15 GIC description in the .dtsi the way it's done for most other A15 cores. This makes KVM work in HYP mode on the OMAP5432 board.

A message that is not in the archive (sent off-list or not yet received): 1379373423-10486-1-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 1/1 ARM: dts: OMAP5: Add VGIC interrupts for KVM

This adds the interrupt configuration for the Cortex-A15 GIC to make KVM work in HYP mode

---
 arch/arm/boot/dts/omap5.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5.dtsi +1 -0
index 07be2cd..8026a4e 100644
@@ -63,6 +63,7 @@
 		      <0x48212000 0x1000>,
 		      <0x48214000 0x2000>,
 		      <0x48216000 0x2000>;
+		interrupts = <1 9 0xf04>;
 	};
 
 	/*
Signature · 6 lines
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1379373423-10486-2-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#4 lore raw
Quoted 12 lines · Alexander Tarasikov

This adds the interrupt configuration for the Cortex-A15 GIC to make KVM work in HYP mode

---
 arch/arm/boot/dts/omap5.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5.dtsi +0 -0
index 07be2cd..8026a4e 100644

arch/arm/boot/dts/omap5.dtsi line 69

Quoted 7 lines
arch/arm/boot/dts/omap5.dtsi +1 -0
@@ -63,6 +63,7 @@
 		      <0x48212000 0x1000>,
 		      <0x48214000 0x2000>,
 		      <0x48216000 0x2000>;
+		interrupts = <1 9 0xf04>;
 	};
 
 	/*

Interrupt configuration already exist
but what is missing is the maintenance interrupt. I was planning to post a patch to add that. Patch is end of the email. The end result is same as your patch but more readable and as per the recent clean-up of dts.

Regards,
Santosh

Quoted 1 line

From e4aa21948baccc24ad9682e92f7188d5c8d55286 Mon Sep 17 00:00:00 2001

From: Santosh Shilimkar <[email protected]>
Date: Thu, 12 Sep 2013 15:53:13 -0400
Subject: [PATCH] ARM: dts: OMAP5: Add maintenance interrupt for
virtualisation

Add a maintenance IRQ using PPI 9 to OMAP5 device tree needed for virtualisation.

---
 arch/arm/boot/dts/omap5.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5.dtsi +1 -0
index 07be2cd..6de6148 100644
@@ -63,6 +63,7 @@
 		      <0x48212000 0x1000>,
 		      <0x48214000 0x2000>,
 		      <0x48216000 0x2000>;
+		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
 	};
 
 	/*
Signature · 8 lines
1.7.9.5



--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html