Lines Matching full:we
47 * Since we use the kernel fault handlers and paging code to in machine_kexec_prepare()
48 * handle the virtual mode, we must make sure no destination in machine_kexec_prepare()
55 /* We also should not overwrite the tce tables */ in machine_kexec_prepare()
88 * We rely on kexec_load to create a lists that properly in copy_segments()
90 * We will still crash if the list is wrong, but at least in copy_segments()
123 * After this call we may not use anything allocated in dynamic in kexec_copy_flush()
131 * we need to clear the icache for all dest pages sometime, in kexec_copy_flush()
148 mb(); /* make sure our irqs are disabled before we say they are */ in kexec_smp_down()
155 * Now every CPU has IRQs off, we can clear out any pending in kexec_smp_down()
173 /* Make sure each CPU has at least made it to the state we need. in kexec_prepare_cpus_wait()
176 * are correctly onlined. If somehow we start a CPU on boot with RTAS in kexec_prepare_cpus_wait()
184 * survives that, we need to find these in kexec_prepare_cpus_wait()
206 * We need to make sure each present CPU is online. The next kernel will scan
208 * threads via RTAS to online them if required. If we don't online primary
209 * threads, they will be stuck. However, we also online secondary threads as we
213 * So, we online all CPUs that should be running, including secondary threads.
235 mb(); /* make sure IRQs are disabled before we say they are */ in kexec_prepare_cpus()
239 /* we are sure every CPU has IRQs off at this point */ in kexec_prepare_cpus()
248 /* after we tell the others to go down */ in kexec_prepare_cpus()
260 * move the secondarys to us so that we can copy in kexec_prepare_cpus()
265 * We need to release the cpus if we are ever going from an in kexec_prepare_cpus()
280 * We need to make sure that this is 16384-byte aligned due to the
283 * overwritten when we copy the kexec image. We piggyback on the
286 * We could use a smaller stack if we don't care about anything using
293 * static PACA; we switch to kexec_paca.
334 * We setup preempt_count to avoid using VMX in memcpy. in default_machine_kexec()
335 * XXX: the task struct will likely be invalid once we do the copy! in default_machine_kexec()
340 /* We need a static PACA, too; copy this CPU's PACA over and switch to in default_machine_kexec()
363 * unregistered so there is not much we can do about it here. in default_machine_kexec()
367 * On Book3S, the copy must happen with the MMU off if we are either in default_machine_kexec()
368 * using Radix page tables or we are not in an LPAR since we can in default_machine_kexec()
371 * In an LPAR, we keep the MMU on otherwise we can't access beyond in default_machine_kexec()
372 * the RMA. On BookE there is no real MMU off mode, so we have to in default_machine_kexec()
373 * keep it enabled as well (but then we have bolted TLB entries). in default_machine_kexec()
384 * a toc is easier in C, so pass in what we can. in default_machine_kexec()
393 /* Values we need to export to the second kernel via the device tree. */