From: Quentin Perret <qperret@google.com>
To: edubezval@gmail.com, rui.zhang@intel.com, javi.merino@kernel.org,
viresh.kumar@linaro.org, amit.kachhap@gmail.com,
rjw@rjwysocki.net, catalin.marinas@arm.com, will@kernel.org,
daniel.lezcano@linaro.org
Cc: dietmar.eggemann@arm.com, ionela.voinescu@arm.com,
mka@chromium.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, qperret@google.com
Subject: [PATCH v9 0/4] Make IPA use PM_EM
Date: Wed, 30 Oct 2019 15:14:47 +0000 [thread overview]
Message-ID: <20191030151451.7961-1-qperret@google.com> (raw)
This removes the IPA-specific energy model code in favor of PM_EM which
does the same thing in a generic way. For more details, please read the
cover letter of the v7:
https://lore.kernel.org/lkml/20190812084235.21440-1-quentin.perret@arm.com/
Changes in v9:
- Rebased on 5.4-rc5 and fixed conflicts with pm_qos changes
Changes in v8:
- Fixed checkpatch errors (Rui)
Changes in v7
- Added patch 02/04 to fix the build error reported by the kbuild bot
Changes in v6
- Added Daniel's and Viresh's Acked-by to all patches
Changes in v5:
- Changed patch 02 to guard IPA-specific code in cpu_cooling.c with
appropriate ifdefery (Daniel)
- Rebased on 5.2-rc2
Changes in v4:
- Added Viresh's Acked-by to all 3 patches
- Improved commit message of patch 3/3 to explain how it has no
functional impact on existing users (Eduardo)
Changes in v3:
- Changed warning message for unordered tables to something more
explicit (Viresh)
- Changed WARN() into a pr_err() for consistency
Changes in v2:
- Fixed patch 01/03 to actually enable CONFIG_ENERGY_MODEL
- Added "depends on ENERGY_MODEL" to IPA (Daniel)
- Added check to bail out if the freq table is unsorted (Viresh)
Quentin Perret (4):
arm64: defconfig: Enable CONFIG_ENERGY_MODEL
PM / EM: Declare EM data types unconditionally
thermal: cpu_cooling: Make the power-related code depend on IPA
thermal: cpu_cooling: Migrate to using the EM framework
arch/arm64/configs/defconfig | 1 +
drivers/thermal/Kconfig | 1 +
drivers/thermal/cpu_cooling.c | 404 ++++++++++++++--------------------
include/linux/energy_model.h | 3 +-
4 files changed, 167 insertions(+), 242 deletions(-)
--
2.24.0.rc0.303.g954a862665-goog
next reply other threads:[~2019-10-30 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 15:14 Quentin Perret [this message]
2019-10-30 15:14 ` [PATCH v9 1/4] arm64: defconfig: Enable CONFIG_ENERGY_MODEL Quentin Perret
2019-10-30 15:14 ` [PATCH v9 2/4] PM / EM: Declare EM data types unconditionally Quentin Perret
2019-10-30 15:14 ` [PATCH v9 3/4] thermal: cpu_cooling: Make the power-related code depend on IPA Quentin Perret
2019-10-30 15:14 ` [PATCH v9 4/4] thermal: cpu_cooling: Migrate to using the EM framework Quentin Perret
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191030151451.7961-1-qperret@google.com \
--to=qperret@google.com \
--cc=amit.kachhap@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=dietmar.eggemann@arm.com \
--cc=edubezval@gmail.com \
--cc=ionela.voinescu@arm.com \
--cc=javi.merino@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mka@chromium.org \
--cc=rjw@rjwysocki.net \
--cc=rui.zhang@intel.com \
--cc=viresh.kumar@linaro.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®