From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Zhao Subject: Re: [PATCH v7 01/19] ARM64: Move PMU register related defines to asm/pmu.h Date: Tue, 15 Dec 2015 19:44:56 +0800 Message-ID: <566FFD38.7060803@linaro.org> References: <1450169379-12336-1-git-send-email-zhaoshenglong@huawei.com> <1450169379-12336-2-git-send-email-zhaoshenglong@huawei.com> <566FFAB6.8060604@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 8925241252 for ; Tue, 15 Dec 2015 06:42:50 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eK9fgo8yzylg for ; Tue, 15 Dec 2015 06:42:49 -0500 (EST) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id A8595411F6 for ; Tue, 15 Dec 2015 06:42:49 -0500 (EST) Received: by mail-pa0-f49.google.com with SMTP id ur14so3686465pab.0 for ; Tue, 15 Dec 2015 03:45:06 -0800 (PST) In-Reply-To: <566FFAB6.8060604@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Marc Zyngier , Shannon Zhao , kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org Cc: kvm@vger.kernel.org, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org List-Id: kvmarm@lists.cs.columbia.edu On 2015/12/15 19:34, Marc Zyngier wrote: > On 15/12/15 08:49, Shannon Zhao wrote: >> From: Shannon Zhao >> >> To use the ARMv8 PMU related register defines from the KVM code, >> we move the relevant definitions to asm/pmu.h header file. >> >> Signed-off-by: Anup Patel >> Signed-off-by: Shannon Zhao >> --- >> arch/arm64/include/asm/pmu.h | 64 ++++++++++++++++++++++++++++++++++++++++++ >> arch/arm64/kernel/perf_event.c | 36 +----------------------- >> 2 files changed, 65 insertions(+), 35 deletions(-) >> create mode 100644 arch/arm64/include/asm/pmu.h >> >> diff --git a/arch/arm64/include/asm/pmu.h b/arch/arm64/include/asm/pmu.h >> new file mode 100644 >> index 0000000..4264ea0 >> --- /dev/null >> +++ b/arch/arm64/include/asm/pmu.h >> @@ -0,0 +1,64 @@ >> +/* >> + * Copyright (C) 2015 Linaro Ltd, Shannon Zhao > > Erm, not quite. You're simply moving existing code from one file to > another. That doesn't change the copyright of said code, which reads: > > * PMU support > * > * Copyright (C) 2012 ARM Limited > * Author: Will Deacon > > Please keep this mention in place. > Sure, will fix this. Thanks. -- Shannon From mboxrd@z Thu Jan 1 00:00:00 1970 From: shannon.zhao@linaro.org (Shannon Zhao) Date: Tue, 15 Dec 2015 19:44:56 +0800 Subject: [PATCH v7 01/19] ARM64: Move PMU register related defines to asm/pmu.h In-Reply-To: <566FFAB6.8060604@arm.com> References: <1450169379-12336-1-git-send-email-zhaoshenglong@huawei.com> <1450169379-12336-2-git-send-email-zhaoshenglong@huawei.com> <566FFAB6.8060604@arm.com> Message-ID: <566FFD38.7060803@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2015/12/15 19:34, Marc Zyngier wrote: > On 15/12/15 08:49, Shannon Zhao wrote: >> From: Shannon Zhao >> >> To use the ARMv8 PMU related register defines from the KVM code, >> we move the relevant definitions to asm/pmu.h header file. >> >> Signed-off-by: Anup Patel >> Signed-off-by: Shannon Zhao >> --- >> arch/arm64/include/asm/pmu.h | 64 ++++++++++++++++++++++++++++++++++++++++++ >> arch/arm64/kernel/perf_event.c | 36 +----------------------- >> 2 files changed, 65 insertions(+), 35 deletions(-) >> create mode 100644 arch/arm64/include/asm/pmu.h >> >> diff --git a/arch/arm64/include/asm/pmu.h b/arch/arm64/include/asm/pmu.h >> new file mode 100644 >> index 0000000..4264ea0 >> --- /dev/null >> +++ b/arch/arm64/include/asm/pmu.h >> @@ -0,0 +1,64 @@ >> +/* >> + * Copyright (C) 2015 Linaro Ltd, Shannon Zhao > > Erm, not quite. You're simply moving existing code from one file to > another. That doesn't change the copyright of said code, which reads: > > * PMU support > * > * Copyright (C) 2012 ARM Limited > * Author: Will Deacon > > Please keep this mention in place. > Sure, will fix this. Thanks. -- Shannon