Activity log for bug #1689661

Date Who What changed Old value New value Message
2017-05-09 21:49:09 dann frazier bug added bug
2017-05-09 21:49:24 dann frazier nominated for series Ubuntu Zesty
2017-05-09 21:49:24 dann frazier bug task added linux (Ubuntu Zesty)
2017-05-09 21:50:40 dann frazier linux (Ubuntu): assignee dann frazier (dannf)
2017-05-09 21:50:42 dann frazier linux (Ubuntu Zesty): assignee dann frazier (dannf)
2017-05-09 21:50:48 dann frazier linux (Ubuntu): status New In Progress
2017-05-09 21:50:54 dann frazier linux (Ubuntu Zesty): status New In Progress
2017-05-09 21:50:56 dann frazier linux (Ubuntu): importance Undecided High
2017-05-09 21:50:58 dann frazier linux (Ubuntu Zesty): importance Undecided High
2017-05-10 16:43:10 dann frazier description [Impact] ACPI-based arm64 systems, such as the Qualcomm QDF2400 and the Hisilicon D05, do not currently have PMU support. This means that tools like perf are unable to use the built-in hardware event counters. [Test Case] On an ACPI-based arm64 system, run the following commands: sudo perf list pmu sudo perf list hw Without ACPI PMU support, these will be empty. [Regression Risk] The changes are restricted to ARM-specific code, other than an added enum value in linux/cpuhotplug.h. This reduces the non-negligible regression risk to the ARM architecture. For ACPI-based ARM platforms, regression risk is negligible because they did not have PMU support previously. The non-perf related code is restricted to a change in arch/arm64/kernel/smp.c that saves off pointers to each CPU's MADT GICC tables. The code is populating a static array - so pretty low risk (no pointer dereferences, etc). The most significant regression risk is to ARM non-ACPI platforms. To mitigate this, we should test this backport on Cavium ThunderX and HP m400 systems. [Impact] ACPI-based arm64 systems, such as the Qualcomm QDF2400 and the Hisilicon D05, do not currently have PMU support. This means that tools like perf are unable to use the built-in hardware event counters. [Test Case] On an ACPI-based arm64 system, run the following commands: sudo perf list pmu sudo perf list hw Without ACPI PMU support, these will be empty. [Regression Risk] The changes are restricted to ARM-specific code, other than an added enum value in linux/cpuhotplug.h. This reduces the non-negligible regression risk to the ARM architecture. For ACPI-based ARM platforms, regression risk is limited because they did not have PMU support previously. However, if this code is buggy, previously working commands that just made use of non-PMU events (e.g. perf top) might start causing problems. To mitigate this, I did a perf_fuzzer run on a QDF2400 (ACPI-based) and confirmed it survived (Note: this included a workaround for LP: #1689855, which will need to be fixed separately once upstreamed). For non-ACPI-based (i.e. devicetree) ARM platforms, there is a chance that the changes have broken PMU support. To mitigate that, I also did a perf_fuzzer run on a Cavium ThunderX system booted in DT mode, which it survived. Finally, the non-perf related changes in this series are restricted to a change in arch/arm64/kernel/smp.c that saves off pointers to each CPU's MADT GICC tables. The code is populating a static array with existing data - so pretty low risk (no pointer dereferences, etc).
2017-05-16 12:10:55 Seth Forshee linux (Ubuntu): status In Progress Fix Committed
2017-05-16 15:19:23 Thadeu Lima de Souza Cascardo linux (Ubuntu Zesty): status In Progress Fix Committed
2017-05-26 02:57:33 Thadeu Lima de Souza Cascardo tags verification-needed-zesty
2017-05-26 14:58:01 dann frazier tags verification-needed-zesty verification-done-zesty
2017-06-01 20:49:51 Launchpad Janitor linux (Ubuntu): status Fix Committed Fix Released
2017-06-01 20:49:51 Launchpad Janitor cve linked 2017-0605
2017-06-01 20:49:51 Launchpad Janitor cve linked 2017-7979
2017-06-06 13:13:53 Launchpad Janitor linux (Ubuntu Zesty): status Fix Committed Fix Released