]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit3249bce459ff0bb7c1621b00a8e2d6afe24c53bb
tree9d06a1f8662533874eadd2a79469bf0f9d8f4a36
parent90d11e267a32a25d2cb69127174a96b9e518395e
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