mbox series

[0/5] Fix Arm system PMU hotplug issues

Message ID cover.1549299188.git.robin.murphy@arm.com (mailing list archive)
Headers show
Series Fix Arm system PMU hotplug issues | expand

Message

Robin Murphy Feb. 4, 2019, 5:09 p.m. UTC
Hi all,

Following the report of a preemption-related bug in arm-cci, it turns
out there's a fair bit of cleaning up to do in this area. I've started
here with the Arm drivers that I'm fairly familiar with - I suspect the
hisi/qcom/xgene ones suffer from similar issues, but it's going to take
me a while longer to figure them out in detail.

Robin.


Robin Murphy (5):
  perf/arm-cci: Fix CPU hotplug race avoidance
  cpu/hotplug: Export __cpuhp_state_add_instance_cpuslocked()
  perf/arm-ccn: Fix CPU hotplug race avoidance
  cpu/hotplug: Add locked variant of cpuhp_state_add_instance()
  perf/arm_dsu: Fix CPU hotplug races

 drivers/perf/arm-cci.c     | 22 ++++++++++++----------
 drivers/perf/arm-ccn.c     | 25 +++++++++++++------------
 drivers/perf/arm_dsu_pmu.c |  8 +++++---
 include/linux/cpuhotplug.h |  6 ++++++
 kernel/cpu.c               |  1 +
 5 files changed, 37 insertions(+), 25 deletions(-)

Comments

Mark Rutland Feb. 5, 2019, 9:25 a.m. UTC | #1
On Mon, Feb 04, 2019 at 05:09:03PM +0000, Robin Murphy wrote:
> Hi all,
> 
> Following the report of a preemption-related bug in arm-cci, it turns
> out there's a fair bit of cleaning up to do in this area. I've started
> here with the Arm drivers that I'm fairly familiar with - I suspect the
> hisi/qcom/xgene ones suffer from similar issues, but it's going to take
> me a while longer to figure them out in detail.
> 
> Robin.

These all looks sound to me, so FWIW:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.