3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
5 * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP
6 * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu>
7 * Adapted for Power Macintosh by Paul Mackerras.
8 * Low-level exception handlers and MMU support
9 * rewritten by Paul Mackerras.
10 * Copyright (C) 1996 Paul Mackerras.
12 * Adapted for 64bit PowerPC by Dave Engebretsen, Peter Bergner, and
13 * Mike Corrigan {engebret|bergner|mikejc}@us.ibm.com
15 * This file contains the entry point for the 64-bit kernel along
16 * with some early initialization code common to all 64-bit powerpc
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version
22 * 2 of the License, or (at your option) any later version.
25 #include <linux/threads.h>
26 #include <linux/init.h>
30 #include <asm/ppc_asm.h>
31 #include <asm/head-64.h>
32 #include <asm/asm-offsets.h>
34 #include <asm/cputable.h>
35 #include <asm/setup.h>
36 #include <asm/hvcall.h>
37 #include <asm/thread_info.h>
38 #include <asm/firmware.h>
39 #include <asm/page_64.h>
40 #include <asm/irqflags.h>
41 #include <asm/kvm_book3s_asm.h>
42 #include <asm/ptrace.h>
43 #include <asm/hw_irq.h>
44 #include <asm/cputhreads.h>
45 #include <asm/ppc-opcode.h>
46 #include <asm/export.h>
48 /* The physical memory is laid out such that the secondary processor
49 * spin code sits at 0x0000...0x00ff. On server, the vectors follow
50 * using the layout described in exceptions-64s.S
54 * Entering into this code we make the following assumptions:
56 * For pSeries or server processors:
57 * 1. The MMU is off & open firmware is running in real mode.
58 * 2. The kernel is entered at __start
59 * -or- For OPAL entry:
60 * 1. The MMU is off, processor in HV mode, primary CPU enters at 0
61 * with device-tree in gpr3. We also get OPAL base in r8 and
62 * entry in r9 for debugging purposes
63 * 2. Secondary processors enter at 0x60 with PIR in gpr3
65 * For Book3E processors:
66 * 1. The MMU is on running in AS0 in a state defined in ePAPR
67 * 2. The kernel is entered at __start
70 OPEN_FIXED_SECTION(first_256B, 0x0, 0x100)
71 USE_FIXED_SECTION(first_256B)
73 * Offsets are relative from the start of fixed section, and
74 * first_256B starts at 0. Offsets are a bit easier to use here
75 * than the fixed section entry macros.
79 /* NOP this out unconditionally */
82 b __start_initialization_multiplatform
85 /* Catch branch to 0 in real mode */
88 /* Secondary processors spin on this value until it becomes non-zero.
89 * When non-zero, it contains the real address of the function the cpu
93 .globl __secondary_hold_spinloop
94 __secondary_hold_spinloop:
97 /* Secondary processors write this value with their cpu # */
98 /* after they enter the spin loop immediately below. */
99 .globl __secondary_hold_acknowledge
100 __secondary_hold_acknowledge:
103 #ifdef CONFIG_RELOCATABLE
104 /* This flag is set to 1 by a loader if the kernel should run
105 * at the loaded address instead of the linked address. This
106 * is used by kexec-tools to keep the the kdump kernel in the
107 * crash_kernel region. The loader is responsible for
108 * observing the alignment requirement.
111 #ifdef CONFIG_RELOCATABLE_TEST
112 #define RUN_AT_LOAD_DEFAULT 1 /* Test relocation, do not copy to 0 */
114 #define RUN_AT_LOAD_DEFAULT 0x72756e30 /* "run0" -- relocate to 0 by default */
117 /* Do not move this variable as kexec-tools knows about it. */
121 DEFINE_FIXED_SYMBOL(__run_at_load)
122 .long RUN_AT_LOAD_DEFAULT
127 * The following code is used to hold secondary processors
128 * in a spin loop after they have entered the kernel, but
129 * before the bulk of the kernel has been relocated. This code
130 * is relocated to physical address 0x60 before prom_init is run.
131 * All of it must fit below the first exception vector at 0x100.
132 * Use .globl here not _GLOBAL because we want __secondary_hold
133 * to be the actual text address, not a descriptor.
135 .globl __secondary_hold
138 #ifndef CONFIG_PPC_BOOK3E
141 mtmsrd r24 /* RI on */
143 /* Grab our physical cpu number */
145 /* stash r4 for book3e */
148 /* Tell the master cpu we're here */
149 /* Relocation is off & we are located at an address less */
150 /* than 0x100, so only need to grab low order offset. */
151 std r24,(ABS_ADDR(__secondary_hold_acknowledge))(0)
155 #ifdef CONFIG_PPC_BOOK3E
158 /* All secondary cpus wait here until told to start. */
159 100: ld r12,(ABS_ADDR(__secondary_hold_spinloop))(r26)
163 #if defined(CONFIG_SMP) || defined(CONFIG_KEXEC_CORE)
164 #ifdef CONFIG_PPC_BOOK3E
170 * it may be the case that other platforms have r4 right to
171 * begin with, this gives us some safety in case it is not
173 #ifdef CONFIG_PPC_BOOK3E
178 /* Make sure that patched code is visible */
184 CLOSE_FIXED_SECTION(first_256B)
186 /* This value is used to mark exception frames on the stack. */
189 .tc ID_72656773_68657265[TC],0x7265677368657265
193 * On server, we include the exception vectors code here as it
194 * relies on absolute addressing which is only possible within
195 * this compilation unit
197 #ifdef CONFIG_PPC_BOOK3S
198 #include "exceptions-64s.S"
200 OPEN_TEXT_SECTION(0x100)
205 #ifdef CONFIG_PPC_BOOK3E
207 * The booting_thread_hwid holds the thread id we want to boot in cpu
208 * hotplug case. It is set by cpu hotplug code, and is invalid by default.
209 * The thread id is the same as the initial value of SPRN_PIR[THREAD_ID]
212 .globl booting_thread_hwid
214 .long INVALID_THREAD_HWID
217 * start a thread in the same core
219 * r3 = the thread physical id
220 * r4 = the entry point where thread starts
222 _GLOBAL(book3e_start_thread)
223 LOAD_REG_IMMEDIATE(r5, MSR_KERNEL)
228 /* If the thread id is invalid, just exit. */
246 * stop a thread in the same core
248 * r3 = the thread physical id
250 _GLOBAL(book3e_stop_thread)
255 /* If the thread id is invalid, just exit. */
264 _GLOBAL(fsl_secondary_thread_init)
267 /* Enable branch prediction */
269 ori r3,r3,BUCSR_INIT@l
274 * Fix PIR to match the linear numbering in the device tree.
276 * On e6500, the reset value of PIR uses the low three bits for
277 * the thread within a core, and the upper bits for the core
278 * number. There are two threads per core, so shift everything
279 * but the low bit right by two bits so that the cpu numbering is
282 * If the old value of BUCSR is non-zero, this thread has run
283 * before. Thus, we assume we are coming from kexec or a similar
284 * scenario, and PIR is already set to the correct value. This
285 * is a bit of a hack, but there are limited opportunities for
286 * getting information into the thread and the alternatives
287 * seemed like they'd be overkill. We can't tell just by looking
288 * at the old PIR value which state it's in, since the same value
289 * could be valid for one thread out of reset and for a different
296 rlwimi r3, r3, 30, 2, 30
301 _GLOBAL(generic_secondary_thread_init)
304 /* turn on 64-bit mode */
307 /* get a valid TOC pointer, wherever we're mapped at */
311 #ifdef CONFIG_PPC_BOOK3E
312 /* Book3E initialization */
314 bl book3e_secondary_thread_init
316 b generic_secondary_common_init
319 * On pSeries and most other platforms, secondary processors spin
320 * in the following code.
321 * At entry, r3 = this processor's number (physical cpu id)
323 * On Book3E, r4 = 1 to indicate that the initial TLB entry for
324 * this core already exists (setup via some other mechanism such
325 * as SCOM before entry).
327 _GLOBAL(generic_secondary_smp_init)
332 /* turn on 64-bit mode */
335 /* get a valid TOC pointer, wherever we're mapped at */
339 #ifdef CONFIG_PPC_BOOK3E
340 /* Book3E initialization */
343 bl book3e_secondary_core_init
346 * After common core init has finished, check if the current thread is the
347 * one we wanted to boot. If not, start the specified thread and stop the
350 LOAD_REG_ADDR(r4, booting_thread_hwid)
352 li r5, INVALID_THREAD_HWID
357 * The value of booting_thread_hwid has been stored in r3,
358 * so make it invalid.
363 * Get the current thread id and check if it is the one we wanted.
364 * If not, start the one specified in booting_thread_hwid and stop
365 * the current thread.
371 /* start the specified thread */
372 LOAD_REG_ADDR(r5, fsl_secondary_thread_init)
374 bl book3e_start_thread
376 /* stop the current thread */
378 bl book3e_stop_thread
384 generic_secondary_common_init:
385 /* Set up a paca value for this processor. Since we have the
386 * physical cpu id in r24, we need to search the pacas to find
387 * which logical id maps to our physical one.
389 LOAD_REG_ADDR(r13, paca) /* Load paca pointer */
390 ld r13,0(r13) /* Get base vaddr of paca array */
392 addi r13,r13,PACA_SIZE /* know r13 if used accidentally */
393 b kexec_wait /* wait for next kernel if !SMP */
395 LOAD_REG_ADDR(r7, nr_cpu_ids) /* Load nr_cpu_ids address */
396 lwz r7,0(r7) /* also the max paca allocated */
397 li r5,0 /* logical cpu id */
398 1: lhz r6,PACAHWCPUID(r13) /* Load HW procid from paca */
399 cmpw r6,r24 /* Compare to our id */
401 addi r13,r13,PACA_SIZE /* Loop to next PACA on miss */
403 cmpw r5,r7 /* Check if more pacas exist */
406 mr r3,r24 /* not found, copy phys to r3 */
407 b kexec_wait /* next kernel might do better */
410 #ifdef CONFIG_PPC_BOOK3E
411 addi r12,r13,PACA_EXTLB /* and TLB exc frame in another */
412 mtspr SPRN_SPRG_TLB_EXFRAME,r12
415 /* From now on, r24 is expected to be logical cpuid */
418 /* See if we need to call a cpu state restore handler */
419 LOAD_REG_ADDR(r23, cur_cpu_spec)
421 ld r12,CPU_SPEC_RESTORE(r23)
424 #ifdef PPC64_ELF_ABI_v1
430 3: LOAD_REG_ADDR(r3, spinning_secondaries) /* Decrement spinning_secondaries */
438 lbz r23,PACAPROCSTART(r13) /* Test if this processor should */
441 beq 4b /* Loop until told to go */
443 sync /* order paca.run and cur_cpu_spec */
444 isync /* In case code patching happened */
446 /* Create a temp kernel stack for use before relocation is on. */
447 ld r1,PACAEMERGSP(r13)
448 subi r1,r1,STACK_FRAME_OVERHEAD
455 * Assumes we're mapped EA == RA if the MMU is on.
457 #ifdef CONFIG_PPC_BOOK3S
460 andi. r0,r3,MSR_IR|MSR_DR
468 b . /* prevent speculative execution */
473 * Here is our main kernel entry point. We support currently 2 kind of entries
474 * depending on the value of r5.
476 * r5 != NULL -> OF entry, we go to prom_init, "legacy" parameter content
479 * r5 == NULL -> kexec style entry. r3 is a physical pointer to the
480 * DT block, r4 is a physical pointer to the kernel itself
483 __start_initialization_multiplatform:
484 /* Make sure we are running in 64 bits mode */
487 /* Get TOC pointer (current runtime address) */
490 /* find out where we are now */
492 0: mflr r26 /* r26 = runtime addr here */
493 addis r26,r26,(_stext - 0b)@ha
494 addi r26,r26,(_stext - 0b)@l /* current runtime base addr */
497 * Are we booted from a PROM Of-type client-interface ?
501 b __boot_from_prom /* yes -> prom */
503 /* Save parameters */
506 #ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
507 /* Save OPAL entry */
512 #ifdef CONFIG_PPC_BOOK3E
513 bl start_initialization_book3e
516 /* Setup some critical 970 SPRs before switching MMU off */
519 cmpwi r0,0x39 /* 970 */
521 cmpwi r0,0x3c /* 970FX */
523 cmpwi r0,0x44 /* 970MP */
525 cmpwi r0,0x45 /* 970GX */
527 1: bl __cpu_preinit_ppc970
530 /* Switch off MMU if not already off */
533 #endif /* CONFIG_PPC_BOOK3E */
536 #ifdef CONFIG_PPC_OF_BOOT_TRAMPOLINE
537 /* Save parameters */
545 * Align the stack to 16-byte boundary
546 * Depending on the size and layout of the ELF sections in the initial
547 * boot binary, the stack pointer may be unaligned on PowerMac
551 #ifdef CONFIG_RELOCATABLE
552 /* Relocate code for where we are now */
557 /* Restore parameters */
564 /* Do all of the interaction with OF client interface */
567 #endif /* #CONFIG_PPC_OF_BOOT_TRAMPOLINE */
569 /* We never return. We also hit that trap if trying to boot
570 * from OF while CONFIG_PPC_OF_BOOT_TRAMPOLINE isn't selected */
574 #ifdef CONFIG_RELOCATABLE
575 /* process relocations for the final address of the kernel */
576 lis r25,PAGE_OFFSET@highest /* compute virtual base of kernel */
578 #if defined(CONFIG_PPC_BOOK3E)
579 tovirt(r26,r26) /* on booke, we already run at PAGE_OFFSET */
581 lwz r7,(FIXED_SYMBOL_ABS_ADDR(__run_at_load))(r26)
582 #if defined(CONFIG_PPC_BOOK3E)
585 cmplwi cr0,r7,1 /* flagged to stay where we are ? */
590 #if defined(CONFIG_PPC_BOOK3E)
591 /* IVPR needs to be set after relocation. */
597 * We need to run with _stext at physical address PHYSICAL_START.
598 * This will leave some code in the first 256B of
599 * real memory, which are reserved for software use.
601 * Note: This process overwrites the OF exception vectors.
603 li r3,0 /* target addr */
604 #ifdef CONFIG_PPC_BOOK3E
605 tovirt(r3,r3) /* on booke, we already run at PAGE_OFFSET */
607 mr. r4,r26 /* In some cases the loader may */
608 #if defined(CONFIG_PPC_BOOK3E)
611 beq 9f /* have already put us at zero */
612 li r6,0x100 /* Start offset, the first 0x100 */
613 /* bytes were copied earlier. */
615 #ifdef CONFIG_RELOCATABLE
617 * Check if the kernel has to be running as relocatable kernel based on the
618 * variable __run_at_load, if it is set the kernel is treated as relocatable
619 * kernel, otherwise it will be moved to PHYSICAL_START
621 #if defined(CONFIG_PPC_BOOK3E)
622 tovirt(r26,r26) /* on booke, we already run at PAGE_OFFSET */
624 lwz r7,(FIXED_SYMBOL_ABS_ADDR(__run_at_load))(r26)
628 #ifdef CONFIG_PPC_BOOK3E
629 LOAD_REG_ADDR(r5, __end_interrupts)
630 LOAD_REG_ADDR(r11, _stext)
633 /* just copy interrupts */
634 LOAD_REG_IMMEDIATE(r5, FIXED_SYMBOL_ABS_ADDR(__end_interrupts))
639 /* # bytes of memory to copy */
640 lis r5,(ABS_ADDR(copy_to_here))@ha
641 addi r5,r5,(ABS_ADDR(copy_to_here))@l
643 bl copy_and_flush /* copy the first n bytes */
644 /* this includes the code being */
646 /* Jump to the copy of this code that we just made */
647 addis r8,r3,(ABS_ADDR(4f))@ha
648 addi r12,r8,(ABS_ADDR(4f))@l
653 p_end: .8byte _end - copy_to_here
657 * Now copy the rest of the kernel up to _end, add
658 * _end - copy_to_here to the copy limit and run again.
660 addis r8,r26,(ABS_ADDR(p_end))@ha
661 ld r8,(ABS_ADDR(p_end))@l(r8)
663 5: bl copy_and_flush /* copy the rest */
665 9: b start_here_multiplatform
668 * Copy routine used to copy the kernel to start at physical address 0
669 * and flush and invalidate the caches as needed.
670 * r3 = dest addr, r4 = source addr, r5 = copy limit, r6 = start offset
671 * on exit, r3, r4, r5 are unchanged, r6 is updated to be >= r5.
673 * Note: this routine *only* clobbers r0, r6 and lr
675 _GLOBAL(copy_and_flush)
678 4: li r0,8 /* Use the smallest common */
679 /* denominator cache line */
680 /* size. This results in */
681 /* extra cache line flushes */
682 /* but operation is correct. */
683 /* Can't get cache line size */
684 /* from NACA as it is being */
687 mtctr r0 /* put # words/line in ctr */
688 3: addi r6,r6,8 /* copy a cache line */
692 dcbst r6,r3 /* write it to memory */
694 icbi r6,r3 /* flush the icache line */
707 #ifdef CONFIG_PPC_PMAC
709 * On PowerMac, secondary processors starts from the reset vector, which
710 * is temporarily turned into a call to one of the functions below.
715 .globl __secondary_start_pmac_0
716 __secondary_start_pmac_0:
717 /* NB the entries for cpus 0, 1, 2 must each occupy 8 bytes. */
727 _GLOBAL(pmac_secondary_start)
728 /* turn on 64-bit mode */
733 rldimi r3,r0,40,23 /* clear bit 23 (rm_ci) */
740 /* get TOC pointer (real address) */
744 /* Copy some CPU settings from CPU 0 */
745 bl __restore_cpu_ppc970
747 /* pSeries do that early though I don't think we really need it */
750 mtmsrd r3 /* RI on */
752 /* Set up a paca value for this processor. */
753 LOAD_REG_ADDR(r4,paca) /* Load paca pointer */
754 ld r4,0(r4) /* Get base vaddr of paca array */
755 mulli r13,r24,PACA_SIZE /* Calculate vaddr of right paca */
756 add r13,r13,r4 /* for this processor. */
757 SET_PACA(r13) /* Save vaddr of paca in an SPRG*/
759 /* Mark interrupts soft and hard disabled (they might be enabled
760 * in the PACA when doing hotplug)
763 stb r0,PACASOFTIRQEN(r13)
764 li r0,PACA_IRQ_HARD_DIS
765 stb r0,PACAIRQHAPPENED(r13)
767 /* Create a temp kernel stack for use before relocation is on. */
768 ld r1,PACAEMERGSP(r13)
769 subi r1,r1,STACK_FRAME_OVERHEAD
773 #endif /* CONFIG_PPC_PMAC */
776 * This function is called after the master CPU has released the
777 * secondary processors. The execution environment is relocation off.
778 * The paca for this processor has the following fields initialized at
780 * 1. Processor number
781 * 2. Segment table pointer (virtual address)
782 * On entry the following are set:
783 * r1 = stack pointer (real addr of temp stack)
784 * r24 = cpu# (in Linux terms)
785 * r13 = paca virtual address
786 * SPRG_PACA = paca virtual address
791 .globl __secondary_start
793 /* Set thread priority to MEDIUM */
796 /* Initialize the kernel stack */
797 LOAD_REG_ADDR(r3, current_set)
798 sldi r28,r24,3 /* get current_set[cpu#] */
800 addi r14,r14,THREAD_SIZE-STACK_FRAME_OVERHEAD
801 std r14,PACAKSAVE(r13)
803 /* Do early setup for that CPU (SLB and hash table pointer) */
804 bl early_setup_secondary
807 * setup the new stack pointer, but *don't* use this until
812 /* Clear backchain so we get nice backtraces */
816 /* Mark interrupts soft and hard disabled (they might be enabled
817 * in the PACA when doing hotplug)
819 stb r7,PACASOFTIRQEN(r13)
820 li r0,PACA_IRQ_HARD_DIS
821 stb r0,PACAIRQHAPPENED(r13)
823 /* enable MMU and jump to start_secondary */
824 LOAD_REG_ADDR(r3, start_secondary_prolog)
825 LOAD_REG_IMMEDIATE(r4, MSR_KERNEL)
830 b . /* prevent speculative execution */
833 * Running with relocation on at this point. All we want to do is
834 * zero the stack back-chain pointer and get the TOC virtual address
835 * before going into C code.
837 start_secondary_prolog:
840 std r3,0(r1) /* Zero the stack frame pointer */
844 * Reset stack pointer and call start_secondary
845 * to continue with online operation when woken up
846 * from cede in cpu offline.
848 _GLOBAL(start_secondary_resume)
849 ld r1,PACAKSAVE(r13) /* Reload kernel stack pointer */
851 std r3,0(r1) /* Zero the stack frame pointer */
857 * This subroutine clobbers r11 and r12
860 mfmsr r11 /* grab the current MSR */
861 #ifdef CONFIG_PPC_BOOK3E
862 oris r11,r11,0x8000 /* CM bit set, we'll set ICM later */
864 #else /* CONFIG_PPC_BOOK3E */
865 li r12,(MSR_64BIT | MSR_ISF)@highest
874 * This puts the TOC pointer into r2, offset by 0x8000 (as expected
875 * by the toolchain). It computes the correct value for wherever we
876 * are running at the moment, using position-independent code.
878 * Note: The compiler constructs pointers using offsets from the
879 * TOC in -mcmodel=medium mode. After we relocate to 0 but before
880 * the MMU is on we need our TOC to be a virtual address otherwise
881 * these pointers will be real addresses which may get stored and
882 * accessed later with the MMU on. We use tovirt() at the call
883 * sites to handle this.
885 _GLOBAL(relative_toc)
889 ld r2,(p_toc - 0b)(r11)
895 p_toc: .8byte __toc_start + 0x8000 - 0b
898 * This is where the main kernel code starts.
901 start_here_multiplatform:
906 /* Clear out the BSS. It may have been done in prom_init,
907 * already but that's irrelevant since prom_init will soon
908 * be detached from the kernel completely. Besides, we need
909 * to clear it now for kexec-style entry.
911 LOAD_REG_ADDR(r11,__bss_stop)
912 LOAD_REG_ADDR(r8,__bss_start)
913 sub r11,r11,r8 /* bss size */
914 addi r11,r11,7 /* round up to an even double word */
915 srdi. r11,r11,3 /* shift right by 3 */
919 mtctr r11 /* zero this many doublewords */
924 #ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
925 /* Setup OPAL entry */
926 LOAD_REG_ADDR(r11, opal)
931 #ifndef CONFIG_PPC_BOOK3E
934 mtmsrd r6 /* RI on */
937 #ifdef CONFIG_RELOCATABLE
938 /* Save the physical address we're running at in kernstart_addr */
939 LOAD_REG_ADDR(r4, kernstart_addr)
944 /* The following gets the stack set up with the regs */
945 /* pointing to the real addr of the kernel stack. This is */
946 /* all done to support the C function call below which sets */
947 /* up the htab. This is done because we have relocated the */
948 /* kernel but are still running in real mode. */
950 LOAD_REG_ADDR(r3,init_thread_union)
952 /* set up a stack pointer */
953 LOAD_REG_IMMEDIATE(r1,THREAD_SIZE)
956 stdu r0,-STACK_FRAME_OVERHEAD(r1)
959 * Do very early kernel initializations, including initial hash table
960 * and SLB setup before we turn on relocation.
963 /* Restore parameters passed from prom_init/kexec */
965 LOAD_REG_ADDR(r12, DOTSYM(early_setup))
967 bctrl /* also sets r13 and SPRG_PACA */
969 LOAD_REG_ADDR(r3, start_here_common)
974 b . /* prevent speculative execution */
977 /* This is where all platforms converge execution */
980 /* relocation is on at this point */
981 std r1,PACAKSAVE(r13)
983 /* Load the TOC (virtual address) */
986 /* Mark interrupts soft and hard disabled (they might be enabled
987 * in the PACA when doing hotplug)
990 stb r0,PACASOFTIRQEN(r13)
991 li r0,PACA_IRQ_HARD_DIS
992 stb r0,PACAIRQHAPPENED(r13)
994 /* Generic kernel entry */
1001 * We put a few things here that have to be page-aligned.
1002 * This stuff goes at the beginning of the bss, which is page-aligned.
1006 * pgd dir should be aligned to PGD_TABLE_SIZE which is 64K.
1007 * We will need to find a better way to fix this
1011 .globl swapper_pg_dir
1013 .space PGD_TABLE_SIZE
1015 .globl empty_zero_page
1018 EXPORT_SYMBOL(empty_zero_page)