Home
last modified time | relevance | path

Searched refs:MMU_FTR_KUAP (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dkup.h34 END_MMU_FTR_SECTION_NESTED_IFCLR(MMU_FTR_KUAP, 68)
81 END_MMU_FTR_SECTION_NESTED_IFSET(MMU_FTR_KUAP, 67)
94 END_MMU_FTR_SECTION_NESTED_IFSET(MMU_FTR_KUAP, 67)
133 END_MMU_FTR_SECTION_NESTED_IFCLR(MMU_FTR_PKEY | MMU_FTR_KUAP, 68)
169 END_MMU_FTR_SECTION_NESTED_IFSET(MMU_FTR_KUAP, 69)
241 if (!mmu_has_feature(MMU_FTR_KUAP)) { in kuap_user_restore()
315 if (!mmu_has_feature(MMU_FTR_KUAP)) in get_kuap()
323 if (!mmu_has_feature(MMU_FTR_KUAP)) in set_kuap()
H A Dhash-pkey.h27 if (mmu_has_feature(MMU_FTR_KUAP) || in pte_to_hpte_pkey_bits()
/openbmc/linux/arch/powerpc/include/asm/nohash/32/
H A Dkup-8xx.h43 "i"(SPRN_MD_AP), "r"(val), "i"(MMU_FTR_KUAP) : "memory"); in uaccess_begin_8xx()
49 "i"(SPRN_MD_AP), "r"(MD_APG_KUAP), "i"(MMU_FTR_KUAP) : "memory"); in uaccess_end_8xx()
/openbmc/linux/arch/powerpc/include/asm/nohash/
H A Dkup-booke.h67 "i"(SPRN_PID), "r"(val), "i"(MMU_FTR_KUAP) : "memory"); in uaccess_begin_booke()
73 "i"(SPRN_PID), "r"(0), "i"(MMU_FTR_KUAP) : "memory"); in uaccess_end_booke()
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dkup.h40 : "r"(addr), "i"(~SR_KS), "i"(MMU_FTR_KUAP) in uaccess_begin_32s()
54 : "r"(addr), "i"(SR_KS >> 16), "i"(MMU_FTR_KUAP) in uaccess_end_32s()
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dkup.c21 cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; in setup_kuap()
/openbmc/linux/arch/powerpc/mm/book3s32/
H A Dkuap.c19 cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; in setup_kuap()
/openbmc/linux/arch/powerpc/include/asm/
H A Dmmu.h36 #define MMU_FTR_KUAP ASM_CONST(0x00000200) macro
186 MMU_FTR_KUAP |
H A Dkup.h53 return !mmu_has_feature(MMU_FTR_KUAP); in kuap_is_disabled()
/openbmc/linux/arch/powerpc/mm/
H A Dinit_32.c129 update_mmu_feature_fixups(MMU_FTR_KUAP); in MMU_init()
/openbmc/linux/arch/powerpc/kernel/
H A Dsyscall.c49 if (mmu_has_feature(MMU_FTR_KUAP)) { in system_call_exception()
H A Dcputable.c80 t->mmu_features |= MMU_FTR_KUAP; in setup_cpu_spec()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c294 cur_cpu_spec->mmu_features |= MMU_FTR_KUAP; in setup_kuap()