Lines Matching defs:kernel
179 * information created with Class=0 entries, which we use for kernel
516 /* Flush but retain kernel lookaside information */
555 * address accesses by the kernel (user mode won't happen until
608 * For secondary cpus, we need to bolt the kernel stack entry now.
650 static enum slb_index alloc_slb_index(bool kernel)
658 * a kernel allocated entry that is unused in the SLB. With very
673 if (kernel)
684 if (kernel)
696 unsigned long flags, int ssize, bool kernel)
707 * There must not be a kernel SLB fault in alloc_slb_index or before
717 index = alloc_slb_index(kernel);
725 * User preloads should add isync afterwards in case the kernel
734 * cache of inserted (non-bolted) kernel SLB entries. All
735 * non-bolted kernel entries are flushed on any user fault,
736 * or if there are already 3 non-boled kernel entries.
739 if (!kernel || slb_cache_index == 3) {
747 if (kernel)
755 if (!kernel)
852 * SLB kernel faults must be very careful not to touch anything
856 * SLB user faults can access all of kernel memory, but must be
859 * fast_exception_return to return from kernel SLB faults without
861 * kernel faults in the interrupt handler asm and do a full fault,
863 * first class kernel code. But for performance it's probably nicer
869 /* Catch recursive kernel SLB faults. */