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)
commit03057f2626e955ebea88a668a6d7d699f836e5c0
tree61bae3d93516b1fc8b6e8fc181fdd43ae343beeb
parent3de6be7a3dd8934e59d85fc60a170d4ab2f0a0f2
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