Re: [RFC PATCH v4 3/5] psci: Add hvc call service for ptp_kvm.

From
Sergei Shtylyov <hidden>
Date
2019-09-27 09:20:40
Also in
kvm, linux-arm-kernel, lkml
Reply to
Jianyong Wu, 2019-09-26
Hello!

On 26.09.2019 14:42, Jianyong Wu wrote:
This patch is the base of ptp_kvm for arm64.
ptp_kvm modules will call hvc to get this service.
The service offers real time and counter cycle of host for guest.

Signed-off-by: Jianyong Wu <redacted>
---
  include/linux/arm-smccc.h | 12 ++++++++++++
  virt/kvm/arm/psci.c       | 18 ++++++++++++++++++
  2 files changed, 30 insertions(+)
[...]
quoted hunk ↗ jump to hunk
diff --git a/virt/kvm/arm/psci.c b/virt/kvm/arm/psci.c
index 0debf49bf259..3f30fc42a5ca 100644
--- a/virt/kvm/arm/psci.c
+++ b/virt/kvm/arm/psci.c
[...]
quoted hunk ↗ jump to hunk
@@ -431,6 +433,22 @@ int kvm_hvc_call_handler(struct kvm_vcpu *vcpu)
  	case ARM_SMCCC_VENDOR_HYP_KVM_FEATURES_FUNC_ID:
  		val[0] = BIT(ARM_SMCCC_KVM_FUNC_FEATURES);
  		break;
+	/*
+	 * This will used for virtual ptp kvm clock. three
                    ^ be?                            ^ T

[...]

MBR, Sergei
Thread (13 messages) 13 messages, 3 authors, last reply 2019-09-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help