linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640
@ 2010-03-11  5:33 Magnus Damm
  2010-05-20  3:12 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2010-03-11  5:33 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

Increase NR_IRQS to 640 on SH-Mobile ARM. With this
applied the INTCS controller on sh7372 can be supported.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Depends on "[PATCH] ARM: Add support for 10 hardirq bits"

 arch/arm/mach-shmobile/include/mach/irqs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 0016/arch/arm/mach-shmobile/include/mach/irqs.h
+++ work/arch/arm/mach-shmobile/include/mach/irqs.h	2010-03-09 21:15:41.000000000 +0900
@@ -1,7 +1,7 @@
 #ifndef __ASM_MACH_IRQS_H
 #define __ASM_MACH_IRQS_H
 
-#define NR_IRQS         512
+#define NR_IRQS         640
 #define NR_IRQS_LEGACY  8
 
 /* INTCA */

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640
  2010-03-11  5:33 [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640 Magnus Damm
@ 2010-05-20  3:12 ` Paul Mundt
  2010-12-20 10:56 ` [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024 Magnus Damm
  2010-12-20 13:45 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2010-05-20  3:12 UTC (permalink / raw)
  To: linux-sh

On Thu, Mar 11, 2010 at 02:33:52PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Increase NR_IRQS to 640 on SH-Mobile ARM. With this
> applied the INTCS controller on sh7372 can be supported.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

I've dropped this one due to the INTCS_VECT_BASE shifting, feel free to
resubmit an updated version once support for 10-bit hardirqs hits
upstream.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024
  2010-03-11  5:33 [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640 Magnus Damm
  2010-05-20  3:12 ` Paul Mundt
@ 2010-12-20 10:56 ` Magnus Damm
  2010-12-20 13:45 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2010-12-20 10:56 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

Increase NR_IRQS from 512 to 1024 on SH-Mobile ARM.

Needed to support vectors in the sh73a0 INTCS block.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/mach-shmobile/include/mach/irqs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 0001/arch/arm/mach-shmobile/include/mach/irqs.h
+++ work/arch/arm/mach-shmobile/include/mach/irqs.h	2010-12-20 19:55:57.000000000 +0900
@@ -1,7 +1,7 @@
 #ifndef __ASM_MACH_IRQS_H
 #define __ASM_MACH_IRQS_H
 
-#define NR_IRQS         512
+#define NR_IRQS         1024
 
 /* GIC */
 #define gic_spi(nr)		((nr) + 32)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024
  2010-03-11  5:33 [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640 Magnus Damm
  2010-05-20  3:12 ` Paul Mundt
  2010-12-20 10:56 ` [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024 Magnus Damm
@ 2010-12-20 13:45 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2010-12-20 13:45 UTC (permalink / raw)
  To: linux-sh

On Mon, Dec 20, 2010 at 08:00:19PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Increase NR_IRQS from 512 to 1024 on SH-Mobile ARM.
> 
> Needed to support vectors in the sh73a0 INTCS block.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

This will bring us to the maximum number we can support in the hardirq
bits, just so you're aware.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-20 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11  5:33 [PATCH] ARM: mach-shmobile: bump up NR_IRQS to 640 Magnus Damm
2010-05-20  3:12 ` Paul Mundt
2010-12-20 10:56 ` [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024 Magnus Damm
2010-12-20 13:45 ` Paul Mundt

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).