Re: [PATCH 5/5] perf/arm_dsu: Fix CPU hotplug races

2019-02-05 Thread Robin Murphy
Hi Suzuki, On 05/02/2019 11:40, Suzuki K Poulose wrote: On 04/02/2019 17:09, Robin Murphy wrote: Like other system PMUs which associate themselves with an arbitrary CPU for housekeeping purposes, arm_dsu has a race between registering the hotplug notifier and registering the PMU device, such th

Re: [PATCH 5/5] perf/arm_dsu: Fix CPU hotplug races

2019-02-05 Thread Suzuki K Poulose
On 04/02/2019 17:09, Robin Murphy wrote: Like other system PMUs which associate themselves with an arbitrary CPU for housekeeping purposes, arm_dsu has a race between registering the hotplug notifier and registering the PMU device, such that the hotplug niotifier can potentially fire and attem

[PATCH 5/5] perf/arm_dsu: Fix CPU hotplug races

2019-02-04 Thread Robin Murphy
Like other system PMUs which associate themselves with an arbitrary CPU for housekeeping purposes, arm_dsu has a race between registering the hotplug notifier and registering the PMU device, such that the hotplug niotifier can potentially fire and attempt to migrate the PMU context before the latte