-
Notifications
You must be signed in to change notification settings - Fork 77
PM: Introduce docs for s2idle #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
New warnings found with rstcheck: |
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
| Suspend-to-Idle (s2idle), also known as "freeze," is a generic, pure software, light-weight variant of system suspend. | ||
| In this state, the Linux kernel freezes user space tasks, suspends devices, and then puts all CPUs into their deepest available idle state. | ||
|
|
||
| ********************** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The section identifier line should be of equal length to the section name.
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
b935f77 to
ef4ad74
Compare
|
@cshilwant , and rest I'll mark the PR ready for review once it has undergone LPM team internal review. Till then requesting you to hold off reviews. Thanks! |
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
ef4ad74 to
fcd21dd
Compare
|
New warnings found with rstcheck: |
c7f9288 to
4a0b798
Compare
|
New warnings found with rstcheck: |
4a0b798 to
33c4b95
Compare
kwillis01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the execution level things, everything else looks good to me! Good work on adding all of this, it's very infomative
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
source/linux/Foundational_Components/Power_Management/pm_psci_s2idle.rst
Outdated
Show resolved
Hide resolved
Introduce the concept of s2idle and how we use it for mode selection Signed-off-by: Dhruva Gole <[email protected]>
33c4b95 to
09ca039
Compare
| Why OSI? | ||
| ======== | ||
|
|
||
| OSI mode allows the OS to make better power decisions because it has visibility into: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The below 3 points are coming on a single line as seen in the preview. It would be better if they are in separate lines as bullets
| | v | ||
| | CPU enters low-power | ||
| | hardware state | ||
| | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should there be something in the flow as to indicate why / on what kind of event the system is resuming
| ``idle-state`` nodes using the ``arm,psci-suspend-param`` property. This mechanism, | ||
| leveraging ``cpuidle`` and ``s2idle``, allows the kernel to abstract complex platform-specific | ||
| low-power modes into a generic framework. The ``idle-state`` nodes in the Device Tree define these power states, | ||
| including their entry/exit latencies and target power consumption, enabling the ``cpuidle`` governor to make informed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be mentioned that in the case of s2idle, the governor picks the deepest possible idle state
| * - **Latency** | ||
| - Lower | ||
| - High, primarily due to the overhead of **CPU Hotplug** for non-boot CPUs | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since s2idle will allow the mode selection using QoS paramter, should the details regarding that be mentioned here
Document all about s2idle and PSCI and how the whole stack helps us in selecting between low power modes on the TI AM62L