Backport In-Memory Collection Counters (IMC) trace-mode patches

Bug #1854071 reported by bugproxy on 2019-11-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
High
Canonical Kernel Team
linux (Ubuntu)
High
Manoj Iyer
Disco
High
Manoj Iyer

Bug Description

== Comment: #0 - Murilo Opsfelder Araujo - 2019-11-08 06:30:06 ==
---Problem Description---
The following patches may be wanted in >= Bionic kernels:

1. powerpc/include: Add data structures and macros for IMC trace mode
    https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=d1720adff3783a2ba7c128e304a385d18962835b

2. powerpc/perf: Rearrange setting of ldbar for thread-imc
    https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=dd50cf7cbc7bdd86483b797ac3d27b37d5aeeaa4

3. powerpc/perf: Add privileged access check for thread_imc
    https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=216c3087a346db8d7c8a064d2b8f0f49e4694934

4. powerpc/perf: Trace imc events detection and cpuhotplug
    https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=72c69dcddce103338de558c5c6e9ef9e4f607ce1

5. powerpc/perf: Trace imc PMU functions
    https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=012ae244845f19d5f6ca2a90426851bc5044a0dc

Patch #3 addresses a security issue.

---uname output---
na

Machine Type = na

---Debugger---
A debugger is not configured

Stack trace output:
 no

Oops output:
 no

System Dump Info:
  The system is not configured to capture a system dump.

== Comment: #12 - Murilo Opsfelder Araujo - 2019-11-22 07:41:20 ==
Please mirror to Canonical to backporting this single patch for >= Bionic kernels (or for which kernels they find appropriate):

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=216c3087a346db8d7c8a064d2b8f0f49e4694934

commit 216c3087a346db8d7c8a064d2b8f0f49e4694934
Author: Madhavan Srinivasan <email address hidden>
Date: Tue Apr 16 15:18:29 2019 +0530

    powerpc/perf: Add privileged access check for thread_imc

bugproxy (bugproxy) on 2019-11-26
tags: added: architecture-ppc64le bugnameltc-182345 severity-high targetmilestone-inin18044
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Changed in ubuntu-power-systems:
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
importance: Undecided → High
Changed in ubuntu-power-systems:
status: New → Triaged
Manoj Iyer (manjo) on 2019-12-09
Changed in linux (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Manoj Iyer (manjo)
importance: Undecided → High
Manoj Iyer (manjo) wrote :

Since this is not a critical bug fix or regression this might not be a candidate for LTS Bionic kernel.

Changed in linux (Ubuntu Disco):
assignee: nobody → Manoj Iyer (manjo)
importance: Undecided → High
Manoj Iyer (manjo) on 2019-12-09
Changed in linux (Ubuntu Disco):
status: New → In Progress
Manoj Iyer (manjo) wrote :

IBM,

Please test the Disco kernel available in https://launchpad.net/~ubuntu-power-triage/+archive/ubuntu/lp1854071/

Also, please share following details

1. What impact does it have without these patches?
2. The testcase used, and how to run the tests.

Thanks

Changed in linux (Ubuntu Disco):
status: In Progress → Incomplete
Changed in linux (Ubuntu):
status: New → Incomplete
Manoj Iyer (manjo) on 2019-12-10
Changed in ubuntu-power-systems:
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers