Searched refs:hyp_va_bits (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 94 u32 hyp_va_bits) in recreate_hyp_mappings() argument 103 ret = kvm_pgtable_hyp_init(&pkvm_pgtable, hyp_va_bits, in recreate_hyp_mappings() 108 ret = hyp_create_idmap(hyp_va_bits); in recreate_hyp_mappings() 338 unsigned long *per_cpu_base, u32 hyp_va_bits) in __pkvm_init() argument 357 ret = recreate_hyp_mappings(phys, size, per_cpu_base, hyp_va_bits); in __pkvm_init()
|
D | mm.c | 328 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()
|
D | hyp-main.c | 290 DECLARE_REG(u32, hyp_va_bits, host_ctxt, 5); in handle___pkvm_init() 298 hyp_va_bits); in handle___pkvm_init()
|
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/ |
D | mm.h | 20 int hyp_create_idmap(u32 hyp_va_bits);
|
/linux-6.12.1/arch/arm64/kvm/ |
D | arm.c | 2010 static void __init cpu_prepare_hyp_mode(int cpu, u32 hyp_va_bits) in cpu_prepare_hyp_mode() argument 2035 tcr |= TCR_T0SZ(hyp_va_bits); in cpu_prepare_hyp_mode() 2374 static int __init do_pkvm_init(u32 hyp_va_bits) in do_pkvm_init() argument 2383 hyp_va_bits); in do_pkvm_init() 2435 static int __init kvm_hyp_init_protection(u32 hyp_va_bits) in kvm_hyp_init_protection() argument 2444 ret = do_pkvm_init(hyp_va_bits); in kvm_hyp_init_protection() 2528 u32 hyp_va_bits; in init_hyp_mode() local 2542 err = kvm_mmu_init(&hyp_va_bits); in init_hyp_mode() 2656 cpu_prepare_hyp_mode(cpu, hyp_va_bits); in init_hyp_mode() 2677 err = kvm_hyp_init_protection(hyp_va_bits); in init_hyp_mode()
|
D | mmu.c | 1983 int __init kvm_mmu_init(u32 *hyp_va_bits) in kvm_mmu_init() argument 2017 *hyp_va_bits = max(idmap_bits, kernel_bits); in kvm_mmu_init() 2019 kvm_debug("Using %u-bit virtual addresses at EL2\n", *hyp_va_bits); in kvm_mmu_init() 2044 err = kvm_pgtable_hyp_init(hyp_pgtable, *hyp_va_bits, &kvm_hyp_mm_ops); in kvm_mmu_init()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_hyp.h | 130 unsigned long *per_cpu_base, u32 hyp_va_bits);
|
D | kvm_mmu.h | 185 int __init kvm_mmu_init(u32 *hyp_va_bits);
|