Displaying 6 results from an estimated 6 matches for "pv_lock_featur".
Did you mean:
pv_lock_features
2019 Dec 19
0
[PATCH 2/5] KVM: arm64: Implement PV_LOCK_FEATURES call
...ccc.h
>> +++ b/include/linux/arm-smccc.h
>> @@ -377,5 +377,18 @@ asmlinkage void __arm_smccc_hvc(unsigned long a0, unsigned long a1,
>> ARM_SMCCC_OWNER_STANDARD_HYP, \
>> 0x21)
>>
>> +/* Paravirtualised lock calls */
>> +#define ARM_SMCCC_HV_PV_LOCK_FEATURES \
>> + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \
>> + ARM_SMCCC_SMC_64, \
>> + ARM_SMCCC_OWNER_STANDARD_HYP, \
>> + 0x40)
>> +
>> +#define ARM_SMCCC_HV_PV_LOCK_PREEMPTED \
>> + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \
>>...
2019 Dec 17
0
[PATCH 2/5] KVM: arm64: Implement PV_LOCK_FEATURES call
...ex 59494df0f55b..59e65a951959 100644
--- a/include/linux/arm-smccc.h
+++ b/include/linux/arm-smccc.h
@@ -377,5 +377,18 @@ asmlinkage void __arm_smccc_hvc(unsigned long a0, unsigned long a1,
ARM_SMCCC_OWNER_STANDARD_HYP, \
0x21)
+/* Paravirtualised lock calls */
+#define ARM_SMCCC_HV_PV_LOCK_FEATURES \
+ ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \
+ ARM_SMCCC_SMC_64, \
+ ARM_SMCCC_OWNER_STANDARD_HYP, \
+ 0x40)
+
+#define ARM_SMCCC_HV_PV_LOCK_PREEMPTED \
+ ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \
+ ARM_SMCCC_SMC_64, \
+ ARM_SMCCC_OWNER_STANDARD_HYP, \
+...
2019 Dec 19
0
[PATCH 1/5] KVM: arm64: Document PV-lock interface
...> +======================================
>> +
>> +KVM/arm64 provids some hypervisor service calls to support a paravirtualized
>> +guest obtaining the vcpu is currently running or not.
>> +
>> +Two new SMCCC compatible hypercalls are defined:
>> +
>> +* PV_LOCK_FEATURES: 0xC5000040
>> +* PV_LOCK_PREEMPTED: 0xC5000041
>
> These values are in the "Standard Hypervisor Service Calls" section of
> SMCCC - so is there a document that describes this features such that
> other OSes or hypervisors can implement it? I'm also not entirel...
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
...l Overhead | 3913363.1 lps | 3883287.8 lps
----------------------------------------+-------------------+------------------
System Benchmarks Index Score | 1835.1 | 1327.6
Zengruan Ye (5):
KVM: arm64: Document PV-lock interface
KVM: arm64: Implement PV_LOCK_FEATURES call
KVM: arm64: Support pvlock preempted via shared structure
KVM: arm64: Add interface to support vcpu preempted check
KVM: arm64: Support the vcpu preemption check
Documentation/virt/kvm/arm/pvlock.rst | 31 +++++++++
arch/arm/include/asm/kvm_host.h | 13 ++++
arch/arm64/includ...
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
...l Overhead | 3913363.1 lps | 3883287.8 lps
----------------------------------------+-------------------+------------------
System Benchmarks Index Score | 1835.1 | 1327.6
Zengruan Ye (5):
KVM: arm64: Document PV-lock interface
KVM: arm64: Implement PV_LOCK_FEATURES call
KVM: arm64: Support pvlock preempted via shared structure
KVM: arm64: Add interface to support vcpu preempted check
KVM: arm64: Support the vcpu preemption check
Documentation/virt/kvm/arm/pvlock.rst | 31 +++++++++
arch/arm/include/asm/kvm_host.h | 13 ++++
arch/arm64/includ...
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