From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: linux-ia64@vger.kernel.org
Subject: [RFC][patch 1/10] Multiple vector domain support - change ia64 Kconfig
Date: Thu, 14 Jul 2005 09:18:10 +0000 [thread overview]
Message-ID: <42D62DD2.9000701@jp.fujitsu.com> (raw)
This patch adds the following configs options into arch/ia64/Kconfig
o VECTOR_DOMAIN Multiple vector domain support
o NR_VECTOR_DOMAINS # of vector domains
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
---
linux-2.6.13-rc1-kanesige/arch/ia64/Kconfig | 17 +++++++++++++++++
linux-2.6.13-rc1-kanesige/include/asm-ia64/irq.h | 8 +++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff -puN arch/ia64/Kconfig~vector-domain-ia64-change-Kconfig arch/ia64/Kconfig
--- linux-2.6.13-rc1/arch/ia64/Kconfig~vector-domain-ia64-change-Kconfig 2005-07-13 14:33:47.000000000 +0900
+++ linux-2.6.13-rc1-kanesige/arch/ia64/Kconfig 2005-07-13 14:51:35.000000000 +0900
@@ -350,6 +350,23 @@ config ACPI_DEALLOCATE_IRQ
depends on IOSAPIC && EXPERIMENTAL
default y
+config VECTOR_DOMAIN
+ bool "Multiple vector domain support"
+ depends on (SMP && !HOTPLUG_CPU && !PCI_MSI)
+ default n
+ help
+ This option enables multiple vector domain support. If you
+ system has many interrupt sources, you should say Y here. If
+ unsure, say N here.
+
+config NR_VECTOR_DOMAINS
+ int "Maximum number of vector domains (2-512)"
+ range 2 512
+ depends on VECTOR_DOMAIN
+ default 2
+ help
+ This option specifies muximum number of vector domains.
+
source "drivers/firmware/Kconfig"
source "fs/Kconfig.binfmt"
diff -puN include/asm-ia64/irq.h~vector-domain-ia64-change-Kconfig include/asm-ia64/irq.h
--- linux-2.6.13-rc1/include/asm-ia64/irq.h~vector-domain-ia64-change-Kconfig 2005-07-13 14:33:47.000000000 +0900
+++ linux-2.6.13-rc1-kanesige/include/asm-ia64/irq.h 2005-07-13 14:50:34.000000000 +0900
@@ -11,7 +11,13 @@
* 02/29/00 D.Mosberger moved most things into hw_irq.h
*/
-#define NR_IRQS 256
+#ifndef CONFIG_VECTOR_DOMAIN
+#define NR_VECTOR_DOMAINS (1)
+#else
+#define NR_VECTOR_DOMAINS CONFIG_NR_VECTOR_DOMAINS
+#endif /* CONFIG_VECTOR_DOMAIN */
+
+#define NR_IRQS (256 * NR_VECTOR_DOMAINS)
#define NR_IRQ_VECTORS NR_IRQS
static __inline__ int
_
reply other threads:[~2005-07-14 9:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D62DD2.9000701@jp.fujitsu.com \
--to=kaneshige.kenji@jp.fujitsu.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox