** Also affects: linux (Ubuntu Zesty)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu Zesty)
Status: New => In Progress
** Changed in: linux (Ubuntu)
Status: New => In Progress
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Zesty)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Zesty)
Assignee: (unassigned) => Joseph Salisbury (jsalisbury)
** Changed in: linux (Ubuntu)
Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) =>
Joseph Salisbury (jsalisbury)
** Changed in: linux (Ubuntu)
Importance: Medium => High
** Changed in: linux (Ubuntu Zesty)
Importance: Medium => High
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1709964
Title:
Ubuntu 16.04.03: perf tool does not count pm_run_inst_cmpl with rcode
on POWER9 DD2.0
Status in The Ubuntu-power-systems project:
New
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Zesty:
In Progress
Bug description:
---Problem Description---
Unable to count pm_run_inst_cmpl using perf tool on boston dd2.0
root@isvbos3:~# perf stat -e r500fa,r600f4 -a sleep 1
Performance counter stats for 'system wide':
<not supported> r500fa
8,162,912 r600f4
1.001562716 seconds time elapsed
---uname output---
Linux isvbos3 4.10.0-29-generic #33~16.04.1-Ubuntu SMP Tue Jul 25 18:17:06
UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = p9 dd2.0
---Steps to Reproduce---
root@isvbos3:~# perf stat -e r500fa,r600f4 -a sleep 1
Performance counter stats for 'system wide':
<not supported> r500fa
8,162,912 r600f4
1.001562716 seconds time elapsed
> Also we need this upstream fix 8c218578fcbbbdb10416c8614658bf32e3bf1655 in
> the distro.
$ git log 8c218578fcbbbdb10416c8614658 -1
commit 8c218578fcbbbdb10416c8614658bf32e3bf1655
Author: Madhavan Srinivasan <[email protected]>
Date: Fri May 26 13:38:27 2017 +0530
powerpc/perf: Fix Power9 test_adder fields
Commit 8d911904f3ce4 ('powerpc/perf: Add restrictions to PMC5 in power9
DD1')
was added to restrict the use of PMC5 in Power9 DD1. Intention was to
disable
the use of PMC5 using raw event code. But instead of updating the
power9_isa207_pmu structure (used on DD1), the commit incorrectly updated
the
power9_pmu structure. Fix it.
Fixes: 8d911904f3ce ("powerpc/perf: Add restrictions to PMC5 in power9
DD1")
Reported-by: Shriya <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Tested-by: Shriya <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
$ git describe --contains 8c218578fcbbbdb
v4.12-rc7~9^2~13
$
Commit 8c218578fc is available with kernel 4.12-rc7 afterwards.
I don't see this fix in the Ubuntu 16.04.3 Zesty tree (the P9 hwe
kernel, 4.10 based).
Need to mirror to Canonical to request they pull in:
8c218578fcbbbdb10416c8614658bf32e3bf1655
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1709964/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp