KVM
|
#include <linux/kvm_host.h>
#include <asm/kvm_hyp.h>
#include <asm/kvm_mmu.h>
#include <asm/kvm_pgtable.h>
#include <asm/kvm_pkvm.h>
#include <nvhe/early_alloc.h>
#include <nvhe/ffa.h>
#include <nvhe/fixed_config.h>
#include <nvhe/gfp.h>
#include <nvhe/memory.h>
#include <nvhe/mem_protect.h>
#include <nvhe/mm.h>
#include <nvhe/pkvm.h>
#include <nvhe/trap_handler.h>
Go to the source code of this file.
Macros | |
#define | hyp_percpu_size |
Functions | |
static int | divide_memory_pool (void *virt, unsigned long size) |
static int | recreate_hyp_mappings (phys_addr_t phys, unsigned long size, unsigned long *per_cpu_base, u32 hyp_va_bits) |
static void | update_nvhe_init_params (void) |
static void * | hyp_zalloc_hyp_page (void *arg) |
static void | hpool_get_page (void *addr) |
static void | hpool_put_page (void *addr) |
static int | fix_host_ownership_walker (const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) |
static int | fix_hyp_pgtable_refcnt_walker (const struct kvm_pgtable_visit_ctx *ctx, enum kvm_pgtable_walk_flags visit) |
static int | fix_host_ownership (void) |
static int | fix_hyp_pgtable_refcnt (void) |
void __noreturn | __pkvm_init_finalise (void) |
int | __pkvm_init (phys_addr_t phys, unsigned long size, unsigned long nr_cpus, unsigned long *per_cpu_base, u32 hyp_va_bits) |
Variables | |
unsigned long | hyp_nr_cpus |
static void * | vmemmap_base |
static void * | vm_table_base |
static void * | hyp_pgt_base |
static void * | host_s2_pgt_base |
static void * | ffa_proxy_pages |
static struct kvm_pgtable_mm_ops | pkvm_pgtable_mm_ops |
static struct hyp_pool | hpool |
#define hyp_percpu_size |
int __pkvm_init | ( | phys_addr_t | phys, |
unsigned long | size, | ||
unsigned long | nr_cpus, | ||
unsigned long * | per_cpu_base, | ||
u32 | hyp_va_bits | ||
) |
Definition at line 314 of file setup.c.
void __noreturn __pkvm_init_finalise | ( | void | ) |
Definition at line 258 of file setup.c.
|
static |
Definition at line 36 of file setup.c.
|
static |
Definition at line 226 of file setup.c.
|
static |
Definition at line 174 of file setup.c.
|
static |
Definition at line 246 of file setup.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 159 of file setup.c.
|
static |
Definition at line 70 of file setup.c.
|
static |