Searched refs:kvm_pgtable_prot (Results 1 – 15 of 15) sorted by relevance
/arch/arm64/kvm/hyp/include/nvhe/ |
D | mm.h | 27 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 28 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot); 30 enum kvm_pgtable_prot prot, 35 int __pkvm_map_module_page(u64 pfn, void *va, enum kvm_pgtable_prot prot, bool is_protected);
|
D | mem_protect.h | 39 static inline enum kvm_pgtable_prot pkvm_mkstate(enum kvm_pgtable_prot prot, in pkvm_mkstate() 45 static inline enum pkvm_page_state pkvm_getstate(enum kvm_pgtable_prot prot) in pkvm_getstate() 91 int host_stage2_idmap_locked(phys_addr_t addr, u64 size, enum kvm_pgtable_prot prot, 106 int module_change_host_page_prot(u64 pfn, enum kvm_pgtable_prot prot); 107 int module_change_host_page_prot_range(u64 pfn, enum kvm_pgtable_prot prot, u64 nr_pages);
|
D | iommu.h | 42 enum kvm_pgtable_prot prot); 99 enum kvm_pgtable_prot prot);
|
/arch/arm64/include/asm/ |
D | kvm_pkvm_module.h | 127 enum kvm_pgtable_prot prot, 130 int (*map_module_page)(u64 pfn, void *va, enum kvm_pgtable_prot prot, bool is_protected); 136 void *(*linear_map_early)(phys_addr_t phys, size_t size, enum kvm_pgtable_prot prot); 142 int (*host_stage2_mod_prot)(u64 pfn, enum kvm_pgtable_prot prot); 162 u64 pfn, enum kvm_pgtable_prot prot,
|
D | kvm_pgtable.h | 203 enum kvm_pgtable_prot { enum 245 enum kvm_pgtable_prot prot); 358 enum kvm_pgtable_prot prot); 461 u64 phys, enum kvm_pgtable_prot prot, 588 enum kvm_pgtable_prot prot); 669 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte); 679 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte);
|
D | kvm_mmu.h | 157 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 159 unsigned long phys, enum kvm_pgtable_prot prot);
|
/arch/arm64/kvm/hyp/nvhe/ |
D | mem_protect.c | 39 static bool host_stage2_force_pte(u64 addr, u64 end, enum kvm_pgtable_prot prot); 42 enum kvm_pgtable_prot prot); 194 enum kvm_pgtable_prot prot) in guest_stage2_force_pte_cb() 479 static enum kvm_pgtable_prot default_host_prot(bool is_memory) in default_host_prot() 484 static enum kvm_pgtable_prot default_hyp_prot(phys_addr_t phys) in default_hyp_prot() 522 enum kvm_pgtable_prot prot, in __host_stage2_idmap() 582 enum kvm_pgtable_prot prot, bool update_iommu) in host_stage2_idmap_locked() 596 enum kvm_pgtable_prot prot; in host_stage2_set_owner_locked() 614 static bool host_stage2_force_pte(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte() 710 u64 addr, enum kvm_pgtable_prot *prot, in handle_memattr_annotation() [all …]
|
D | mm.c | 38 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 86 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 144 int __pkvm_map_module_page(u64 pfn, void *va, enum kvm_pgtable_prot prot, bool is_protected) in __pkvm_map_module_page() 170 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 195 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
D | setup.c | 96 enum kvm_pgtable_prot prot; in recreate_hyp_mappings() 237 enum kvm_pgtable_prot prot; in fix_host_ownership_walker()
|
D | modules.c | 41 static void *__pkvm_linear_map_early(phys_addr_t phys, size_t size, enum kvm_pgtable_prot prot) in __pkvm_linear_map_early()
|
D | iommu.c | 511 enum kvm_pgtable_prot prot) in pkvm_iommu_host_stage2_idmap()
|
D | hyp-main.c | 1081 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_create_private_mapping() 1193 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_map_module_page()
|
/arch/arm64/kvm/hyp/ |
D | pgtable.c | 269 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() 311 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte) in kvm_pgtable_hyp_pte_prot() 313 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() 376 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 568 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 575 enum kvm_pgtable_prot exec_prot; in stage2_set_prot_attr() 616 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte) in kvm_pgtable_stage2_pte_prot() 618 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() 961 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1217 enum kvm_pgtable_prot prot) in kvm_pgtable_stage2_relax_perms()
|
/arch/arm64/kvm/ |
D | mmu.c | 319 unsigned long phys, enum kvm_pgtable_prot prot) in __create_hyp_mappings() 488 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in create_hyp_mappings() 565 enum kvm_pgtable_prot prot) in __create_hyp_private_mapping() 702 static bool stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in stage2_force_pte_cb() 1006 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_DEVICE | in kvm_phys_addr_ioremap() 1442 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in user_mem_abort()
|
D | pkvm.c | 719 enum kvm_pgtable_prot prot;
|