Lines Matching full:we
45 * Since we use the kernel fault handlers and paging code to in default_machine_kexec_prepare()
46 * handle the virtual mode, we must make sure no destination in default_machine_kexec_prepare()
53 /* We also should not overwrite the tce tables */ in default_machine_kexec_prepare()
83 * We rely on kexec_load to create a lists that properly in copy_segments()
85 * We will still crash if the list is wrong, but at least in copy_segments()
117 * After this call we may not use anything allocated in dynamic in kexec_copy_flush()
125 * we need to clear the icache for all dest pages sometime, in kexec_copy_flush()
142 mb(); /* make sure our irqs are disabled before we say they are */ in kexec_smp_down()
149 * Now every CPU has IRQs off, we can clear out any pending in kexec_smp_down()
167 /* Make sure each CPU has at least made it to the state we need. in kexec_prepare_cpus_wait()
170 * are correctly onlined. If somehow we start a CPU on boot with RTAS in kexec_prepare_cpus_wait()
178 * survives that, we need to find these in kexec_prepare_cpus_wait()
200 * We need to make sure each present CPU is online. The next kernel will scan
202 * threads via RTAS to online them if required. If we don't online primary
203 * threads, they will be stuck. However, we also online secondary threads as we
207 * So, we online all CPUs that should be running, including secondary threads.
229 mb(); /* make sure IRQs are disabled before we say they are */ in kexec_prepare_cpus()
233 /* we are sure every CPU has IRQs off at this point */ in kexec_prepare_cpus()
242 /* after we tell the others to go down */ in kexec_prepare_cpus()
254 * move the secondarys to us so that we can copy in kexec_prepare_cpus()
259 * We need to release the cpus if we are ever going from an in kexec_prepare_cpus()
274 * We need to make sure that this is 16384-byte aligned due to the
277 * overwritten when we copy the kexec image. We piggyback on the
280 * We could use a smaller stack if we don't care about anything using
288 * static PACA; we switch to kexec_paca.
319 * We setup preempt_count to avoid using VMX in memcpy. in default_machine_kexec()
320 * XXX: the task struct will likely be invalid once we do the copy! in default_machine_kexec()
325 /* We need a static PACA, too; copy this CPU's PACA over and switch to in default_machine_kexec()
348 * unregistered so there is not much we can do about it here. in default_machine_kexec()
352 * On Book3S, the copy must happen with the MMU off if we are either in default_machine_kexec()
353 * using Radix page tables or we are not in an LPAR since we can in default_machine_kexec()
356 * In an LPAR, we keep the MMU on otherwise we can't access beyond in default_machine_kexec()
357 * the RMA. On BookE there is no real MMU off mode, so we have to in default_machine_kexec()
358 * keep it enabled as well (but then we have bolted TLB entries). in default_machine_kexec()
369 * a toc is easier in C, so pass in what we can. in default_machine_kexec()
378 /* Values we need to export to the second kernel via the device tree. */