Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758274AbcLOOod (ORCPT ); Thu, 15 Dec 2016 09:44:33 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:44925 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755300AbcLOOoa (ORCPT ); Thu, 15 Dec 2016 09:44:30 -0500 From: Boris Ostrovsky To: tglx@linutronix.de, bigeasy@linutronix.de, rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, Boris Ostrovsky Subject: [PATCH 0/2] __cpuhp_setup_state() returns positive value for dynamic state Date: Thu, 15 Dec 2016 10:00:56 -0500 Message-Id: <1481814058-4799-1-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.7.1 X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 15 The first patch corrects description of __cpuhp_setup_state()'s possible return values and the second fixes a bug (which causes Xen guests to crash). As a follow-up question for the first patch --- should we allow calling __cpuhp_setup_state() with state in [CPUHP_AP_ONLINE_DYN + 1 .. CPUHP_AP_ONLINE_DYN_END] range? Boris Ostrovsky (2): cpu/hotplug: Clarify description of __cpuhp_setup_state() return value cpufreq: Remove cpu hotplug callbacks only if they were initialized drivers/cpufreq/acpi-cpufreq.c | 2 +- kernel/cpu.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-)