On Mon, 4 Feb 2019, Robin Murphy wrote:
> /* Pick one CPU which we will use to collect data from CCN... */
> - cpumask_set_cpu(get_cpu(), &ccn->dt.cpu);
> + cpus_read_lock();
> + ccn->dt.cpu = smp_processor_id();
Again raw_smp_processor_id()
Thanks,
tglx
On 04/02/2019 17:09, Robin Murphy wrote:
Like arm-cci, arm-ccn has the same issue where disabling preemption to
avoid races between registering the PMU device and the hotplug notifier
can lead to those operations taking mutexes in an invalid context. Fix
it the same way by disabling hotplug in
Like arm-cci, arm-ccn has the same issue where disabling preemption to
avoid races between registering the PMU device and the hotplug notifier
can lead to those operations taking mutexes in an invalid context. Fix
it the same way by disabling hotplug instead of preemption. Since we
only ever associ
3 matches
Mail list logo