* [PATCH] ARM: dts: OMAP5: Add VGIC interrupts for KVM
@ 2013-09-16 23:17 Alexander Tarasikov
[not found] ` <1379373423-10486-1-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Tarasikov @ 2013-09-16 23:17 UTC (permalink / raw)
To: linux-omap; +Cc: devicetree, bcousson, tony
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: OMAP5: Add VGIC interrupts for KVM
[not found] ` <1379373423-10486-1-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-09-16 23:17 ` Alexander Tarasikov
[not found] ` <1379373423-10486-2-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Tarasikov @ 2013-09-16 23:17 UTC (permalink / raw)
To: linux-omap-u79uwXL29TY76Z2rM5mHXA
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
bcousson-rdvid1DuHRBWk0Htik3J/w, tony-4v6yS6AI5VpBDgjK7y7TUQ,
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(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 07be2cd..8026a4e 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -63,6 +63,7 @@
<0x48212000 0x1000>,
<0x48214000 0x2000>,
<0x48216000 0x2000>;
+ interrupts = <1 9 0xf04>;
};
/*
--
1.8.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: OMAP5: Add VGIC interrupts for KVM
[not found] ` <1379373423-10486-2-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-09-16 23:24 ` Santosh Shilimkar
0 siblings, 0 replies; 3+ messages in thread
From: Santosh Shilimkar @ 2013-09-16 23:24 UTC (permalink / raw)
To: Alexander Tarasikov
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
bcousson-rdvid1DuHRBWk0Htik3J/w, tony-4v6yS6AI5VpBDgjK7y7TUQ
On Monday 16 September 2013 07:17 PM, Alexander Tarasikov wrote:
> 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(+)
>
> diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
> index 07be2cd..8026a4e 100644
> --- a/arch/arm/boot/dts/omap5.dtsi
> +++ b/arch/arm/boot/dts/omap5.dtsi
> @@ -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
>From e4aa21948baccc24ad9682e92f7188d5c8d55286 Mon Sep 17 00:00:00 2001
From: Santosh Shilimkar <santosh.shilimkar-l0cyMroinI0@public.gmane.org>
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.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/omap5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 07be2cd..6de6148 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -63,6 +63,7 @@
<0x48212000 0x1000>,
<0x48214000 0x2000>,
<0x48216000 0x2000>;
+ interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
};
/*
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-16 23:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16 23:17 [PATCH] ARM: dts: OMAP5: Add VGIC interrupts for KVM Alexander Tarasikov
[not found] ` <1379373423-10486-1-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-16 23:17 ` Alexander Tarasikov
[not found] ` <1379373423-10486-2-git-send-email-alexander.tarasikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-16 23:24 ` Santosh Shilimkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).