Home
last modified time | relevance | path

Searched refs:cpu_reg (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c28 cpu_reg(host_ctxt, 1) = __kvm_vcpu_run(kern_hyp_va(vcpu)); in handle___kvm_vcpu_run()
61 __kvm_timer_set_cntvoff(cpu_reg(host_ctxt, 1)); in handle___kvm_timer_set_cntvoff()
75 cpu_reg(host_ctxt, 1) = __vgic_v3_get_gic_config(); in handle___vgic_v3_get_gic_config()
80 cpu_reg(host_ctxt, 1) = __vgic_v3_read_vmcr(); in handle___vgic_v3_read_vmcr()
85 __vgic_v3_write_vmcr(cpu_reg(host_ctxt, 1)); in handle___vgic_v3_write_vmcr()
95 cpu_reg(host_ctxt, 1) = __kvm_get_mdcr_el2(); in handle___kvm_get_mdcr_el2()
125 cpu_reg(host_ctxt, 1) = __pkvm_init(phys, size, nr_cpus, per_cpu_base, in handle___pkvm_init()
133 cpu_reg(host_ctxt, 1) = pkvm_cpu_set_vector(slot); in handle___pkvm_cpu_set_vector()
143 cpu_reg(host_ctxt, 1) = __pkvm_create_mappings(start, size, phys, prot); in handle___pkvm_create_mappings()
152 cpu_reg(host_ctxt, 1) = __pkvm_create_private_mapping(phys, size, prot); in handle___pkvm_create_private_mapping()
[all …]
Dpsci-relay.c74 return psci_call(cpu_reg(host_ctxt, 0), cpu_reg(host_ctxt, 1), in psci_forward()
75 cpu_reg(host_ctxt, 2), cpu_reg(host_ctxt, 3)); in psci_forward()
215 cpu_reg(host_ctxt, 0) = boot_args->r0; in kvm_host_psci_cpu_entry()
299 cpu_reg(host_ctxt, 0) = ret; in kvm_host_psci_handler()
300 cpu_reg(host_ctxt, 1) = 0; in kvm_host_psci_handler()
301 cpu_reg(host_ctxt, 2) = 0; in kvm_host_psci_handler()
302 cpu_reg(host_ctxt, 3) = 0; in kvm_host_psci_handler()
Dsetup.c179 cpu_reg(host_ctxt, 1) = ret; in __pkvm_init_finalise()
/arch/arm64/kvm/hyp/include/nvhe/
Dtrap_handler.h14 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] macro
16 type name = (type)cpu_reg(ctxt, (reg))