Searched refs:kvm_pgtable_prot (Results 1 – 11 of 11) sorted by relevance
| /linux/arch/arm64/kvm/hyp/include/nvhe/ |
| H A D | mm.h | 26 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 27 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot); 29 enum kvm_pgtable_prot prot,
|
| H A D | mem_protect.h | 43 enum kvm_pgtable_prot prot); 45 int __pkvm_host_relax_perms_guest(u64 gfn, struct pkvm_hyp_vcpu *vcpu, enum kvm_pgtable_prot prot); 51 int host_stage2_idmap_locked(phys_addr_t addr, u64 size, enum kvm_pgtable_prot prot);
|
| H A D | memory.h | 37 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()
|
| /linux/arch/arm64/include/asm/ |
| H A D | kvm_pgtable.h | 255 enum kvm_pgtable_prot { enum 284 enum kvm_pgtable_prot prot); 491 enum kvm_pgtable_prot prot); 623 enum kvm_pgtable_prot prot, 656 u64 phys, enum kvm_pgtable_prot prot, 771 enum kvm_pgtable_prot prot, 860 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte); 870 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte);
|
| H A D | kvm_pkvm.h | 187 enum kvm_pgtable_prot prot, void *mc, 193 int pkvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr, enum kvm_pgtable_prot prot, 201 enum kvm_pgtable_prot prot, void *mc,
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | mm.c | 36 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 94 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 113 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 138 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
| H A D | mem_protect.c | 141 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot); 460 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 531 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 563 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 589 enum kvm_pgtable_prot prot; in host_stage2_idmap() 962 enum kvm_pgtable_prot prot) in __pkvm_host_share_guest() 1122 int __pkvm_host_relax_perms_guest(u64 gfn, struct pkvm_hyp_vcpu *vcpu, enum kvm_pgtable_prot prot) in __pkvm_host_relax_perms_guest() 1282 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_RWX; in pkvm_ownership_selftest()
|
| H A D | hyp-main.c | 253 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 4); in handle___pkvm_host_share_guest() 297 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 2); in handle___pkvm_host_relax_perms_guest() 524 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_create_private_mapping()
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 333 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() 368 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte) in kvm_pgtable_hyp_pte_prot() 370 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() 434 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 664 static int stage2_set_xn_attr(enum kvm_pgtable_prot prot, kvm_pte_t *attr) in stage2_set_xn_attr() 689 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 734 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte) in kvm_pgtable_stage2_pte_prot() 736 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() 1073 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1330 enum kvm_pgtable_prot prot, enum kvm_pgtable_walk_flags flags) in kvm_pgtable_stage2_relax_perms() [all …]
|
| /linux/arch/arm64/kvm/ |
| H A D | pkvm.c | 360 u64 phys, enum kvm_pgtable_prot prot, in pkvm_pgtable_stage2_map() 458 int pkvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr, enum kvm_pgtable_prot prot, in pkvm_pgtable_stage2_relax_perms() 476 enum kvm_pgtable_prot prot, void *mc, bool force_pte) in pkvm_pgtable_stage2_create_unlinked()
|
| H A D | mmu.c | 422 unsigned long phys, enum kvm_pgtable_prot prot) in __create_hyp_mappings() 591 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in create_hyp_mappings() 680 enum kvm_pgtable_prot prot) in __create_hyp_private_mapping() 1184 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_DEVICE | in kvm_phys_addr_ioremap() 1546 enum kvm_pgtable_prot *prot, in adjust_nested_fault_perms() 1558 enum kvm_pgtable_prot *prot) in adjust_nested_exec_perms() 1574 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in gmem_abort() 1664 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in user_mem_abort()
|