mbox

[PULL,SRU,Zesty,Artful] PMU support for ACPI-based arm64 servers

Message ID CALdTtnuOw6eM5zw3ue5JxriR-pgtMpdYYN82-CHgG9hb=0+owg@mail.gmail.com
State New
Headers show

Pull-request

git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux arm64-acpi-pmu

Message

dann frazier May 10, 2017, 4:59 p.m. UTC
This adds ACPI support for arm64 PMUs:
  BugLink: http://bugs.launchpad.net/bugs/1689661

And also adds a new driver for L3 cache PMU events on Falkor based
systems, which depends on the above:
  BugLink: http://bugs.launchpad.net/bugs/1689856

All are clean cherry-picks. See the above bugs for more info (testing
performed, etc).


The following changes since commit 7a795d701e5e544d4fbfac0bd8a95b9be8989558:

  Linux 4.10.15 (2017-05-08 15:47:08 +0200)

are available in the git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux arm64-acpi-pmu

for you to fetch changes up to 62753cfe503c38c6fd402a9bb0103d5900791a8b:

  perf: qcom: Add L3 cache PMU driver (2017-05-10 10:52:59 -0600)

----------------------------------------------------------------
Agustin Vega-Frias (1):
      perf: qcom: Add L3 cache PMU driver

Mark Rutland (17):
      drivers/perf: arm_pmu: rework per-cpu allocation
      drivers/perf: arm_pmu: manage interrupts per-cpu
      drivers/perf: arm_pmu: split irq request from enable
      drivers/perf: arm_pmu: remove pointless PMU disabling
      drivers/perf: arm_pmu: define armpmu_init_fn
      drivers/perf: arm_pmu: fold init into alloc
      drivers/perf: arm_pmu: factor out pmu registration
      drivers/perf: arm_pmu: simplify cpu_pmu_request_irqs()
      drivers/perf: arm_pmu: handle no platform_device
      drivers/perf: arm_pmu: rename irq request/free functions
      drivers/perf: arm_pmu: split cpu-local irq request/free
      drivers/perf: arm_pmu: move irq request/free into probe
      drivers/perf: arm_pmu: split out platform device probe logic
      arm64: add function to get a cpu's MADT GICC table
      drivers/perf: arm_pmu: add ACPI framework
      arm64: pmuv3: handle !PMUv3 when probing
      arm64: pmuv3: use arm_pmu ACPI framework

dann frazier (2):
      UBUNTU: [Config] CONFIG_ARM_PMU_ACPI=y
      UBUNTU: [Config] CONFIG_QCOM_L3_PMU=y

 Documentation/perf/qcom_l3_pmu.txt        |  25 +
 arch/arm64/include/asm/acpi.h             |   2 +
 arch/arm64/kernel/perf_event.c            | 113 ++--
 arch/arm64/kernel/smp.c                   |  10 +
 debian.master/config/config.common.ubuntu |   2 +
 drivers/perf/Kconfig                      |  14 +
 drivers/perf/Makefile                     |   4 +-
 drivers/perf/arm_pmu.c                    | 530 ++++++-------------
 drivers/perf/arm_pmu_acpi.c               | 256 +++++++++
 drivers/perf/arm_pmu_platform.c           | 235 +++++++++
 drivers/perf/qcom_l3_pmu.c                | 849 ++++++++++++++++++++++++++++++
 include/linux/cpuhotplug.h                |   2 +
 include/linux/perf/arm_pmu.h              |  29 +-
 13 files changed, 1661 insertions(+), 410 deletions(-)
 create mode 100644 Documentation/perf/qcom_l3_pmu.txt
 create mode 100644 drivers/perf/arm_pmu_acpi.c
 create mode 100644 drivers/perf/arm_pmu_platform.c
 create mode 100644 drivers/perf/qcom_l3_pmu.c

Comments

Seth Forshee May 11, 2017, 4:29 p.m. UTC | #1
On Wed, May 10, 2017 at 10:59:40AM -0600, dann frazier wrote:
> This adds ACPI support for arm64 PMUs:
>   BugLink: http://bugs.launchpad.net/bugs/1689661
> 
> And also adds a new driver for L3 cache PMU events on Falkor based
> systems, which depends on the above:
>   BugLink: http://bugs.launchpad.net/bugs/1689856
> 
> All are clean cherry-picks. See the above bugs for more info (testing
> performed, etc).
> 
> 
> The following changes since commit 7a795d701e5e544d4fbfac0bd8a95b9be8989558:
> 
>   Linux 4.10.15 (2017-05-08 15:47:08 +0200)
> 
> are available in the git repository at:
> 
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux arm64-acpi-pmu
> 
> for you to fetch changes up to 62753cfe503c38c6fd402a9bb0103d5900791a8b:
> 
>   perf: qcom: Add L3 cache PMU driver (2017-05-10 10:52:59 -0600)

Clean cherry picks (aside from config changes), regression potential
limited to arm64. The size of the changes for arm64 is scary, but a good
amount of regression testing has been done. For zesty:

Acked-by: Seth Forshee <seth.forshee@canonical.com>

Applied to artful master-next.
Thadeu Lima de Souza Cascardo May 16, 2017, 3:20 p.m. UTC | #2
Applied to zesty master-next branch.

Thanks.
Cascardo.