summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kup.h
AgeCommit message (Expand)AuthorFilesLines
2023-08-02powerpc/kuap: Use ASM feature fixups instead of static branchesChristophe Leroy1-40/+5
2023-08-02powerpc/kuap: KUAP enabling/disabling functions must be __always_inlineChristophe Leroy1-8/+8
2023-08-02powerpc/kuap: Use MMU_FTR_KUAP on all and refactor disabling kuapChristophe Leroy1-0/+11
2023-08-02powerpc/kuap: Avoid useless jump_label on empty functionChristophe Leroy1-19/+14
2022-05-04powerpc/kuap: Remove unused inline function __kuap_assert_locked()YueHaibing1-1/+0
2021-12-09powerpc: Add KUAP support for BOOKE and 40xChristophe Leroy1-0/+4
2021-12-09powerpc/kuap: Prepare for supporting KUAP on BOOK3E/64Christophe Leroy1-2/+0
2021-12-09powerpc/kuap: Add kuap_lock()Christophe Leroy1-0/+9
2021-12-09powerpc/kuap: Remove __kuap_assert_locked()Christophe Leroy1-1/+2
2021-12-09powerpc/kuap: Check KUAP activation in generic functionsChristophe Leroy1-0/+29
2021-12-09powerpc/kuap: Add a generic intermediate layerChristophe Leroy1-10/+61
2021-12-09powerpc/kuep: Remove 'nosmep' boot time parameter except for book3s/64Christophe Leroy1-5/+0
2021-12-09powerpc/32s: Do kuep_lock() and kuep_unlock() in assemblyChristophe Leroy1-5/+0
2021-12-09Revert "powerpc: Inline setup_kup()"Christophe Leroy1-6/+2
2021-06-16powerpc/kuap: Force inlining of all first level KUAP helpers.Christophe Leroy1-11/+11
2021-06-16powerpc/kuap: Remove to/from/size parameters of prevent_user_access()Christophe Leroy1-8/+7
2021-06-16powerpc/kuap: Remove KUAP_CURRENT_XXXChristophe Leroy1-11/+3
2021-06-16powerpc/32s: Refactor update of user segment registersChristophe Leroy1-4/+1
2021-03-29powerpc/32: Manage KUAP in CChristophe Leroy1-9/+0
2021-03-29powerpc/64s: Make kuap_check_amr() and kuap_get_and_check_amr() genericChristophe Leroy1-1/+9
2021-03-29powerpc/32s: Move KUEP locking/unlocking in CChristophe Leroy1-0/+8
2021-02-08powerpc/uaccess: Perform barrier_nospec() in KUAP allowance helpersChristophe Leroy1-0/+2
2020-12-15powerpc: Inline setup_kup()Michael Ellerman1-2/+6
2020-12-08powerpc/book3s64/kuap: Improve error reporting with KUAPAneesh Kumar K.V1-2/+2
2020-12-03powerpc/book3s64/kup: Check max key supported before enabling kupAneesh Kumar K.V1-0/+3
2020-12-03powerpc/book3s64/kuap: Improve error reporting with KUAPAneesh Kumar K.V1-2/+2
2020-12-03powerpc/book3s64/kuap: Move KUAP related function outside radixAneesh Kumar K.V1-1/+3
2020-11-19powerpc: Only include kup-radix.h for 64-bit Book3SMichael Ellerman1-3/+8
2020-11-19powerpc/64s: flush L1D after user accessesNicholas Piggin1-5/+14
2020-06-09mm: introduce include/linux/pgtable.hMike Rapoport1-1/+1
2020-05-01powerpc/uaccess: Implement user_read_access_begin and user_write_access_beginChristophe Leroy1-1/+13
2020-01-28powerpc: Implement user_access_save() and user_access_restore()Christophe Leroy1-0/+2
2020-01-28powerpc/32s: Prepare prevent_user_access() for user_access_end()Christophe Leroy1-0/+11
2020-01-28powerpc/kuap: Fix set direction in allow/prevent_user_access()Christophe Leroy1-7/+23
2020-01-28powerpc/32s: Fix bad_kuap_fault()Christophe Leroy1-1/+5
2019-04-21powerpc/32s: Implement Kernel Userspace Execution Prevention.Christophe Leroy1-0/+3
2019-04-21powerpc/8xx: Add Kernel Userspace Access ProtectionChristophe Leroy1-0/+3
2019-04-21powerpc/32: Prepare for Kernel Userspace Access ProtectionChristophe Leroy1-1/+14
2019-04-21powerpc/mm: Detect bad KUAP faultsMichael Ellerman1-0/+1
2019-04-21powerpc/64s: Implement KUAP for Radix MMUMichael Ellerman1-0/+4
2019-04-21powerpc: Add a framework for Kernel Userspace Access ProtectionChristophe Leroy1-0/+32
2019-04-21powerpc: Add skeleton for Kernel Userspace Execution PreventionChristophe Leroy1-0/+6
2019-04-21powerpc: Add framework for Kernel Userspace ProtectionChristophe Leroy1-0/+11