Skip to contentSkip to conversation

ARM: Add Scorpion/ScorpionMP support to perf and Oprofile

PATCH Superseded Sheetal Sahasrabudhe 3 participants 4 messages Mar 4, 2011 – Mar 7, 2011 Arm Qualcomm mailing list

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM: Add Scorpion/ScorpionMP support to perf and Oprofile

This patchset contains the following features:
It adds support for Qualcomm Scorpion and ScorpionMP processors to perfevents and Oprofile.
It adds PMU support for Scorpion and ScorpionMP.
It also updates PMU IRQ identifiers for various Scorpion and ScorpionMP targets.

Sheetal Sahasrabudhe (3):
msm: Add support for Scorpion and ScorpionMP PMU [ARM] perfevents: Add support for Scorpion performance monitors [ARM] Oprofile: Add Qualcomm Scorpion and ScorpionMP CPU type

 arch/arm/include/asm/perf_event.h          |    2 +
 arch/arm/kernel/perf_event.c               |   11 +
 arch/arm/kernel/perf_event_qc.c            |  677 ++++++++++++++++++++++++++++
 arch/arm/mach-msm/Makefile                 |    2 +
 arch/arm/mach-msm/include/mach/irqs-7x30.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8960.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8x50.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8x60.h |    2 +-
 arch/arm/mach-msm/pmu.c                    |   36 ++
 arch/arm/oprofile/common.c                 |    4 +
 10 files changed, 736 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/kernel/perf_event_qc.c
 create mode 100644 arch/arm/mach-msm/pmu.c
Signature · 5 lines
1.7.4.1

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum
#1 lore raw
Quoted 11 lines · Sheetal Sahasrabudhe

This patchset contains the following features:
It adds support for Qualcomm Scorpion and ScorpionMP processors to perfevents and Oprofile.
It adds PMU support for Scorpion and ScorpionMP.
It also updates PMU IRQ identifiers for various Scorpion and ScorpionMP targets.

Sheetal Sahasrabudhe (3):
msm: Add support for Scorpion and ScorpionMP PMU [ARM] perfevents: Add support for Scorpion performance monitors [ARM] Oprofile: Add Qualcomm Scorpion and ScorpionMP CPU type

Quoted 14 lines
 arch/arm/include/asm/perf_event.h          |    2 +
 arch/arm/kernel/perf_event.c               |   11 +
 arch/arm/kernel/perf_event_qc.c            |  677 ++++++++++++++++++++++++++++
 arch/arm/mach-msm/Makefile                 |    2 +
 arch/arm/mach-msm/include/mach/irqs-7x30.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8960.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8x50.h |    2 +-
 arch/arm/mach-msm/include/mach/irqs-8x60.h |    2 +-
 arch/arm/mach-msm/pmu.c                    |   36 ++
 arch/arm/oprofile/common.c                 |    4 +
 10 files changed, 736 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/kernel/perf_event_qc.c
 create mode 100644 arch/arm/mach-msm/pmu.c

Some minor comments from a quick review:
- you're using multi-line commenting style for single line comments
- see Documentation/CodingStyle, Chapter 8, for preferred multi-line commenting style
- 'mv perf_event_qc.c perf_event_msm.c'?

- Bryan

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw

Hi Bryan,

Quoted 4 lines

Some minor comments from a quick review:
- you're using multi-line commenting style for single line comments
- see Documentation/CodingStyle, Chapter 8, for preferred multi-line commenting style

I will fix the commenting style wherever needed.

Quoted 1 line

- 'mv perf_event_qc.c perf_event_msm.c'?

That's fine with me.

Thanks,
Sheetal

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Reviewed-by on the v1 series
#3 lore raw
In reply to Sheetal Sahasrabudhe

Hi,

Quoted 21 lines · Sheetal Sahasrabudhe

This patchset contains the following features:
It adds support for Qualcomm Scorpion and ScorpionMP processors to perfevents and Oprofile.
It adds PMU support for Scorpion and ScorpionMP.
It also updates PMU IRQ identifiers for various Scorpion and ScorpionMP targets.

Sheetal Sahasrabudhe (3):
?msm: Add support for Scorpion and ScorpionMP PMU ?[ARM] perfevents: Add support for Scorpion performance monitors ?[ARM] Oprofile: Add Qualcomm Scorpion and ScorpionMP CPU type

?arch/arm/include/asm/perf_event.h ? ? ? ? ?| ? ?2 +
?arch/arm/kernel/perf_event.c ? ? ? ? ? ? ? | ? 11 +
?arch/arm/kernel/perf_event_qc.c ? ? ? ? ? ?| ?677 ++++++++++++++++++++++++++++
?arch/arm/mach-msm/Makefile ? ? ? ? ? ? ? ? | ? ?2 +
?arch/arm/mach-msm/include/mach/irqs-7x30.h | ? ?2 +-
?arch/arm/mach-msm/include/mach/irqs-8960.h | ? ?2 +-
?arch/arm/mach-msm/include/mach/irqs-8x50.h | ? ?2 +-
?arch/arm/mach-msm/include/mach/irqs-8x60.h | ? ?2 +-
?arch/arm/mach-msm/pmu.c ? ? ? ? ? ? ? ? ? ?| ? 36 ++
?arch/arm/oprofile/common.c ? ? ? ? ? ? ? ? | ? ?4 +
Quoted 4 lines

?10 files changed, 736 insertions(+), 4 deletions(-) ?create mode 100644 arch/arm/kernel/perf_event_qc.c ?create mode 100644 arch/arm/mach-msm/pmu.c

I cannot test on the actual HW so here is the review ack:

Thanks,
Jean

Quoted 8 lines

--
1.7.4.1

--
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum