]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-ccn: Clean up CPU hotplug handling
authorRobin Murphy <robin.murphy@arm.com>
Tue, 16 Apr 2019 15:24:25 +0000 (16:24 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 23 Apr 2019 11:29:37 +0000 (12:29 +0100)
commitdcc3a1e252c8aa56001212d463d6887fd73684e3
tree296a14430067d951ca84e92cf9c8b254a62d3d68
parent57a9eb06ef1d0e169cfc406699a26df6d7402f37
perf/arm-ccn: Clean up CPU hotplug handling

Like arm-cci, arm-ccn has the same issue of disabling preemption around
operations which can take mutexes. Again, remove the definite bug by
simply not trying to fight the theoretical races. And since we are
touching the hotplug handling code, take the opportunity to streamline
it, as there's really no need to store a full-sized cpumask to keep
track of a single CPU ID.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm-ccn.c