]> git.baikalelectronics.ru Git - kernel.git/commit
bus: arm-ccn: Add missing event attribute exclusions for host/guest
authorPawel Moll <pawel.moll@arm.com>
Thu, 11 Aug 2016 11:00:36 +0000 (12:00 +0100)
committerPawel Moll <pawel.moll@arm.com>
Wed, 17 Aug 2016 10:42:46 +0000 (11:42 +0100)
commit940a083e1c797b41431bf39a0f7a411c15321f25
tree9d06a1f8662533874eadd2a79469bf0f9d8f4a36
parent4d66de984074b9424b15de595331357e32e09663
bus: arm-ccn: Add missing event attribute exclusions for host/guest

CCN PMUs have no knowledge into VM-related origins of the memory
traffic, therefore can't handle requests for host-only or guest-only
events.

Added appropriate exclusions (they should have been there from the
beginning). This required changing the error code returned, as the
userspace tool only re-negotiates the options (exclude_guest is true by
default) only for EINVAL.

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