Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4055862ima; Mon, 4 Feb 2019 09:27:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IZkuzcsqoLzMqdqwAavNhklc7ddSvfgnnCF1rAT9leOfS5POHKBVErOdopCtyc5lZfCmWpP X-Received: by 2002:a63:9d0f:: with SMTP id i15mr410318pgd.77.1549301227097; Mon, 04 Feb 2019 09:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549301227; cv=none; d=google.com; s=arc-20160816; b=aJO2bThHL5kCQPFvpGpTGsgVWGmJibP6hAEYf/rcXpuF3gE+WT2WKK/kyVLE5rGHT/ WXEz+NoIA1ncbNoeU7cDgDcG97YuNQyRZPPVfA3S5l7raazvoK20MAczdA7o5f5rwDps B45uQjAVAO0OKUxsE2D3PO8fAOmaI+d061pcRYnZyDvjk+0YGPBUzdQ/tN4RUP9cRAOR YQiCJTtP554jc97KqQRqJ58M9DDr6myE0/EW+yve4Ck3j9XzDOPHwwfc7pXb8x0AwOqY KiDBVaGjGj45Op79QAp/cPVVwnvHB1qsGDtMynNMO5XE58TLFtrcit+BVfFU3F3q+d94 EGfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=qX/wM/+xWG/sSOivwmczcfpsGmXuBJsuQzLZnc/xdYY=; b=1IL9Y2h3v7GLjJTCvcXUYuizJua18nK/Hh87TD0GEPkx9XPGma5Y1pEWtKDP3NtKF+ GddtihPMIRRYP2ghAn1opWUSmgPUdGV9Zb+AliEOrFzyeLNxzE3DEzmFhunD4m1sUFZq SR+yW1LHRCBk84VotxUEtyqehdoowsNDs0aH7hi7kjti+FT5MELVw1xutMyf6oSetP5X t8XSXLR7QSUe1jPMHe1PpbiklqlFXU7ihnh7rsA88S1jjvG1jpjEotWFlT9C/D1lvh+6 ooND1ScvbWdJtr7gMX6Z8K0X6I7aiX31clKANm+s79HeqZmx+BiwJOB4D7a4rjgL1KO6 aooA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si458249pls.338.2019.02.04.09.26.51; Mon, 04 Feb 2019 09:27:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730391AbfBDRJi (ORCPT + 99 others); Mon, 4 Feb 2019 12:09:38 -0500 Received: from foss.arm.com ([217.140.101.70]:58642 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbfBDRJi (ORCPT ); Mon, 4 Feb 2019 12:09:38 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C383EEBD; Mon, 4 Feb 2019 09:09:37 -0800 (PST) Received: from e110467-lin.cambridge.arm.com (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 414C73F589; Mon, 4 Feb 2019 09:09:36 -0800 (PST) From: Robin Murphy To: will.deacon@arm.com, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, peterz@infradead.org, tglx@linutronix.de, bigeasy@linutronix.de Subject: [PATCH 0/5] Fix Arm system PMU hotplug issues Date: Mon, 4 Feb 2019 17:09:03 +0000 Message-Id: X-Mailer: git-send-email 2.20.1.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.20.1.dirty