From: Wei Huang Subject: Re: [kvm-unit-tests RFC 2/3] x86/pmu: Rename pmu.c code to intel_pmu.c Date: Fri, 4 Aug 2017 10:44:10 -0500 Message-ID: <9725fee9-b1f5-63ab-3b45-4e840fd810f0@redhat.com> References: <1501820670-23194-1-git-send-email-wei@redhat.com> <1501820670-23194-3-git-send-email-wei@redhat.com> <20170804080030.yeeasw5ypk4uamif@kamzik.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, pbonzini@redhat.com, rkrcmar@redhat.com To: Andrew Jones Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078AbdHDPoM (ORCPT ); Fri, 4 Aug 2017 11:44:12 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D39206E80D for ; Fri, 4 Aug 2017 15:44:11 +0000 (UTC) In-Reply-To: <20170804080030.yeeasw5ypk4uamif@kamzik.brq.redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 08/04/2017 03:00 AM, Andrew Jones wrote: > On Thu, Aug 03, 2017 at 11:24:29PM -0500, Wei Huang wrote: >> Many code in pmu.c is Intel-specific (e.g. fixed counters, global >> ctrl). This patch renames pmu.c to intel_pmu.c. The makefile and >> unit-test config file are also changed acccordingly. >> >> Signed-off-by: Wei Huang >> --- >> x86/Makefile.common | 2 +- >> x86/intel_pmu.c | 379 ++++++++++++++++++++++++++++++++++++++++++++++++++++ >> x86/pmu.c | 379 ---------------------------------------------------- >> x86/unittests.cfg | 4 +- >> 4 files changed, 382 insertions(+), 382 deletions(-) >> create mode 100644 x86/intel_pmu.c >> delete mode 100644 x86/pmu.c > > It'd be best to create this patch with 'format-patch -M' > Thanks for pointing it out. I will do it in next re-spin. > Thanks, > drew >