All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+kernel@armlinux.org.uk>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: footbridge: avoid using separate PCI I/O bus resource
Date: Fri, 26 Mar 2021 12:18:13 +0000	[thread overview]
Message-ID: <E1lPlPp-0007oR-7A@rmk-PC.armlinux.org.uk> (raw)
In-Reply-To: <20210326121735.GQ1463@shell.armlinux.org.uk>

Disable the separate PCI I/O bus resource, since the PCI bus on these
platforms covers the whole of I/O space, even low ISA addresses are
on the PCI bus.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 arch/arm/mach-footbridge/cats-pci.c      | 1 +
 arch/arm/mach-footbridge/ebsa285-pci.c   | 1 +
 arch/arm/mach-footbridge/netwinder-pci.c | 1 +
 arch/arm/mach-footbridge/personal-pci.c  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-footbridge/cats-pci.c b/arch/arm/mach-footbridge/cats-pci.c
index 90b1e9be430e..ac225b295f6d 100644
--- a/arch/arm/mach-footbridge/cats-pci.c
+++ b/arch/arm/mach-footbridge/cats-pci.c
@@ -48,6 +48,7 @@ static struct hw_pci cats_pci __initdata = {
 	.swizzle		= cats_no_swizzle,
 	.map_irq		= cats_map_irq,
 	.nr_controllers		= 1,
+	.no_bus_ioport_resource	= 1,
 	.ops			= &dc21285_ops,
 	.setup			= dc21285_setup,
 	.preinit		= dc21285_preinit,
diff --git a/arch/arm/mach-footbridge/ebsa285-pci.c b/arch/arm/mach-footbridge/ebsa285-pci.c
index c3f280d08fa7..89b505bb02e4 100644
--- a/arch/arm/mach-footbridge/ebsa285-pci.c
+++ b/arch/arm/mach-footbridge/ebsa285-pci.c
@@ -32,6 +32,7 @@ static int ebsa285_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 static struct hw_pci ebsa285_pci __initdata = {
 	.map_irq		= ebsa285_map_irq,
 	.nr_controllers		= 1,
+	.no_bus_ioport_resource	= 1,
 	.ops			= &dc21285_ops,
 	.setup			= dc21285_setup,
 	.preinit		= dc21285_preinit,
diff --git a/arch/arm/mach-footbridge/netwinder-pci.c b/arch/arm/mach-footbridge/netwinder-pci.c
index e8304392074b..ea12b152bbea 100644
--- a/arch/arm/mach-footbridge/netwinder-pci.c
+++ b/arch/arm/mach-footbridge/netwinder-pci.c
@@ -46,6 +46,7 @@ static int netwinder_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 static struct hw_pci netwinder_pci __initdata = {
 	.map_irq		= netwinder_map_irq,
 	.nr_controllers		= 1,
+	.no_bus_ioport_resource	= 1,
 	.ops			= &dc21285_ops,
 	.setup			= dc21285_setup,
 	.preinit		= dc21285_preinit,
diff --git a/arch/arm/mach-footbridge/personal-pci.c b/arch/arm/mach-footbridge/personal-pci.c
index 9d19aa98a663..560ad5672783 100644
--- a/arch/arm/mach-footbridge/personal-pci.c
+++ b/arch/arm/mach-footbridge/personal-pci.c
@@ -41,6 +41,7 @@ static int personal_server_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 static struct hw_pci personal_server_pci __initdata = {
 	.map_irq		= personal_server_map_irq,
 	.nr_controllers		= 1,
+	.no_bus_ioport_resource	= 1,
 	.ops			= &dc21285_ops,
 	.setup			= dc21285_setup,
 	.preinit		= dc21285_preinit,
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-03-26 12:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 12:17 [PATCH 0/3] Fix Footbridge PCI I/O resources Russell King - ARM Linux admin
2021-03-26 12:18 ` [PATCH 1/3] ARM: pci: make bus I/O resources optional Russell King
2021-03-26 13:33   ` Arnd Bergmann
2021-03-26 13:39     ` Russell King - ARM Linux admin
2021-03-26 14:01       ` Arnd Bergmann
2021-03-26 12:18 ` Russell King [this message]
2021-03-26 12:18 ` [PATCH 3/3] ARM: footbridge: restore allocation of CSR I/O resource Russell King
2021-03-26 13:37   ` Arnd Bergmann
2021-03-26 13:40     ` Russell King - ARM Linux admin

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=E1lPlPp-0007oR-7A@rmk-PC.armlinux.org.uk \
    --to=rmk+kernel@armlinux.org.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.