From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B1E4C76188 for ; Tue, 16 Jul 2019 09:51:32 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD5222064B for ; Tue, 16 Jul 2019 09:51:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EpO9lcJJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD5222064B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45nwds1xsyzDqSF for ; Tue, 16 Jul 2019 19:51:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::441; helo=mail-pf1-x441.google.com; envelope-from=viresh.kumar@linaro.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="EpO9lcJJ"; dkim-atps=neutral Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45nwbX1SSfzDqRS for ; Tue, 16 Jul 2019 19:49:27 +1000 (AEST) Received: by mail-pf1-x441.google.com with SMTP id 19so8853357pfa.4 for ; Tue, 16 Jul 2019 02:49:27 -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:mime-version :content-transfer-encoding; bh=vOxxYg1gkl1a/ysoqs6BZ37K9CF/kS15FrSEdYGMrcE=; b=EpO9lcJJCleKXGgnbBcmT0vu4HaYAgr9cMkeEXTp7CyyD4yV+yFnl1mxqPgDrOOQFv uX4IGgyhvlC0Ycx0OgWkLzAlykS9IJaLFR2yukDVSE+KIOS23muUiLalQLQa03Wse+/Y FIaNNN0uwHO6LUKp+rICHDSjzUm8mrleslaGLlOHrsYK0tU9PucY0BVtOnLOBG1WYHJT Y41fadi2cSZHeYEnTHQY9LiafFF2DeAdHLwZ6m+FmkVnzFZMM3swsG+hfik7+0CzsULk CfxvI0eWRu5hr0QvUkVSUcvOiO4XnmJcvSFY/IXMPQ2Dp5U1QyJgJ6fT0ADilqS/soWL b0iw== 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:mime-version :content-transfer-encoding; bh=vOxxYg1gkl1a/ysoqs6BZ37K9CF/kS15FrSEdYGMrcE=; b=lHFT9MnvvnF0r/6h941e1oF83h2olMyZi9oT0Hr8Xp45FLfVIehOMQm84LwJGCBLNi yBp5k/ED4NCEPbc4YIro2FKkFp0Ipdo80gqCu9oqp5fOpE+aPtTOaeLeNrO/5TYBgD3i inEMZTEe52+EodJdduoC79s269SHoJwX26I2SPnhx0Qe3VRLnpl1zgU5+AW4Urx8OHvt cXJWcVbuifj70gnvGibd4ZjxmZo75gvL0lJbcwH9nHqihSrFGfh+WwlwEDoxqiRAdXgM vg64RwVhf2V5jxSRQiRTOnVSGIkTCPb7ZFHOqG/hglzAq/CPCPHzgE2E2aKK2bu51kNw dxfg== X-Gm-Message-State: APjAAAXJCLXvdTLfz/X8ekWO+CowIKK/ReiQF62v1MxSr3Sq3QYuHFCD 5vkwrovKw8VrCFZ4Fm+acN6e5Q== X-Google-Smtp-Source: APXvYqw5SKHgwSs1ZhYtTM+f2bW5/Eb88H6yQX28Ko/X85JMot8sov7jCBSAQXBcHVwxNzo9et7lnA== X-Received: by 2002:a65:4189:: with SMTP id a9mr7021968pgq.399.1563270563855; Tue, 16 Jul 2019 02:49:23 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id c69sm22793150pje.6.2019.07.16.02.49.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jul 2019 02:49:23 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Amit Daniel Kachhap , Benjamin Herrenschmidt , Daniel Lezcano , Eduardo Valentin , Erik Schmauss , Greg Kroah-Hartman , Javi Merino , Len Brown , "Rafael J. Wysocki" , Robert Moore , Zhang Rui Subject: [PATCH 00/10] cpufreq: Migrate users of policy notifiers to QoS requests Date: Tue, 16 Jul 2019 15:18:56 +0530 Message-Id: X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, Vincent Guittot , linux-pm@vger.kernel.org, Viresh Kumar , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-acpi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devel@acpica.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hello, Now that cpufreq core supports taking QoS requests for min/max cpu frequencies, lets migrate rest of the users to using them instead of the policy notifiers. The CPUFREQ_NOTIFY and CPUFREQ_ADJUST events of the policy notifiers are removed as a result, but we have to add CPUFREQ_CREATE_POLICY and CPUFREQ_REMOVE_POLICY events to it for the acpi stuff specifically. So the policy notifiers aren't completely removed. Boot tested on my x86 PC and ARM hikey board. Nothing looked broken :) This has already gone through build bot for a few days now. -- viresh Viresh Kumar (10): cpufreq: Add policy create/remove notifiers video: sa1100fb: Remove cpufreq policy notifier video: pxafb: Remove cpufreq policy notifier arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY thermal: cpu_cooling: Switch to QoS requests instead of cpufreq notifier powerpc: macintosh: Switch to QoS requests instead of cpufreq notifier cpufreq: powerpc_cbe: Switch to QoS requests instead of cpufreq notifier ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifier cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events Documentation: cpufreq: Update policy notifier documentation Documentation/cpu-freq/core.txt | 16 +-- drivers/acpi/processor_driver.c | 44 ++++++++- drivers/acpi/processor_perflib.c | 106 +++++++++----------- drivers/acpi/processor_thermal.c | 81 ++++++++------- drivers/base/arch_topology.c | 2 +- drivers/cpufreq/cpufreq.c | 51 ++++------ drivers/cpufreq/ppc_cbe_cpufreq.c | 19 +++- drivers/cpufreq/ppc_cbe_cpufreq.h | 8 ++ drivers/cpufreq/ppc_cbe_cpufreq_pmi.c | 96 +++++++++++------- drivers/macintosh/windfarm_cpufreq_clamp.c | 77 ++++++++++----- drivers/thermal/cpu_cooling.c | 110 +++++---------------- drivers/video/fbdev/pxafb.c | 21 ---- drivers/video/fbdev/pxafb.h | 1 - drivers/video/fbdev/sa1100fb.c | 27 ----- drivers/video/fbdev/sa1100fb.h | 1 - include/acpi/processor.h | 22 +++-- include/linux/cpufreq.h | 4 +- 17 files changed, 327 insertions(+), 359 deletions(-) -- 2.21.0.rc0.269.g1a574e7a288b