git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Octeon: Adjust top of DMA32 zone.
[pandora-kernel.git]
/
arch
/
mips
/
include
/
asm
/
mach-cavium-octeon
/
cpu-feature-overrides.h
diff --git
a/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
b/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
index
b952fc7
..
c84ed74
100644
(file)
--- a/
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
+++ b/
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
@@
-81,4
+81,10
@@
static inline int octeon_has_saa(void)
return id >= 0x000d0300;
}
+/*
+ * The last 256MB are reserved for device to device mappings and the
+ * BAR1 hole.
+ */
+#define MAX_DMA32_PFN (((1ULL << 32) - (1ULL << 28)) >> PAGE_SHIFT)
+
#endif