• Pawel Moll's avatar
    bus: arm-ccn: Fix PMU handling of MN · 23d6ad91
    Pawel Moll authored
    commit 4e486cba upstream.
    
    The "Miscellaneous Node" fell through cracks of node initialisation,
    as its ID is shared with HN-I.
    
    This patch treats MN as a special case (which it is), adding separate
    validation check for it and pre-defining the node ID in relevant events
    descriptions. That way one can simply run:
    
    	# perf stat -a -e ccn/mn_ecbarrier/ <workload>
    
    Additionally, direction in the MN pseudo-events XP watchpoint
    definitions is corrected to be "TX" (1) as they are defined from the
    crosspoint point of view (thus barriers are transmitted from XP to MN).
    Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    23d6ad91
arm-ccn.c 45.4 KB