]> git.baikalelectronics.ru Git - kernel.git/commit
bus: arm-ccn: Fix spurious warning message
authorPawel Moll <pawel.moll@arm.com>
Mon, 15 Sep 2014 14:33:48 +0000 (15:33 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 8 Oct 2014 19:31:14 +0000 (21:31 +0200)
commitbc4ddb5cad7a866e7a635f1a95474f1ce0ee87e7
tree23c0b97702221f298787f755ec7f6a8f3ac7b20c
parent7211742cce966917373dba7926a1cebaedc1bfd9
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>
drivers/bus/arm-ccn.c