RE: [PATCH v5 5/6] ptp: arm64: Enable ptp_kvm for arm64

From
Jianyong Wu (Arm Technology China) <hidden>
Date
2019-10-16 10:13:28
Also in
kvm, kvmarm, linux-arm-kernel, lkml
Reply to
Paolo Bonzini, 2019-10-16
Hi Paolo,
-----Original Message-----
From: Paolo Bonzini <pbonzini@redhat.com>
Sent: Wednesday, October 16, 2019 3:14 PM
To: Jianyong Wu (Arm Technology China) <redacted>;
netdev@vger.kernel.org; yangbo.lu@nxp.com; john.stultz@linaro.org;
tglx@linutronix.de; sean.j.christopherson@intel.com; maz@kernel.org;
richardcochran@gmail.com; Mark Rutland [off-list ref];
will@kernel.org; Suzuki Poulose [off-list ref]
Cc: <redacted>; <redacted>;
kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org; Steve Capper
[off-list ref]; Kaly Xin (Arm Technology China)
[off-list ref]; Justin He (Arm Technology China)
[off-list ref]; nd [off-list ref]
Subject: Re: [PATCH v5 5/6] ptp: arm64: Enable ptp_kvm for arm64

On 16/10/19 09:10, Paolo Bonzini wrote:
quoted
On 16/10/19 05:52, Jianyong Wu (Arm Technology China) wrote:
quoted
This func used only by kvm_arch_ptp_get_clock and nothing to do with
kvm_arch_ptp_get_clock_fn. Also it can be merged into
kvm_arch_ptp_get_clock.
Your patches also have no user for kvm_arch_ptp_get_clock, so you can
remove it.
Nevermind.  I misread patch 2.  However, to remove the confusion, can you
rename kvm_arch_ptp_get_clock_fn to kvm_arch_ptp_get_crosststamp?
the suffix of this function name is reserved from its arch-independent caller ptp_kvm_get_time_fn, so if I change this function name
It will be better change them whole. I think "ptp_get_crosststamp" is a better suffix.

Thanks
Jianyong 
Paolo
  
Thread (30 messages) 30 messages, 4 authors, last reply 2019-10-16
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