Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2035070ybn; Thu, 26 Sep 2019 06:08:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeqELUhxVAEUFfJp4TFVQPa+I/bV/XAcl4+ucRBXkcKyhm3SQwnF1gtvNVXJhbr26aSPry X-Received: by 2002:a17:906:41a:: with SMTP id d26mr3003541eja.17.1569503326749; Thu, 26 Sep 2019 06:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569503326; cv=none; d=google.com; s=arc-20160816; b=Y9iqLuGhkfeOzJaGh3u4BrrLgVYSteQC/VIxyV6rU9ukdUra8nf9EMBVANsOgtxf3i z1AQZHME3aFZvenHXwDhoWCIY2Dk7OcQ0WievBNj7OZiszss12BU7TeqMLPgWD7udDmv hmc5hs5wDos4a2C88cZpUDWrT7lzFnR0dpCrZv0k3RhoSyU2IyMcwCKA9vayJMG4b6Wi gHfbmlwemvHPkCL15DArst5SCBzfbW5V0EEHasJHa1ADTs2Y6IuuFYM7+Go40hFX28lI /EvZQlSjIh4MErXqdnw2kNoIH3AkDGGwPPb73VvBUlCmmFluRdEj5WURXUDg3Zk0MfVb Q5Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=oi+B7KxJhKH5t+WzPX+3AJvahgb37SshL1jUDLsw52U=; b=FCYOl0ko9+PfohqEJfgGt8gvCYfaotntI44fPobxTU16NZ05Jgi+FpJfacq9itpzXU 2lMJmnTi/d3SGrhOZjgmq9RzYfPCiqicqUB7v1NizdPFZRQ91JeeceTEP9Vc8MPa+RPh tG1kswComRZ7BBLAQs60ZMFSQa91MV1qn8qn9jwi9Qf2bhCLJihDMWGMMqBV7ghyaMKT OkB9OvT8phkaI6pVCba2Ecyw6Aw04CqA3el0hYpJTQvi7qVzTEt1INr1WHYHwi//F5M1 eIzpKR8TFP4bDA24FJphZRLnExuiQy00DQ9sv3ILpmNXpSDJlEpatIVVxu8YZoNcJRus NLwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si1037450ejr.296.2019.09.26.06.08.22; Thu, 26 Sep 2019 06:08:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726796AbfIZNGR (ORCPT + 99 others); Thu, 26 Sep 2019 09:06:17 -0400 Received: from foss.arm.com ([217.140.110.172]:49152 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbfIZNGR (ORCPT ); Thu, 26 Sep 2019 09:06:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 58226142F; Thu, 26 Sep 2019 06:06:16 -0700 (PDT) Received: from dawn-kernel.cambridge.arm.com (unknown [10.1.197.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1B6E63F763; Thu, 26 Sep 2019 06:06:14 -0700 (PDT) Subject: Re: [RFC PATCH v4 2/5] ptp: Reorganize ptp_kvm modules to make it arch-independent. To: Jianyong Wu , netdev@vger.kernel.org, yangbo.lu@nxp.com, john.stultz@linaro.org, tglx@linutronix.de, pbonzini@redhat.com, sean.j.christopherson@intel.com, maz@kernel.org, richardcochran@gmail.com, Mark.Rutland@arm.com, Will.Deacon@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Steve.Capper@arm.com, Kaly.Xin@arm.com, justin.he@arm.com, nd@arm.com References: <20190926114212.5322-1-jianyong.wu@arm.com> <20190926114212.5322-3-jianyong.wu@arm.com> From: Suzuki K Poulose Message-ID: <2f338b57-b0b2-e439-6089-72e5f5e4f017@arm.com> Date: Thu, 26 Sep 2019 14:06:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20190926114212.5322-3-jianyong.wu@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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