summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/io.h
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2014-09-29 15:29:31 +0100
committerBjorn Helgaas <bhelgaas@google.com>2014-09-30 17:08:57 -0600
commitd1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2 (patch)
tree8470f782b1a12d70ccae0ce4ea983e5977a44c50 /arch/arm64/include/asm/io.h
parent8b921acfeffdb0b45085da862fc301a2d25ed2cf (diff)
downloadblackbird-op-linux-d1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2.tar.gz
blackbird-op-linux-d1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2.zip
arm64: Add architectural support for PCI
Use the generic PCI domain and OF functions to provide support for PCI on arm64. [bhelgaas: Change comments to use generic PCI, not just PCIe. Nothing at this level is PCIe-specific.] Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/io.h')
-rw-r--r--arch/arm64/include/asm/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
index e0ecdcf6632d..f998d90bc389 100644
--- a/arch/arm64/include/asm/io.h
+++ b/arch/arm64/include/asm/io.h
@@ -121,7 +121,8 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
/*
* I/O port access primitives.
*/
-#define IO_SPACE_LIMIT 0xffff
+#define arch_has_dev_port() (1)
+#define IO_SPACE_LIMIT (SZ_32M - 1)
#define PCI_IOBASE ((void __iomem *)(MODULES_VADDR - SZ_32M))
static inline u8 inb(unsigned long addr)
OpenPOWER on IntegriCloud