linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND v4 0/3] Use PSCI OS initiated mode for sc7280
@ 2023-07-03  8:55 Maulik Shah
  2023-07-03  8:55 ` [RESEND v4 1/3] cpuidle: dt_idle_genpd: Add helper function to remove genpd topology Maulik Shah
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Maulik Shah @ 2023-07-03  8:55 UTC (permalink / raw)
  To: andersson, ulf.hansson, dianders, swboyd, wingers, daniel.lezcano,
	rafael
  Cc: linux-arm-msm, linux-kernel, linux-pm, sudeep.holla, jwerner,
	quic_lsrao, quic_rjendra, Maulik Shah

This is resend of v4 with patch1 and patch2 Cced to stable kernel.

Changes in v4:
- Add missing s-o-b line and reviewed by in patch 1
- Address ulf's comments for error handling in patch 2

Changes in v3:
- Add new change to provide helper function dt_idle_pd_remove_topology()
- Address ulf's comments for error handling
- Add reviewed by ulf for devicetree change

Changes in v2:
- Add new change to Move enabling OSI mode after power domains creation
- Fix compatible string to domains-idle-states for cluster idle state.
- Update cover letter with some more details on OSI and PC mode
  comparision

The dependency [2] is now merged in trustedfirmware project.

Stats comparision between OSI and PC mode are captured at [3] with
usecase
details, where during multiple CPUs online the residency in cluster idle
state is better with OSI and also inline with single CPU mode. In PC
mode
with multiple CPUs cluster idle state residency is dropping compare to
single CPU mode.

Recording of this meeting is also available at [4].

This change adds power-domains for cpuidle states to use PSCI OS
initiated mode for sc7280.

This change depends on external project changes [1] & [2] which are
under review/discussion to add PSCI os-initiated support in Arm Trusted
Firmware.

I can update here once the dependency are in and change is ready to
merge.

[1] https://review.trustedfirmware.org/q/topic:psci-osi
[2] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/19487
[3] https://www.trustedfirmware.org/docs/PSCI-OS-initiated.pdf
[4] https://www.trustedfirmware.org/meetings/tf-a-technical-forum

Maulik Shah (3):
  cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
  cpuidle: psci: Move enabling OSI mode after power domains creation
  arm64: dts: qcom: sc7280: Add power-domains for cpuidle states

 arch/arm64/boot/dts/qcom/sc7280.dtsi  | 98 ++++++++++++++++++++-------
 drivers/cpuidle/cpuidle-psci-domain.c | 39 ++++-------
 drivers/cpuidle/dt_idle_genpd.c       | 24 +++++++
 drivers/cpuidle/dt_idle_genpd.h       |  7 ++
 4 files changed, 117 insertions(+), 51 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-03-15 17:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03  8:55 [RESEND v4 0/3] Use PSCI OS initiated mode for sc7280 Maulik Shah
2023-07-03  8:55 ` [RESEND v4 1/3] cpuidle: dt_idle_genpd: Add helper function to remove genpd topology Maulik Shah
2023-07-03  8:55 ` [RESEND v4 2/3] cpuidle: psci: Move enabling OSI mode after power domains creation Maulik Shah
2023-07-03  8:55 ` [RESEND v4 3/3] arm64: dts: qcom: sc7280: Add power-domains for cpuidle states Maulik Shah
2024-03-14 23:20   ` Doug Anderson
2024-03-14 23:39     ` Abhinav Kumar
2024-03-15 15:07       ` Doug Anderson
2024-03-15 15:24     ` Sudeep Holla
2024-03-15 17:12       ` Doug Anderson
2024-03-15 17:26         ` Sudeep Holla
2024-03-15 17:31           ` Doug Anderson
2023-08-08 14:17 ` [RESEND v4 0/3] Use PSCI OS initiated mode for sc7280 Ulf Hansson
2023-09-14 16:04 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).