From: Waldemar Rymarkiewicz Subject: [PATCH v5 0/1] Fix get sharing cpus when hotplug is used Date: Thu, 27 Jul 2017 12:01:18 +0200 Message-ID: <20170727100128.26818-2-waldemarx.rymarkiewicz@intel.com> References: <20170727100128.26818-1-waldemarx.rymarkiewicz@intel.com> Return-path: Received: from mga02.intel.com ([134.134.136.20]:42113 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751533AbdG0KBo (ORCPT ); Thu, 27 Jul 2017 06:01:44 -0400 In-Reply-To: <20170727100128.26818-1-waldemarx.rymarkiewicz@intel.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org Cc: waldemar.rymarkiewicz@gmail.com, Waldemar Rymarkiewicz , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" Hi, This patch fixes problem with setting opp shared cpus bitmask on hotplugable systems. See patch commit message for details. CHANGLOG: v5 0-day reported issue fixed v4 Added Reviewed-by: Stephen Boyd + use pr_err instead dev_err for missing opp node phandle. v3 Acked-by: Viresh Kumar added v2 Abandon v1 as it was not good enough. Still check all possible CPUs as in original code, but don't check device struct. Instead check device_node directly in DT. v1 [PATCH] PM / OPP: Don't check not plugged in CPUs to avoid error Avoid error by checking all present cpus instead possible cpus. Thanks, /Waldek Waldemar Rymarkiewicz (1): PM / OPP: Fix get sharing cpus when hotplug is used drivers/base/power/opp/of.c | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) -- 2.10.1