OSDN Git Service

bus: arm-ccn: Correct required arguments for XP PMU events
authorPawel Moll <pawel.moll@arm.com>
Thu, 11 Aug 2016 10:56:28 +0000 (11:56 +0100)
committerPawel Moll <pawel.moll@arm.com>
Wed, 17 Aug 2016 10:42:40 +0000 (11:42 +0100)
commit90d11e267a32a25d2cb69127174a96b9e518395e
tree11c5a5a5f59f49e109a19acc5866213878a17991
parentb928466b2169e061822daad48ecf55b005445547
bus: arm-ccn: Correct required arguments for XP PMU events

XP can provide events from two sources: watchpoints, observing traffic
on device ports and PMU looking at internal buses.

Unfortunately the sysfs definition of the PMU events was requiring
port number (instead of bus number) and direction (the buses are
unidirectional), as these fields were shared with the watchpoint event.

Although it does not introduce a major problem (port can be used as
bus alias and direction is simply ignored for XP PMU events), it's
better to fix it now, before external tools start depending on this
behaviour.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Documentation/arm/CCN.txt
drivers/bus/arm-ccn.c