Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A 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()
H A 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()
H A Dhyp-main.c221 DECLARE_REG(u32, hyp_va_bits, host_ctxt, 5); in handle___pkvm_init()
229 hyp_va_bits); in handle___pkvm_init()
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmm.h20 int hyp_create_idmap(u32 hyp_va_bits);
/openbmc/linux/arch/arm64/kvm/
H A Darm.c1728 static void __init cpu_prepare_hyp_mode(int cpu, u32 hyp_va_bits) in cpu_prepare_hyp_mode() argument
1752 tcr |= TCR_T0SZ(hyp_va_bits); in cpu_prepare_hyp_mode()
2079 static int __init do_pkvm_init(u32 hyp_va_bits) in do_pkvm_init() argument
2088 hyp_va_bits); in do_pkvm_init()
2140 static int __init kvm_hyp_init_protection(u32 hyp_va_bits) in kvm_hyp_init_protection() argument
2149 ret = do_pkvm_init(hyp_va_bits); in kvm_hyp_init_protection()
2181 u32 hyp_va_bits; in init_hyp_mode() local
2195 err = kvm_mmu_init(&hyp_va_bits); in init_hyp_mode()
2309 cpu_prepare_hyp_mode(cpu, hyp_va_bits); in init_hyp_mode()
2326 err = kvm_hyp_init_protection(hyp_va_bits); in init_hyp_mode()
H A 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()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_hyp.h132 unsigned long *per_cpu_base, u32 hyp_va_bits);
H A Dkvm_mmu.h185 int __init kvm_mmu_init(u32 *hyp_va_bits);