Home
last modified time | relevance | path

Searched refs:pgd_phys (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/arch/arm/mm/
Dproc-v7-bugs.c41 extern void cpu_v7_iciallu_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
42 extern void cpu_v7_bpiall_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
43 extern void cpu_v7_smc_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
44 extern void cpu_v7_hvc_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
/linux-6.6.21/arch/arm/include/asm/
Dproc-fns.h64 void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm);
90 extern void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
/linux-6.6.21/arch/arm64/mm/
Dcontext.c349 void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm) in cpu_do_switch_mm() argument
353 unsigned long ttbr0 = phys_to_ttbr(pgd_phys); in cpu_do_switch_mm()
Dmmu.c765 u64 pgd_phys; in create_idmap() local
769 pgd_phys = early_pgtable_alloc(PAGE_SHIFT); in create_idmap()
771 __pgd(pgd_phys | P4D_TYPE_TABLE)); in create_idmap()
772 pgd = __va(pgd_phys); in create_idmap()
/linux-6.6.21/arch/riscv/kvm/
Dmmu.c725 kvm->arch.pgd_phys = page_to_phys(pgd_page); in kvm_riscv_gstage_alloc_pgd()
739 kvm->arch.pgd_phys = 0; in kvm_riscv_gstage_free_pgd()
753 hgatp |= (k->pgd_phys >> PAGE_SHIFT) & HGATP_PPN; in kvm_riscv_gstage_update_hgatp()
/linux-6.6.21/arch/arm64/include/asm/
Dmmu_context.h55 void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
Dkvm_mmu.h289 baddr = mmu->pgd_phys; in kvm_get_vttbr()
Dkvm_host.h158 phys_addr_t pgd_phys; member
/linux-6.6.21/arch/riscv/include/asm/
Dkvm_host.h97 phys_addr_t pgd_phys; member
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c157 mmu->pgd_phys = __hyp_pa(host_mmu.pgt.pgd); in kvm_host_prepare_stage2()
264 vm->kvm.arch.mmu.pgd_phys = __hyp_pa(vm->pgt.pgd); in kvm_guest_prepare_stage2()
276 vm->kvm.arch.mmu.pgd_phys = 0ULL; in reclaim_guest_pages()
/linux-6.6.21/arch/arm64/kvm/
Dmmu.c925 mmu->pgd_phys = __pa(pgt->pgd); in kvm_init_stage2_mmu()
1017 mmu->pgd_phys = 0; in kvm_free_stage2_pgd()