Revert "drivers/perf: arm_pmu: Set readable_on_cpus for the perf event core"

This reverts commit b3168e753a14df944f662443d7cfeddaf3024c1a.

This is incorrect because it breaks the affinity of per-CPU perf events.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Sultan Alsawaf 2022-05-09 23:04:19 -07:00 committed by azrim
parent 5842733823
commit c2093dcd06
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C

View File

@ -424,7 +424,6 @@ __hw_perf_event_init(struct perf_event *event)
return -EINVAL;
}
cpumask_copy(&event->readable_on_cpus, &armpmu->supported_cpus);
return 0;
}