search for: arm_smccc_1_1_invok

Displaying 4 results from an estimated 4 matches for "arm_smccc_1_1_invok".

Did you mean: arm_smccc_1_1_invoke
2019 Dec 26
0
[PATCH 5/5] KVM: arm64: Support the vcpu preemption check
...nt cpu) >> +{ >> + struct pvlock_vcpu_state *reg; >> + struct arm_smccc_res res; >> + >> + reg = this_cpu_ptr(&pvlock_vcpu_region); >> + if (!reg) >> + return -EFAULT; >> + >> + /* Pass the memory address to host via hypercall */ >> + arm_smccc_1_1_invoke(ARM_SMCCC_HV_PV_LOCK_PREEMPTED, >> + virt_to_phys(reg), &res); >> + >> + return 0; >> +} >> + >> +static bool kvm_vcpu_is_preempted(int cpu) >> +{ >> + struct pvlock_vcpu_state *reg = &per_cpu(pvlock_vcpu_region, cpu); >> + >&...
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
From: Zengruan Ye <yezengruan at huawei.com> This patch set aims to support the vcpu_is_preempted() functionality under KVM/arm64, which allowing the guest to obtain the vcpu is currently running or not. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
From: Zengruan Ye <yezengruan at huawei.com> This patch set aims to support the vcpu_is_preempted() functionality under KVM/arm64, which allowing the guest to obtain the vcpu is currently running or not. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far
2019 Dec 26
7
[PATCH v2 0/6] KVM: arm64: VCPU preempted check support
This patch set aims to support the vcpu_is_preempted() functionality under KVM/arm64, which allowing the guest to obtain the VCPU is currently running or not. This will enhance lock performance on overcommitted hosts (more runnable VCPUs than physical CPUs in the system) as doing busy waits for preempted VCPUs will hurt system performance far worse than early yielding. We have observed some