* [PATCH TRIVIAL] Enable GICv2m on ARM virt machine
@ 2015-08-04 9:59 Pavel Fedin
2015-08-07 8:52 ` Marc Zyngier
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Fedin @ 2015-08-04 9:59 UTC (permalink / raw)
To: linux-arm-kernel
qemu implementation of "virt" includes GICv2m. This commit allows to use
it also on ARM32 architecture.
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/Kbuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 45df48b..1091025 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -815,6 +815,7 @@ config ARCH_VIRT
bool "Dummy Virtual Machine" if ARCH_MULTI_V7
select ARM_AMBA
select ARM_GIC
+ select ARM_GIC_V2M if PCI_MSI
select ARM_PSCI
select HAVE_ARM_ARCH_TIMER
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild
index 3c4596d..01806f5 100644
--- a/arch/arm/include/asm/Kbuild
+++ b/arch/arm/include/asm/Kbuild
@@ -14,6 +14,7 @@ generic-y += local.h
generic-y += local64.h
generic-y += mcs_spinlock.h
generic-y += msgbuf.h
+generic-y += msi.h
generic-y += param.h
generic-y += parport.h
generic-y += poll.h
--
1.9.5.msysgit.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH TRIVIAL] Enable GICv2m on ARM virt machine
2015-08-04 9:59 [PATCH TRIVIAL] Enable GICv2m on ARM virt machine Pavel Fedin
@ 2015-08-07 8:52 ` Marc Zyngier
2015-08-07 10:20 ` Pavel Fedin
0 siblings, 1 reply; 4+ messages in thread
From: Marc Zyngier @ 2015-08-07 8:52 UTC (permalink / raw)
To: linux-arm-kernel
Hi Pavel,
On 04/08/15 10:59, Pavel Fedin wrote:
> qemu implementation of "virt" includes GICv2m. This commit allows to use
> it also on ARM32 architecture.
>
> Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
> ---
> arch/arm/Kconfig | 1 +
> arch/arm/include/asm/Kbuild | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 45df48b..1091025 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -815,6 +815,7 @@ config ARCH_VIRT
> bool "Dummy Virtual Machine" if ARCH_MULTI_V7
> select ARM_AMBA
> select ARM_GIC
> + select ARM_GIC_V2M if PCI_MSI
> select ARM_PSCI
> select HAVE_ARM_ARCH_TIMER
>
> diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild
> index 3c4596d..01806f5 100644
> --- a/arch/arm/include/asm/Kbuild
> +++ b/arch/arm/include/asm/Kbuild
> @@ -14,6 +14,7 @@ generic-y += local.h
> generic-y += local64.h
> generic-y += mcs_spinlock.h
> generic-y += msgbuf.h
> +generic-y += msi.h
> generic-y += param.h
> generic-y += parport.h
> generic-y += poll.h
>
You may want to add a comment about the dependency chain that requires
the generic msi.h.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH TRIVIAL] Enable GICv2m on ARM virt machine
2015-08-07 8:52 ` Marc Zyngier
@ 2015-08-07 10:20 ` Pavel Fedin
2015-08-07 10:33 ` Marc Zyngier
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Fedin @ 2015-08-07 10:20 UTC (permalink / raw)
To: linux-arm-kernel
Hello!
> You may want to add a comment about the dependency chain that requires
> the generic msi.h.
The error i get is:
--- cut ---
In file included from kernel/irq/chip.c:14:0:
include/linux/msi.h:123:21: fatal error: asm/msi.h: No such file or directory
#include <asm/msi.h>
^
--- cut ---
This portion in linux/msi.h sits under #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN, which is activated by
the following chain:
ARM_GIC_V2M => PCI_MSI_IRQ_DOMAIN => GENERIC_MSI_IRQ_DOMAIN
Do i need to respin just because of comment?
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH TRIVIAL] Enable GICv2m on ARM virt machine
2015-08-07 10:20 ` Pavel Fedin
@ 2015-08-07 10:33 ` Marc Zyngier
0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2015-08-07 10:33 UTC (permalink / raw)
To: linux-arm-kernel
On 07/08/15 11:20, Pavel Fedin wrote:
> Hello!
>
>> You may want to add a comment about the dependency chain that requires
>> the generic msi.h.
>
> The error i get is:
> --- cut ---
> In file included from kernel/irq/chip.c:14:0:
> include/linux/msi.h:123:21: fatal error: asm/msi.h: No such file or directory
> #include <asm/msi.h>
> ^
> --- cut ---
>
> This portion in linux/msi.h sits under #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN, which is activated by
> the following chain:
> ARM_GIC_V2M => PCI_MSI_IRQ_DOMAIN => GENERIC_MSI_IRQ_DOMAIN
>
> Do i need to respin just because of comment?
That's for Russell to decide, really. But I feel that adding an include
file that affects the whole architecture (and not just a single
platform) deserves an explanation in the commit log.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-07 10:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 9:59 [PATCH TRIVIAL] Enable GICv2m on ARM virt machine Pavel Fedin
2015-08-07 8:52 ` Marc Zyngier
2015-08-07 10:20 ` Pavel Fedin
2015-08-07 10:33 ` Marc Zyngier
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).