From patchwork Tue May 22 11:34:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136533 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1501180lji; Tue, 22 May 2018 04:34:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpYzBW5x4eY7lsBGG8W6xuCdl2TtTCETV8GZgf5HxvIK9QkBOecMh8nJe1nvgZuaQAmQWs2 X-Received: by 2002:a62:d286:: with SMTP id c128-v6mr23998158pfg.240.1526988860708; Tue, 22 May 2018 04:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526988860; cv=none; d=google.com; s=arc-20160816; b=pmJfMCiqBPcJCEenEcXJqA+nk+chCwvCnxTyuv2EddnMGA6yZ8LF+wVCesPwVYt91F HvAoClHf7PhjW+tHVlRq8b5IQCH6c2bqr1VdOaXU5wLkvoD5i3GzIB1wc0zkLpG4qpuW aCZhFg4QqS9KdD0yUGkZuAwgl7aavFjXPK8KL9ijCzlR+bhWRqdsKaphWW8oaZTENUiY 446aiFSp2Y8Oup9lll1zzECGGPR6+kBbcB5FLBNBp6x/cBySG2vzpAkzX9WHsXMYfaVT 6REE72PFNTR4xIvKehsL2EX4QPiXi6Yd2+yY3Wx4+knzFjVPWCtkW+Sll1/fYAMtEBFk xqOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=dUwILAH28vrc/xxYV+/j0Y6B5k9fLabGG8s1pI+xmGc=; b=Xr/rFLkPDh7+rhpthANZgkK6mALlkwfUj4dxyOM5E5qmL0IpyvcsxTIpSJcpfz6wvR N0L3Czq8w32sinxBTrm/4tR+b043aAwd6T2/CwbTutaQ9Pau5bv4bdw3yb4VAJlrgVFZ evav+LOeBdM/Mc9/8EF9Bq9nK8Yous8RG0fkmzy74KgJIpF253odDytV8v3shGaY/a4E NfZTOqEFkXNz0sJRFykiB4aZeMsswiGMZNGIP3Nzf6W5t+R4KhEjnX21K2NiYCO2b9uz 2SZjNgwDzjsU8re44wIb0HcMDj33LfiTkUp8m4iqnEdMmJOf6HOpqgfvBIDKPB+kvkDm UY1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jPKQN43J; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si16083025pfe.158.2018.05.22.04.34.20; Tue, 22 May 2018 04:34:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jPKQN43J; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbeEVLeS (ORCPT + 10 others); Tue, 22 May 2018 07:34:18 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35587 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752986AbeEVLeN (ORCPT ); Tue, 22 May 2018 07:34:13 -0400 Received: by mail-pf0-f194.google.com with SMTP id x9-v6so8648466pfm.2 for ; Tue, 22 May 2018 04:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dUwILAH28vrc/xxYV+/j0Y6B5k9fLabGG8s1pI+xmGc=; b=jPKQN43J6wReo0QRlKY4pnu8YMKIY5A3SsFw+fLKvKRH87lLQiaQAwMtTJQrvPXZHC t/dE+2x+VKeWhfKb5vhVLrvmLVD7mbK2xScTmx8uq57d1qzTXy/8ArKOBH5sPJLmgnyc NWdqGeBGHI940YkkY347x+Fa20NYBvgM7WtgI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dUwILAH28vrc/xxYV+/j0Y6B5k9fLabGG8s1pI+xmGc=; b=N40g3pjHbYfx8SVRxRQwJJjyGrTU0N7LfS4mnE8b8mtk/jL/7IxCk2nIx9czqzg8zV yVISYK4TZTYngqLEhkC08Ja7IoM4wpkKh0ShC3OMWdlqPkd99ELgCR3sfM7V2ucxHBA+ 4Cdkdp563AR09S9eybab/7p3VpJ3nHL+Ix9ttBjW+Vsx2OZVpMOJgqpgxusXATJY/Pzq 72Hbs7xj+VGgKNtt1n3wNjvAQOwF/ntiLuYecVL6Vr46zHghAALHGoudlNx6ZaT5WIzq 9dmtEDEQU87Exjwroka5rKAmux+7nluoZ9E+ysiqaZOnjJtetQx6M+eL+tumUf1b2rYJ /nVw== X-Gm-Message-State: ALKqPwfrJZU+4GPAtd4sDDRiH7v0VK1NFWAlDvV67nwmLzDGodmdmm93 UrzFLW8wNb1C5QTAhW5MAPVq2Q== X-Received: by 2002:a65:4acc:: with SMTP id c12-v6mr18579387pgu.329.1526988853265; Tue, 22 May 2018 04:34:13 -0700 (PDT) Received: from localhost ([122.167.163.112]) by smtp.gmail.com with ESMTPSA id u10-v6sm20891842pgp.32.2018.05.22.04.34.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 04:34:12 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , ilialin@codeaurora.org, Nishanth Menon , Stephen Boyd , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , amit.kucheria@linaro.org Subject: [PATCH 0/4] PM / OPP: Fix helpers for shared OPP table cases Date: Tue, 22 May 2018 17:04:05 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, Ilia Lin found a usecase where his Qualcomm cpufreq driver needs to call the helpers for all the CPUs, as the driver is unaware of their sharing information. This series fixes his usecase and makes the driver not worry about such things. @Ilia: Can you please test this series along with your patches ? -- viresh Viresh Kumar (4): PM / OPP: Fix shared OPP table support in dev_pm_opp_set_supported_hw() PM / OPP: Fix shared OPP table support in dev_pm_opp_set_prop_name() PM / OPP: Fix shared OPP table support in dev_pm_opp_set_regulators() PM / OPP: Fix shared OPP table support in dev_pm_opp_register_set_opp_helper() drivers/opp/core.c | 93 ++++++++++++------------------------------------------ 1 file changed, 21 insertions(+), 72 deletions(-) -- 2.15.0.194.g9af6a3dea062