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 Cc: kvm@vger.kernel.org, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org To: Marc Zyngier , Shannon Zhao , kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org Return-path: 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 List-Id: kvm.vger.kernel.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 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