* [PATCH] microblaze: Enable SPARSE_IRQ
@ 2019-10-08 10:23 Michal Simek
2019-10-25 6:16 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2019-10-08 10:23 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git; +Cc: Mubin Sayyed
Enabling SPARSE_IRQ to use dynamically allocated irq descriptors.
Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/microblaze/Kconfig | 1 +
arch/microblaze/include/asm/irq.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index c9c4be822456..a75896f18e58 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -46,6 +46,7 @@ config MICROBLAZE
select VIRT_TO_BUS
select CPU_NO_EFFICIENT_FFS
select MMU_GATHER_NO_RANGE if MMU
+ select SPARSE_IRQ
# Endianness selection
choice
diff --git a/arch/microblaze/include/asm/irq.h b/arch/microblaze/include/asm/irq.h
index d785defeeed5..eac2fb4b3fb9 100644
--- a/arch/microblaze/include/asm/irq.h
+++ b/arch/microblaze/include/asm/irq.h
@@ -9,7 +9,6 @@
#ifndef _ASM_MICROBLAZE_IRQ_H
#define _ASM_MICROBLAZE_IRQ_H
-#define NR_IRQS (32 + 1)
#include <asm-generic/irq.h>
struct pt_regs;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] microblaze: Enable SPARSE_IRQ
2019-10-08 10:23 [PATCH] microblaze: Enable SPARSE_IRQ Michal Simek
@ 2019-10-25 6:16 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2019-10-25 6:16 UTC (permalink / raw)
To: LKML, Michal Simek, git; +Cc: Mubin Sayyed
út 8. 10. 2019 v 12:23 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Enabling SPARSE_IRQ to use dynamically allocated irq descriptors.
>
> Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> arch/microblaze/Kconfig | 1 +
> arch/microblaze/include/asm/irq.h | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
> index c9c4be822456..a75896f18e58 100644
> --- a/arch/microblaze/Kconfig
> +++ b/arch/microblaze/Kconfig
> @@ -46,6 +46,7 @@ config MICROBLAZE
> select VIRT_TO_BUS
> select CPU_NO_EFFICIENT_FFS
> select MMU_GATHER_NO_RANGE if MMU
> + select SPARSE_IRQ
>
> # Endianness selection
> choice
> diff --git a/arch/microblaze/include/asm/irq.h b/arch/microblaze/include/asm/irq.h
> index d785defeeed5..eac2fb4b3fb9 100644
> --- a/arch/microblaze/include/asm/irq.h
> +++ b/arch/microblaze/include/asm/irq.h
> @@ -9,7 +9,6 @@
> #ifndef _ASM_MICROBLAZE_IRQ_H
> #define _ASM_MICROBLAZE_IRQ_H
>
> -#define NR_IRQS (32 + 1)
> #include <asm-generic/irq.h>
>
> struct pt_regs;
> --
> 2.17.1
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-25 6:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 10:23 [PATCH] microblaze: Enable SPARSE_IRQ Michal Simek
2019-10-25 6:16 ` Michal Simek
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).