arch-arm: Only increment SW PMU counters on writes to PMSWINC
arch-arm: Only increment SW PMU counters on writes to PMSWINC

When writing a bitmask of counters to PMSWINC, the PMU currently
increments the corresponding counters regardless of what they are
configured to count. According to the ARM ARM (D5.10.4), counters
should only be updated if they have been configured to count
software events (event type 0).

Change-Id: I5b2bc1fae55faa342b863721c9838342442831a9
Reviewed-by: Andreas Sandberg <c9f5686ee5bd561c93f9de79681eee75bfa7f36e@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4285
Reviewed-by: Jason Lowe-Power <68c46a606457643eab92053c1c05574abb26f861@lowepower.com>
Maintainer: Andreas Sandberg <c9f5686ee5bd561c93f9de79681eee75bfa7f36e@arm.com>

gem5/gem5,gem5/gem5,gem5/gem5,sobercoder/gem5,gem5/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,TUD-OS/gem5-dtu,gem5/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,gem5/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,TUD-OS/gem5-dtu,gem5/gem5