| /linux/arch/arm64/include/asm/ |
| H A D | kvm_pgtable.h | 256 enum kvm_pgtable_prot { enum 285 enum kvm_pgtable_prot prot); 492 enum kvm_pgtable_prot prot); 624 enum kvm_pgtable_prot prot, 657 u64 phys, enum kvm_pgtable_prot prot, 772 enum kvm_pgtable_prot prot, 861 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte); 871 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte);
|
| H A D | kvm_pkvm.h | 211 enum kvm_pgtable_prot prot, void *mc, 217 int pkvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr, enum kvm_pgtable_prot prot, 225 enum kvm_pgtable_prot prot, void *mc,
|
| H A D | kvm_mmu.h | 160 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 162 unsigned long phys, enum kvm_pgtable_prot prot);
|
| /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/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); 462 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 533 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 565 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 591 enum kvm_pgtable_prot prot; in host_stage2_idmap() 964 enum kvm_pgtable_prot prot) in __pkvm_host_share_guest() 1124 int __pkvm_host_relax_perms_guest(u64 gfn, struct pkvm_hyp_vcpu *vcpu, enum kvm_pgtable_prot prot) in __pkvm_host_relax_perms_guest() 1284 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_RWX; in pkvm_ownership_selftest()
|
| H A D | hyp-main.c | 256 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 4); in handle___pkvm_host_share_guest() 300 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 2); in handle___pkvm_host_relax_perms_guest() 527 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_create_private_mapping()
|
| H A D | setup.c | 195 enum kvm_pgtable_prot prot; in fix_host_ownership_walker()
|
| /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() 379 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte) in kvm_pgtable_hyp_pte_prot() 381 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() 452 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 682 static int stage2_set_xn_attr(enum kvm_pgtable_prot prot, kvm_pte_t *attr) in stage2_set_xn_attr() 707 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 752 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte) in kvm_pgtable_stage2_pte_prot() 754 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() 1091 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1349 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() 1185 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_DEVICE | in kvm_phys_addr_ioremap() 1547 enum kvm_pgtable_prot *prot, in adjust_nested_fault_perms() 1559 enum kvm_pgtable_prot *prot) in adjust_nested_exec_perms() 1573 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in gmem_abort() 1663 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in user_mem_abort()
|