From: colin.tuckley@arm.com (Colin Tuckley)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/6] ARM Realview PCIX IRQ include file changes
Date: Wed, 20 Oct 2010 14:03:11 +0100 [thread overview]
Message-ID: <20101020130311.22199.41755.stgit@e102602-lin.cambridge.arm.com> (raw)
In-Reply-To: <20101020125554.22199.78597.stgit@e102602-lin.cambridge.arm.com>
This patch adds the Interrupt definitions for the PCI
support on the Realview boards.
Signed-off-by: Colin Tuckley <colin.tuckley@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
---
arch/arm/mach-realview/include/mach/irqs-pb11mp.h | 11 +++++++++++
arch/arm/mach-realview/include/mach/irqs-pba8.h | 7 ++++++-
arch/arm/mach-realview/include/mach/irqs-pbx.h | 7 ++++++-
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-realview/include/mach/irqs-pb11mp.h b/arch/arm/mach-realview/include/mach/irqs-pb11mp.h
index 34e255a..cd3e3e6 100644
--- a/arch/arm/mach-realview/include/mach/irqs-pb11mp.h
+++ b/arch/arm/mach-realview/include/mach/irqs-pb11mp.h
@@ -95,6 +95,17 @@
#define IRQ_PB11MP_TSPEN (IRQ_PB11MP_GIC_START + 30) /* Touchscreen pen */
#define IRQ_PB11MP_TSKPAD (IRQ_PB11MP_GIC_START + 31) /* Touchscreen keypad */
+/* These PCI/PCIe IRQ definitions are here as placeholders
+ * The PCI code actually calculates the irq used at runtime */
+#define IRQ_PB11MP_PCI0 (IRQ_PB11MP_GIC_START + 50)
+#define IRQ_PB11MP_PCI1 (IRQ_PB11MP_GIC_START + 51)
+#define IRQ_PB11MP_PCI2 (IRQ_PB11MP_GIC_START + 52)
+#define IRQ_PB11MP_PCI3 (IRQ_PB11MP_GIC_START + 53)
+#define IRQ_PB11MP_PCIE0 (IRQ_PB11MP_GIC_START + 54)
+#define IRQ_PB11MP_PCIE1 (IRQ_PB11MP_GIC_START + 55)
+#define IRQ_PB11MP_PCIE2 (IRQ_PB11MP_GIC_START + 56)
+#define IRQ_PB11MP_PCIE3 (IRQ_PB11MP_GIC_START + 57)
+
#define IRQ_PB11MP_SMC -1
#define IRQ_PB11MP_SCTL -1
diff --git a/arch/arm/mach-realview/include/mach/irqs-pba8.h b/arch/arm/mach-realview/include/mach/irqs-pba8.h
index 4a88a4e..da6d583 100644
--- a/arch/arm/mach-realview/include/mach/irqs-pba8.h
+++ b/arch/arm/mach-realview/include/mach/irqs-pba8.h
@@ -61,11 +61,16 @@
#define IRQ_PBA8_PMU (IRQ_PBA8_GIC_START + 47) /* Cortex-A8 PMU */
-/* ... */
+/* These PCI/PCIe IRQ definitions are here as placeholders
+ * The PCI code actually calculates the irq used at runtime */
#define IRQ_PBA8_PCI0 (IRQ_PBA8_GIC_START + 50)
#define IRQ_PBA8_PCI1 (IRQ_PBA8_GIC_START + 51)
#define IRQ_PBA8_PCI2 (IRQ_PBA8_GIC_START + 52)
#define IRQ_PBA8_PCI3 (IRQ_PBA8_GIC_START + 53)
+#define IRQ_PBA8_PCIE0 (IRQ_PBA8_GIC_START + 54)
+#define IRQ_PBA8_PCIE1 (IRQ_PBA8_GIC_START + 55)
+#define IRQ_PBA8_PCIE2 (IRQ_PBA8_GIC_START + 56)
+#define IRQ_PBA8_PCIE3 (IRQ_PBA8_GIC_START + 57)
#define IRQ_PBA8_SMC -1
#define IRQ_PBA8_SCTL -1
diff --git a/arch/arm/mach-realview/include/mach/irqs-pbx.h b/arch/arm/mach-realview/include/mach/irqs-pbx.h
index 206a300..f661702 100644
--- a/arch/arm/mach-realview/include/mach/irqs-pbx.h
+++ b/arch/arm/mach-realview/include/mach/irqs-pbx.h
@@ -76,11 +76,16 @@
#define IRQ_PBX_PMU_CPU2 (IRQ_PBX_GIC_START + 46)
#define IRQ_PBX_PMU_CPU3 (IRQ_PBX_GIC_START + 47)
-/* ... */
+/* These PCI/PCIe IRQ definitions are here as placeholders
+ * The PCI code actually calculates the irq used at runtime */
#define IRQ_PBX_PCI0 (IRQ_PBX_GIC_START + 50)
#define IRQ_PBX_PCI1 (IRQ_PBX_GIC_START + 51)
#define IRQ_PBX_PCI2 (IRQ_PBX_GIC_START + 52)
#define IRQ_PBX_PCI3 (IRQ_PBX_GIC_START + 53)
+#define IRQ_PBX_PCIE0 (IRQ_PBX_GIC_START + 54)
+#define IRQ_PBX_PCIE1 (IRQ_PBX_GIC_START + 55)
+#define IRQ_PBX_PCIE2 (IRQ_PBX_GIC_START + 56)
+#define IRQ_PBX_PCIE3 (IRQ_PBX_GIC_START + 57)
#define IRQ_PBX_SMC -1
#define IRQ_PBX_SCTL -1
next prev parent reply other threads:[~2010-10-20 13:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 13:02 [PATCH 0/6] Add PCI support for ARM RealView boards Colin Tuckley
2010-10-20 13:02 ` [PATCH 1/6] Realview PCIX support - add main support module code Colin Tuckley
2010-10-20 21:16 ` Arnd Bergmann
2010-10-21 10:03 ` Colin Tuckley
2010-10-21 12:44 ` Arnd Bergmann
2010-10-28 14:09 ` Russell King - ARM Linux
2010-10-28 14:29 ` Arnd Bergmann
2010-10-28 14:02 ` Russell King - ARM Linux
2010-10-20 13:02 ` [PATCH 2/6] ARM: enable bridges in pci_common_init Colin Tuckley
2010-10-20 13:03 ` [PATCH 3/6] ARM Realview PCIX map include file changes Colin Tuckley
2010-10-20 21:28 ` Arnd Bergmann
2010-10-20 13:03 ` Colin Tuckley [this message]
2010-10-20 13:03 ` [PATCH 5/6] ARM Realview PCIX board " Colin Tuckley
2010-10-20 13:03 ` [PATCH 6/6] ARM Realview PCIX build " Colin Tuckley
2010-10-20 21:32 ` Arnd Bergmann
-- strict thread matches above, loose matches on Subject: below --
2010-12-22 14:03 [PATCH 0/6] Series short description Colin Tuckley
2010-12-22 14:04 ` [PATCH 4/6] ARM Realview PCIX IRQ include file changes Colin Tuckley
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=20101020130311.22199.41755.stgit@e102602-lin.cambridge.arm.com \
--to=colin.tuckley@arm.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).