Lines Matching full:we
45 * Since we use the kernel fault handlers and paging code to in machine_kexec_prepare()
46 * handle the virtual mode, we must make sure no destination in machine_kexec_prepare()
53 /* We also should not overwrite the tce tables */ in machine_kexec_prepare()
86 * We rely on kexec_load to create a lists that properly in copy_segments()
88 * We will still crash if the list is wrong, but at least in copy_segments()
121 * After this call we may not use anything allocated in dynamic in kexec_copy_flush()
129 * we need to clear the icache for all dest pages sometime, in kexec_copy_flush()
146 mb(); /* make sure our irqs are disabled before we say they are */ in kexec_smp_down()
153 * Now every CPU has IRQs off, we can clear out any pending in kexec_smp_down()
171 /* Make sure each CPU has at least made it to the state we need. in kexec_prepare_cpus_wait()
174 * are correctly onlined. If somehow we start a CPU on boot with RTAS in kexec_prepare_cpus_wait()
182 * survives that, we need to find these in kexec_prepare_cpus_wait()
204 * We need to make sure each present CPU is online. The next kernel will scan
206 * threads via RTAS to online them if required. If we don't online primary
207 * threads, they will be stuck. However, we also online secondary threads as we
211 * So, we online all CPUs that should be running, including secondary threads.
233 mb(); /* make sure IRQs are disabled before we say they are */ in kexec_prepare_cpus()
237 /* we are sure every CPU has IRQs off at this point */ in kexec_prepare_cpus()
246 /* after we tell the others to go down */ in kexec_prepare_cpus()
258 * move the secondarys to us so that we can copy in kexec_prepare_cpus()
263 * We need to release the cpus if we are ever going from an in kexec_prepare_cpus()
278 * We need to make sure that this is 16384-byte aligned due to the
281 * overwritten when we copy the kexec image. We piggyback on the
284 * We could use a smaller stack if we don't care about anything using
292 * static PACA; we switch to kexec_paca.
333 * We setup preempt_count to avoid using VMX in memcpy. in default_machine_kexec()
334 * XXX: the task struct will likely be invalid once we do the copy! in default_machine_kexec()
339 /* We need a static PACA, too; copy this CPU's PACA over and switch to in default_machine_kexec()
362 * unregistered so there is not much we can do about it here. in default_machine_kexec()
366 * On Book3S, the copy must happen with the MMU off if we are either in default_machine_kexec()
367 * using Radix page tables or we are not in an LPAR since we can in default_machine_kexec()
370 * In an LPAR, we keep the MMU on otherwise we can't access beyond in default_machine_kexec()
371 * the RMA. On BookE there is no real MMU off mode, so we have to in default_machine_kexec()
372 * keep it enabled as well (but then we have bolted TLB entries). in default_machine_kexec()
383 * a toc is easier in C, so pass in what we can. in default_machine_kexec()
392 /* Values we need to export to the second kernel via the device tree. */