diff options
| author | Hauke Mehrtens <[email protected]> | 2015-10-28 23:37:30 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2015-11-11 08:37:00 +0100 |
| commit | cab7b8363ce5413a69817a2275cf12efa0001334 (patch) | |
| tree | 3237ced4f26741763bb6766ecbd19538488cf156 /tools/perf/scripts/python | |
| parent | d8cfb5037bfc875e6dc8e09e4caceb443c04ff6a (diff) | |
MIPS: Lantiq: Add locking for PMU register and check status afterwards
The PMU register are accessed in a non atomic way and they could be
accessed by different threads simultaneously, which could cause
problems this patch adds locking around the PMU registers. In
addition we now also wait till the PMU is actually deactivated.
[[email protected]: Fix spelling mistake in commit message as noticed
by Sergei Shtylyov <[email protected]>.]
Signed-off-by: Hauke Mehrtens <[email protected]>
Acked-by: John Crispin <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/11381/
Patchwork: https://patchwork.linux-mips.org/patch/11396/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions