From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 30 Dec 2010 23:57:48 +0100 (CET) Received: from mail3.caviumnetworks.com ([12.108.191.235]:14325 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1491154Ab0L3W5p (ORCPT ); Thu, 30 Dec 2010 23:57:45 +0100 Received: from caexch01.caveonetworks.com (Not Verified[192.168.16.9]) by mail3.caviumnetworks.com with MailMarshal (v6,7,2,8378) id ; Thu, 30 Dec 2010 14:58:25 -0800 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by caexch01.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 30 Dec 2010 14:57:38 -0800 Received: from dd1.caveonetworks.com ([12.108.191.236]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 30 Dec 2010 14:57:38 -0800 Message-ID: <4D1D0E62.5010609@caviumnetworks.com> Date: Thu, 30 Dec 2010 14:57:38 -0800 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: Deng-Cheng Zhu , ralf@linux-mips.org CC: a.p.zijlstra@chello.nl, fweisbec@gmail.com, will.deacon@arm.com, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, wuzhangjin@gmail.com, paulus@samba.org, mingo@elte.hu, acme@redhat.com, matt@console-pimps.org, sshtylyov@mvista.com Subject: Re: [PATCH v3 0/5] MIPS/Perf-events: Sync with mainline upper layer (v3) References: <1291022351-13152-1-git-send-email-dengcheng.zhu@gmail.com> In-Reply-To: <1291022351-13152-1-git-send-email-dengcheng.zhu@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Dec 2010 22:57:38.0866 (UTC) FILETIME=[F4E74120:01CBA874] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 28779 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@caviumnetworks.com Precedence: bulk X-list: linux-mips On 11/29/2010 01:19 AM, Deng-Cheng Zhu wrote: > Current MIPS Perf-events uses older interfaces to the generic layer. So it > will not work. This patch set fixes this issue (reported by Wu Zhangjin) by > adding MIPS counterparts for a list of previous commits that went to > mainline earlier. > > Changes: > v3 - v2: > o Keep all mentioned commits in the form of number + title + original > summary + (MIPS specific info when needed). > v2 - v1: > o Corrected the return value of the event check in validate_event(). > > Deng-Cheng Zhu (5): > MIPS/Perf-events: Work with irq_work > MIPS/Perf-events: Work with the new PMU interface > MIPS/Perf-events: Fix event check in validate_event() > MIPS/Perf-events: Work with the new callchain interface > MIPS/Perf-events: Use unsigned delta for right shift in event update > > arch/mips/Kconfig | 1 + > arch/mips/include/asm/perf_event.h | 12 +- > arch/mips/kernel/perf_event.c | 345 ++++++++++++++++------------------ > arch/mips/kernel/perf_event_mipsxx.c | 4 +- > 4 files changed, 171 insertions(+), 191 deletions(-) > Entire set: Acked-by: David Daney I am basing my modifications for Octeon perf counters on this set. David Daney