Home
last modified time | relevance | path

Searched refs:PTE_PXN (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/arm64/include/asm/
Dpgtable-prot.h43 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n…
44 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG…
45 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
46 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
47 #define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_T…
57 #define _PAGE_KERNEL_ROX ((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
58 #define _PAGE_KERNEL_EXEC (PROT_NORMAL & ~PTE_PXN)
59 #define _PAGE_KERNEL_EXEC_CONT ((PROT_NORMAL & ~PTE_PXN) | PTE_CONT)
61 #define _PAGE_SHARED (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRI…
62 #define _PAGE_SHARED_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE)
[all …]
Dpgtable.h685 __pgprot_modify(prot, PTE_MAYBE_GP, PTE_PXN)
691 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN)
693 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
695 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
709 PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
1157 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
Dpgtable-hwdef.h170 #define PTE_PXN (_AT(pteval_t, 1) << 53) /* Privileged XN */ macro
/linux-6.12.1/arch/arm64/mm/
Dptdump.c58 .mask = PTE_PXN,
59 .val = PTE_PXN,
182 if ((st->current_prot & PTE_PXN) == PTE_PXN) in note_prot_wx()
Dpageattr.c142 __pgprot(PTE_PXN), in set_memory_nx()
150 __pgprot(PTE_PXN)); in set_memory_x()
Dmmu.c128 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG | in pgattr_change_is_safe()
/linux-6.12.1/arch/arm64/kernel/
Defi.c113 pte = set_pte_bit(pte, __pgprot(PTE_PXN)); in set_permissions()
/linux-6.12.1/arch/arm64/kvm/
Dat.c809 px = !((wr.desc & PTE_PXN) || wr.PXNTable || uw); in handle_at_slow()