Searched refs:PTE_ATTRINDX (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | pgtable-prot.h | 55 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n… 56 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG… 57 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC)) 58 #define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT)) 59 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL)) 60 #define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_T… 66 #define _PAGE_DEFAULT (_PROT_DEFAULT | PTE_ATTRINDX(MT_NORMAL))
|
D | mman.h | 56 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in arch_vm_get_page_prot()
|
D | pgtable.h | 105 PTE_ATTRINDX(MT_NORMAL_TAGGED)) 488 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN) 490 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN) 492 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN) 494 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_TAGGED)) 506 PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
|
D | kernel-pgtable.h | 115 #define SWAPPER_MM_MMUFLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS)
|
D | pgtable-hwdef.h | 161 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2) macro
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | ptdump.c | 156 .val = PTE_ATTRINDX(MT_DEVICE_nGnRnE), 160 .val = PTE_ATTRINDX(MT_DEVICE_nGnRE), 164 .val = PTE_ATTRINDX(MT_DEVICE_GRE), 168 .val = PTE_ATTRINDX(MT_NORMAL_NC), 172 .val = PTE_ATTRINDX(MT_NORMAL), 176 .val = PTE_ATTRINDX(MT_NORMAL_TAGGED),
|
D | mmu.c | 145 if (((old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe() 146 (old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED)) && in pgattr_change_is_safe() 147 ((new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe() 148 (new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED))) in pgattr_change_is_safe()
|
/kernel/linux/linux-5.10/drivers/tee/optee/ |
D | call.c | 574 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL); in is_normal_memory()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0001_linux_arch.patch | 13944 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC)) 13945 #define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT)) 13946 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL)) 13947 …_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL)) 13948 …#define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_… 13956 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN) 13958 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN) 13960 + __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL) | \ 13965 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN) 15542 + case PTE_ATTRINDX(MT_DEVICE_nGnRE): [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0033_linux_drivers_soc_scsi_spi_tee_thermal.patch | 109 …_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL)) 4382 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL);
|