From patchwork Wed Jul 17 06:11:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 11047235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B6EA13A4 for ; Wed, 17 Jul 2019 06:12:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89F8F28705 for ; Wed, 17 Jul 2019 06:12:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DF2D2870C; Wed, 17 Jul 2019 06:12:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 362F228705 for ; Wed, 17 Jul 2019 06:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MwCdZm0ZanfzLDNZAc2usndY+krgdt/lS3b/FOKW3ZI=; b=hPf6xwtwUsb/2Y 7wFtsXKkXgmb8XzcEN0+KUfZsdfF4hhUKDsIVtWJeu4/6nDbU1EudOEuIDtvG31U5lxHNwnt6X4LB Bke3fIAe4vNglli/c/pVyzsSCXEKp4m94nzXmTOvBoRZlyR9RAc62fi9ms587F9mfkS/Xph8GcB3x SETnkbLO2FE7vXSGZlLnBGLMhAUTAcdg1YP+G0PPQcWu77XdyAHFgjeyhWrpCqVfGAdNAGbkJSMNj bfHuRJLM7mOm6Aaj+0cYRmJ67bgmLlODEvFElRl7a7ofNHgcG/O0BsTtJX0IB0wwN3gQ+3A7LYO0e YpHq8m5FF6oWWuSDp7vw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hndAu-0007b1-Je; Wed, 17 Jul 2019 06:12:24 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hndAn-0007Xb-NC for linux-arm-kernel@lists.infradead.org; Wed, 17 Jul 2019 06:12:21 +0000 Received: by mail-pl1-x642.google.com with SMTP id a93so11366296pla.7 for ; Tue, 16 Jul 2019 23:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hX8hf9utWo00QXSsxtdhEp75HuksEWkyDN5DV1hGs/c=; b=C9aDlQBqiWF6wX4UpDuCRAK0wSVSUY8S4julEUtAgSAQ4JK2huok+EwaIQyXMDSmoP FJfMYo7rE64OK5UFoprt8hIW3B0WFiNnIi9f0CwJ8EJsUrnyNI/uI6dZdah5yhJ4Y3QN JjVo8YUwD0dBemQZMYmyko/aTBBuk3ZFd6Se0= 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=hX8hf9utWo00QXSsxtdhEp75HuksEWkyDN5DV1hGs/c=; b=BIVOPvR0L9KIWEMatfRyJq5iBjv1rYEGswzD36H4YDzTlHWm2XVlt0fRguxr1gm5fn yggfYiEZ66BgctF6dQNMRwvfqDadHKz0yHP/sO8exSfNxi6Fdi3xwjl2cBHWNB7PgVQn UhJJbAcFKjKwiC17tjFqJ2bwnO8U2yCk3rK4cLO6VAzT/JQmtcWzcpKuhLh/1xAyBtng 2kgo45xZUv0h48G2LJXRPbNxxB33ZQMZJoaV6sDf57/3IUzjonjUq9/8Pea1VYAVzoxM m+xJwrVMEqxyfzWQv1gGC1bI5GAquPTcRrcwp3nU1+XcY3ls1R1aLPJUkBA0HElWUcBS gqyg== X-Gm-Message-State: APjAAAUcD8rwtmD8a36LlIKOmkRLSPyXmNFiKTET0A2QF5bi4ZvdEujD GmiTas6e3fSH6AcKxbODIhvGlDg/MCkh7A== X-Google-Smtp-Source: APXvYqxNE13JnywfYhewdRhwTWC8GYKJF1jON6Pv+BmrCJJvKvetxpRVsPZ30aJ03cT3aBK85DHdQQ== X-Received: by 2002:a17:902:b43:: with SMTP id 61mr41949977plq.322.1563343935979; Tue, 16 Jul 2019 23:12:15 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:b852:bd51:9305:4261]) by smtp.gmail.com with ESMTPSA id y23sm24079706pfo.106.2019.07.16.23.12.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Jul 2019 23:12:15 -0700 (PDT) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org Subject: [PATCH RFC v2 0/2] Use cpu based scaling passive governor for MT8183 CCI Date: Wed, 17 Jul 2019 14:11:23 +0800 Message-Id: <20190717061124.453-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190716_231217_798035_5E442F5C X-CRM114-Status: UNSURE ( 6.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pm@vger.kernel.org, Viresh Kumar , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Chanwoo Choi , Kyungmin Park , "MyungJoo Ham \)" , linux-mediatek@lists.infradead.org, Matthias Brugger Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series depends on following series: 1. mt8183 cpufreq and cci devfreq from andrew-sh.cheng https://patchwork.kernel.org/cover/10946047/ 2. cpu based scaling support to passive_governor from Sibi Sankar https://lore.kernel.org/patchwork/patch/1101049/ This series uses cpu based scaling passive governor for mt8183-cci to improve performance and deal with shared regulator voltage setting issue. Hsin-Yi Wang (2): devfreq: mt8183-cci: using cpu based scaling passive_governor cpufreq: mediatek: Support vproc shared by multiple component drivers/cpufreq/mediatek-cpufreq.c | 16 +- drivers/devfreq/mt8183-cci-devfreq.c | 239 +++++++-------------------- 2 files changed, 68 insertions(+), 187 deletions(-)