[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which

[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread a
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which

[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread a
From: Suzuki K. Poulose suzuki.poul...@arm.com Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs

[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suzuki.poul...@arm.com Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs