]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-cci: Simplify CPU hotplug
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 18:51:43 +0000 (18:51 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 6 Mar 2018 16:26:24 +0000 (17:26 +0100)
commit03e33cbc65f973e9a92226b83091952e4eb635fb
tree61bae3d93516b1fc8b6e8fc181fdd43ae343beeb
parent8f6a7bc9c6169f42e91e19f87a39c89170d0501e
perf/arm-cci: Simplify CPU hotplug

Realistically, systems with multiple CCIs are unlikely to ever exist,
and since the driver only actually supports a single instance anyway
there's really no need to do the multi-instance hotplug state dance.

Take the opportunity to simplify the hotplug-related code all over,
addressing the context-migration TODO in the process for good measure.

Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/perf/arm-cci.c