From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754692AbcCTTA6 (ORCPT ); Sun, 20 Mar 2016 15:00:58 -0400 Received: from www.linutronix.de ([62.245.132.108]:41415 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752738AbcCTTAd (ORCPT ); Sun, 20 Mar 2016 15:00:33 -0400 Message-Id: <20160320185527.763205536@linutronix.de> User-Agent: quilt/0.63-1 Date: Sun, 20 Mar 2016 18:59:01 -0000 From: Thomas Gleixner To: LKML Cc: Peter Zijlstra , x86@kernel.org, Stephane Eranian , Borislav Petkov , Kan Liang Subject: [patch 0/4] x86/perf/intel/cstate: Fix cpu hotplug handling and make it modular X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The perf cstate driver is yet another trainwreck vs. cpu hotplug handling. The hotplug code is not only disfunctional, it's also a uncomprehensible mess. The following series fixes the hotplug functionality, sanitizes error handling and makes the driver modular. It depends on Kans modularization support for the uncore and rapl drivers: http://lkml.kernel.org/r/1458462817-2475-1-git-send-email-kan.liang@intel.com http://lkml.kernel.org/r/1458462817-2475-2-git-send-email-kan.liang@intel.com as it uses Kconfig and Makefile which get introduced by those patches. Thanks, tglx --- Kconfig.perf | 8 events/intel/Makefile | 4 events/intel/cstate.c | 536 +++++++++++++++++++++++--------------------------- 3 files changed, 258 insertions(+), 290 deletions(-)