All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Define HAVE_ARCH_PIO_SIZE and related symbols.
@ 2015-07-13 21:31 ` David Daney
  0 siblings, 0 replies; 14+ messages in thread
From: David Daney @ 2015-07-13 21:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: David Daney <david.daney@cavium.com>

Needed to make pci_iomap() work.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/arm64/include/asm/io.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
index 540f7c0..8ef78d5 100644
--- a/arch/arm64/include/asm/io.h
+++ b/arch/arm64/include/asm/io.h
@@ -149,6 +149,11 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
 #define IO_SPACE_LIMIT		(PCI_IO_SIZE - 1)
 #define PCI_IOBASE		((void __iomem *)PCI_IO_START)
 
+#define HAVE_ARCH_PIO_SIZE	1
+#define PIO_RESERVED		SZ_32M
+#define PIO_OFFSET		0
+#define PIO_MASK		(PIO_RESERVED - 1)
+
 /*
  * String version of I/O memory access operations.
  */
-- 
1.7.11.7

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

end of thread, other threads:[~2015-07-14 17:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 21:31 [PATCH] arm64: Define HAVE_ARCH_PIO_SIZE and related symbols David Daney
2015-07-13 21:31 ` David Daney
2015-07-14 11:00 ` Will Deacon
2015-07-14 11:00   ` Will Deacon
2015-07-14 16:12   ` David Daney
2015-07-14 16:12     ` David Daney
2015-07-14 16:29     ` Will Deacon
2015-07-14 16:29       ` Will Deacon
2015-07-14 16:58       ` David Daney
2015-07-14 16:58         ` David Daney
2015-07-14 17:04         ` Will Deacon
2015-07-14 17:04           ` Will Deacon
2015-07-14 17:54           ` David Daney
2015-07-14 17:54             ` David Daney

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.