linux-mips
[Top] [All Lists]

[PATCH v2 0/5] MIPS/Perf-events: Sync with mainline upper layer (v2)

To: ralf@linux-mips.org, a.p.zijlstra@chello.nl, fweisbec@gmail.com, will.deacon@arm.com
Subject: [PATCH v2 0/5] MIPS/Perf-events: Sync with mainline upper layer (v2)
From: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Date: Fri, 26 Nov 2010 11:05:02 +0800
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, wuzhangjin@gmail.com, paulus@samba.org, mingo@elte.hu, acme@redhat.com, dengcheng.zhu@gmail.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=cx4KKLGrT2eiFfZ8fIFGNhFp+cat4h871ytX4jWYy+Q=; b=V8ubIAn2jkxAmu9S5kDDOOY5W6WgjQvj625riYmrt1J1pdE/kER11kFgB9H2Aw5q2w SKtMokkL9rVvbwrjdYPOyCpxxkrUmmUZD1/gexKfRLVys0tbAwhm2JVlcu4kDqff1R08 ZxOcqNp4GhAq6vDKJJHz7GAaF/I6LhrJInJQs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=QDFtyoqyJwQplEVYNcCU4ymRnE7BcqHOZ0aidgisuFlzSUovjs5y5ZoYrMoxNUIAy8 Ddb7/0h1Lv1PO3p8AlP84jAO8WjP0o/47i/RUqkVEZgynsk1NkiZyNkf4HczYJhdHZfE Yl2/7YVidCFQAiyWHbPSUfmXpCe0rl0aHUrl8=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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:
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(-)


<Prev in Thread] Current Thread [Next in Thread>