diff options
| author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2019-11-18 09:14:52 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 19:56:24 +0100 |
| commit | 69fb7f4e86be62de3cdc714bc94dd0eb131dae47 (patch) | |
| tree | d9197088d680c77d56fe38d1363c9ffa1553d74b /drivers/hwtracing | |
| parent | 5f7bca3f2a467a831e0f482f509ae0d2300e914e (diff) | |
| download | linux-69fb7f4e86be62de3cdc714bc94dd0eb131dae47.tar.gz linux-69fb7f4e86be62de3cdc714bc94dd0eb131dae47.tar.bz2 linux-69fb7f4e86be62de3cdc714bc94dd0eb131dae47.zip | |
powerpc/perf: Disable trace_imc pmu
commit 249fad734a25889a4f23ed014d43634af6798063 upstream.
When a root user or a user with CAP_SYS_ADMIN privilege uses any
trace_imc performance monitoring unit events, to monitor application
or KVM threads, it may result in a checkstop (System crash).
The cause is frequent switching of the "trace/accumulation" mode of
the In-Memory Collection hardware (LDBAR).
This patch disables the trace_imc PMU unit entirely to avoid
triggering the checkstop. A future patch will reenable it at a later
stage once a workaround has been developed.
Fixes: 012ae244845f ("powerpc/perf: Trace imc PMU functions")
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Tested-by: Hariharan T.S. <hari@linux.ibm.com>
[mpe: Add pr_info_once() so dmesg shows the PMU has been disabled]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191118034452.9939-1-maddy@linux.vnet.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions
