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)
commitfa637bf0595ee1796d728a0d33b6b7fff12e1f3d
tree23c0b97702221f298787f755ec7f6a8f3ac7b20c
parent741c798a0229c9523c1f68bc8c83a79fefad4333
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