Re: [RFC PATCH v4 2/5] ptp: Reorganize ptp_kvm modules to make it arch-independent.

From
Suzuki K Poulose <suzuki.poulose@arm.com>
Date
2019-09-26 13:06:18
Also in
kvm, kvmarm, linux-arm-kernel, lkml
Reply to
Jianyong Wu, 2019-09-26
Hi Jianyong,

On 26/09/2019 12:42, Jianyong Wu wrote:
Currently, ptp_kvm modules implementation is only for x86 which includs
large part of arch-specific code.  This patch move all of those code
into new arch related file in the same directory.

Signed-off-by: Jianyong Wu <redacted>
---
  drivers/ptp/Makefile                 |  1 +
  drivers/ptp/{ptp_kvm.c => kvm_ptp.c} | 77 ++++++------------------
  drivers/ptp/ptp_kvm_x86.c            | 87 ++++++++++++++++++++++++++++
  include/asm-generic/ptp_kvm.h        | 12 ++++
  4 files changed, 118 insertions(+), 59 deletions(-)
  rename drivers/ptp/{ptp_kvm.c => kvm_ptp.c} (63%)
minor nit: Could we not skip renaming the file ? Given
you are following the ptp_kvm_* for the arch specific
files and the header files, wouldn't it be good to
keep ptp_kvm.c ?

Rest looks fine.

Cheers
Suzuki
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