]> 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)
commit2f166e8ddbda0e5774386d09c82fc77b11f83137
tree23c0b97702221f298787f755ec7f6a8f3ac7b20c
parent746d6694f0ce2c04d3dd345c6735216e2c962915
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