]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc64: define KEXEC_BASE
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 21 May 2014 19:17:50 +0000 (14:17 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 18 Apr 2016 16:42:47 +0000 (11:42 -0500)
original patch by Bob Picco

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Bob Picco <bob.picco@oracle.com>
arch/sparc/include/asm/pgtable_64.h

index 2a52c91d2c8acbf5f904e082400ba782d7279947..8373e3cf584671460d3fecf7947f847246e7608c 100644 (file)
@@ -22,6 +22,8 @@
 
 /* The kernel image occupies 0x4000000 to 0x6000000 (4MB --> 96MB).
  * The page copy blockops can use 0x6000000 to 0x8000000.
+ * Kexec uses the 0x8000000 to 0x8400000 range to map its shim, as it is
+ * only supported on sun4v hw which doesn't require TSBMAP_XX_BASE
  * The 8K TSB is mapped in the 0x8000000 to 0x8400000 range.
  * The 4M TSB is mapped in the 0x8400000 to 0x8800000 range.
  * The PROM resides in an area spanning 0xf0000000 to 0x100000000.
@@ -32,6 +34,7 @@
  * 0x400000000.
  */
 #define        TLBTEMP_BASE            _AC(0x0000000006000000,UL)
+#define KEXEC_BASE             _AC(0x0000000008000000,UL)
 #define        TSBMAP_8K_BASE          _AC(0x0000000008000000,UL)
 #define        TSBMAP_4M_BASE          _AC(0x0000000008400000,UL)
 #define MODULES_VADDR          _AC(0x0000000010000000,UL)