summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/leon.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-08 09:39:12 -0800
committerChristoph Hellwig <hch@lst.de>2018-12-11 14:46:10 +0100
commitb535d1fca6d63ae6096e7030331e6e698aac4455 (patch)
tree066177825f4ad14065f2f12eec03b873231bc35e /arch/sparc/include/asm/leon.h
parenta24ca8a253bd6e2644eba069b78fec80928d7b76 (diff)
downloadlinux-b535d1fca6d63ae6096e7030331e6e698aac4455.tar.bz2
sparc: move the leon PCI memory space comment to <asm/leon.h>
It has nothing to do with the content of the pci.h header. Suggested by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/leon.h')
-rw-r--r--arch/sparc/include/asm/leon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index c68bb5b76e3d..77ea406ff9df 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
@@ -255,4 +255,13 @@ extern int leon_ipi_irq;
#define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
#define _SRMMU_PTE_PMASK_LEON 0xffffffff
+/*
+ * On LEON PCI Memory space is mapped 1:1 with physical address space.
+ *
+ * I/O space is located at low 64Kbytes in PCI I/O space. The I/O addresses
+ * are converted into CPU addresses to virtual addresses that are mapped with
+ * MMU to the PCI Host PCI I/O space window which are translated to the low
+ * 64Kbytes by the Host controller.
+ */
+
#endif