fa637bf0595ee1796d728a0d33b6b7fff12e1f3d |
|
15-Sep-2014 |
Pawel Moll <pawel.moll@arm.com> |
bus: arm-ccn: Fix spurious warning message Because CCN's cycle counter always runs, it will generate an interrupt on overflow even if the relevant perf event was not requested, causing a spurious warning message. Fixed now by warning on only normal counter unwanted overflows. Also cleaning the overflow mask at init now, not to warn on event previously requested by firmware. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
8fb22264350d99793a12867f4e2a43e50150f778 |
|
02-Sep-2014 |
Pawel Moll <mail@pawelmoll.com> |
bus: arm-ccn: Move event cleanup routine The function cleaning up an initialized event was called from the "event_del" handler, instead of being used as the "destroy" callback. In case of events group allocation this caused NULL pointer dereference (as events are added and deleted multiple times then). Fixed now. Signed-off-by: Pawel Moll <mail@pawelmoll.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
|
bf87bb12bd7062bf577163f3f6d765debbae6200 |
|
18-Aug-2014 |
Pawel Moll <pawel.moll@arm.com> |
bus: arm-ccn: Fix warning message A message warning a user about wrong vc value was printing out port instead. Reported-by: Drew Richardson <drew.richardson@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
|
3e528cb7bae00ba0d73def6645d0f2fa906ee3e8 |
|
31-Jul-2014 |
Pawel Moll <pawel.moll@arm.com> |
bus: arm-ccn: Fix error handling at event allocation The bitfield allocation function returns error condition as a negative value, but in two cases its result was assigned to an unsigned member of the hw_perf_event structure, thus the error would not be ever detected. Fixed by using an intermediate, signed variable. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
|
a33b0daab73a0e08cc04459dd44b0121a8e8f81b |
|
22-Jul-2014 |
Pawel Moll <pawel.moll@arm.com> |
bus: ARM CCN PMU driver Driver providing perf backend for ARM Cache Coherent Network interconnect. Supports counting all hardware events and crosspoint watchpoints. Currently works with CCN-504 only, although there should be no changes required for CCN-508 (just impossible to test it now). Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|