# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/10/5746228
- Thread: https://ratatoskr.run/netdev/2019/10/5744948/t.md

```text
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 [ref];
> will@kernel.org; Suzuki Poulose [ref]
> Cc: <redacted>; <redacted>;
> kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org; Steve Capper
> [ref]; Kaly Xin (Arm Technology China)
> [ref]; Justin He (Arm Technology China)
> [ref]; nd [ref]
> Subject: Re: [PATCH v5 5/6] ptp: arm64: Enable ptp_kvm for arm64
> 
> On 16/10/19 09:10, Paolo Bonzini wrote:
> > On 16/10/19 05:52, Jianyong Wu (Arm Technology China) wrote:
> >> 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

```
