[Top] [All Lists]

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

Subject: [PATCH v4 0/5] MIPS/Perf-events: Sync with mainline upper layer (v4)
From: Deng-Cheng Zhu <>
Date: Fri, 21 Jan 2011 16:19:16 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=/tRAMJoBNJzJM/j1Cop9gbkb6cyy0DcZyYnqv3drAqA=; b=d1Ogxz4ceURnn12sDYzCdssyJmhGiGNDBLDiEG+B25q1DIrKauhtKGjMKLfcYMBeTu PsB0cueTpDgn3wxD7Ym7jZaaeki4d44YqiGSiq37340fvs246HhtpCOl/D72I1I7QWU0 agFbhnXTGEA0DiLve+PFkG/CkQWDEt3aPNmh8=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mqNJ8bqsns/XC9ktgozVw6ysiAsKS3mC76wmdI96fMYxT+7eR58dYrn15DxTIV+mj3 qoBT2RCdKqAU+J8Dw5vx2TflyzRDHNChuZjSUYmrpOmHjV9L1h4QJUHJecE+iIMpuLhC k6ifQhUcf6181ELJ3kAeU4+vqXL+mUKDBWYGk=
Original-recipient: rfc822;
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.

v4 - v3:
o Rebase this patch set to have early_initcall instead of arch_initcall for
o Change the arguments of perf_pmu_register() in Patch #2.
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(-)

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