Public bug reported:

[Impact]
perf support for the ARMv8.2 Statistical Profiling Extension does not work on 
ACPI platforms.

[Test Case]
ubuntu@d06-2:~$ sudo perf record -e arm_spe/ts_enable=1,pa_enable=1/ dd 
if=/dev/zero of=/dev/null count=10000
10000+0 records in
10000+0 records out
5120000 bytes (5.1 MB, 4.9 MiB) copied, 0.0201586 s, 254 MB/s
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.354 MB perf.data ]
ubuntu@d06-2:~$ sudo perf report --dump-raw-trace
[...]
0 0 0x4a90 [0x30]: PERF_RECORD_AUXTRACE size: 0x155fd0 offset: 0 ref: 0x226974
.
. ... ARM SPE data: size 1400784 bytes
. 00000000: b0 28 31 25 10 00 00 ff c0 PC 0xff00001025312
. 00000009: 99 07 00 LAT 7 ISSUE
. 0000000c: 98 09 00 LAT 9 TOT
. 0000000f: 52 16 00 EV RETIRED L1D-ACC
[...]

[Fix]
d482e575fbf0f perf: arm_spe: Enable ACPI/Platform automatic module loading
d24a0c7099b32 arm_pmu: acpi: spe: Add initial MADT/SPE probing
56855a99f3d0d ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens
ed2b664fcc807 ACPI/PPTT: Modify node flag detection to find last IDENTICAL

[Regression Risk]


[Regression Risk]

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: dann frazier (dannf)
         Status: In Progress

** Affects: linux (Ubuntu Disco)
     Importance: Undecided
     Assignee: dann frazier (dannf)
         Status: In Progress

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Disco)
       Status: New => In Progress

** Changed in: linux (Ubuntu Disco)
     Assignee: (unassigned) => dann frazier (dannf)

-- 
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/1841490

Title:
  ACPI support for the ARMv8.2 Statistical Profiling Extension

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Disco:
  In Progress

Bug description:
  [Impact]
  perf support for the ARMv8.2 Statistical Profiling Extension does not work on 
ACPI platforms.

  [Test Case]
  ubuntu@d06-2:~$ sudo perf record -e arm_spe/ts_enable=1,pa_enable=1/ dd 
if=/dev/zero of=/dev/null count=10000
  10000+0 records in
  10000+0 records out
  5120000 bytes (5.1 MB, 4.9 MiB) copied, 0.0201586 s, 254 MB/s
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 1.354 MB perf.data ]
  ubuntu@d06-2:~$ sudo perf report --dump-raw-trace
  [...]
  0 0 0x4a90 [0x30]: PERF_RECORD_AUXTRACE size: 0x155fd0 offset: 0 ref: 0x226974
  .
  . ... ARM SPE data: size 1400784 bytes
  . 00000000: b0 28 31 25 10 00 00 ff c0 PC 0xff00001025312
  . 00000009: 99 07 00 LAT 7 ISSUE
  . 0000000c: 98 09 00 LAT 9 TOT
  . 0000000f: 52 16 00 EV RETIRED L1D-ACC
  [...]

  [Fix]
  d482e575fbf0f perf: arm_spe: Enable ACPI/Platform automatic module loading
  d24a0c7099b32 arm_pmu: acpi: spe: Add initial MADT/SPE probing
  56855a99f3d0d ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens
  ed2b664fcc807 ACPI/PPTT: Modify node flag detection to find last IDENTICAL

  [Regression Risk]

  
  [Regression Risk]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1841490/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to