From 7af1fd29b133474d045023bde3a79b9591ca63a6 Mon Sep 17 00:00:00 2001 From: Dave Kleikamp Date: Wed, 21 May 2014 14:17:50 -0500 Subject: [PATCH] sparc64: define KEXEC_BASE original patch by Bob Picco Signed-off-by: Dave Kleikamp Cc: Bob Picco --- arch/sparc/include/asm/pgtable_64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h index 2a52c91d2c8a..8373e3cf5846 100644 --- a/arch/sparc/include/asm/pgtable_64.h +++ b/arch/sparc/include/asm/pgtable_64.h @@ -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) -- 2.50.1