Home
last modified time | relevance | path

Searched refs:hyp_va_bits (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dsetup.c72 u32 hyp_va_bits) in recreate_hyp_mappings() argument
81 ret = kvm_pgtable_hyp_init(&pkvm_pgtable, hyp_va_bits, in recreate_hyp_mappings()
86 ret = hyp_create_idmap(hyp_va_bits); in recreate_hyp_mappings()
315 unsigned long *per_cpu_base, u32 hyp_va_bits) in __pkvm_init() argument
334 ret = recreate_hyp_mappings(phys, size, per_cpu_base, hyp_va_bits); in __pkvm_init()
Dmm.c328 int hyp_create_idmap(u32 hyp_va_bits) in hyp_create_idmap() argument
346 __io_map_base = start & BIT(hyp_va_bits - 2); in hyp_create_idmap()
347 __io_map_base ^= BIT(hyp_va_bits - 2); in hyp_create_idmap()
348 __hyp_vmemmap = __io_map_base | BIT(hyp_va_bits - 3); in hyp_create_idmap()
Dhyp-main.c221 DECLARE_REG(u32, hyp_va_bits, host_ctxt, 5); in handle___pkvm_init()
229 hyp_va_bits); in handle___pkvm_init()
/linux-6.6.21/arch/arm64/kvm/hyp/include/nvhe/
Dmm.h20 int hyp_create_idmap(u32 hyp_va_bits);
/linux-6.6.21/arch/arm64/kvm/
Darm.c1725 static void __init cpu_prepare_hyp_mode(int cpu, u32 hyp_va_bits) in cpu_prepare_hyp_mode() argument
1749 tcr |= TCR_T0SZ(hyp_va_bits); in cpu_prepare_hyp_mode()
2076 static int __init do_pkvm_init(u32 hyp_va_bits) in do_pkvm_init() argument
2085 hyp_va_bits); in do_pkvm_init()
2137 static int __init kvm_hyp_init_protection(u32 hyp_va_bits) in kvm_hyp_init_protection() argument
2146 ret = do_pkvm_init(hyp_va_bits); in kvm_hyp_init_protection()
2178 u32 hyp_va_bits; in init_hyp_mode() local
2192 err = kvm_mmu_init(&hyp_va_bits); in init_hyp_mode()
2306 cpu_prepare_hyp_mode(cpu, hyp_va_bits); in init_hyp_mode()
2323 err = kvm_hyp_init_protection(hyp_va_bits); in init_hyp_mode()
Dmmu.c1876 int __init kvm_mmu_init(u32 *hyp_va_bits) in kvm_mmu_init() argument
1917 *hyp_va_bits = max(idmap_bits, kernel_bits); in kvm_mmu_init()
1919 kvm_debug("Using %u-bit virtual addresses at EL2\n", *hyp_va_bits); in kvm_mmu_init()
1944 err = kvm_pgtable_hyp_init(hyp_pgtable, *hyp_va_bits, &kvm_hyp_mm_ops); in kvm_mmu_init()
/linux-6.6.21/arch/arm64/include/asm/
Dkvm_hyp.h132 unsigned long *per_cpu_base, u32 hyp_va_bits);
Dkvm_mmu.h185 int __init kvm_mmu_init(u32 *hyp_va_bits);