-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement S0ix low power states and s2idle #32
Comments
Current state: Driver for the SPMC (system power management controller, D3cold support (https://reviews.freebsd.org/D48384) was added and fixes for switching device power states (https://reviews.freebsd.org/D48385) were made to respect the device constraints necessary for entering lower power idle states. Currently, the only blocking thing is in ACPICA upstream (see acpica/acpica#993), as D3cold and D3hot are not currently being distinguished and it is unclear whether the existing D3 should really be D3hot or D3cold. This has been tested and is (sort of) working on the AMD Framework laptop. The only issue is that the CPU frequently wakes from idle as we get a lot of SCI interrupts which wake the CPU from the EC, most of which are not actually wake events. These events can not be masked as they share the same GPE number (and if we mask this GPE we also mask wake events). The solution might be with the AMD PMC, which we might be able to ask to quiet down the EC. This is tracked by #55. There are other GPE's we might want to mask and FreeBSD already provides sysctls to configure this, but currently this is using the Likely completion date: probably some time during the month of February. |
User Story
As a laptop user I want to be able to put my laptop to sleep and for it to enter a low power state so that I can conserve battery charge and use the laptop for longer between charges.
NOTE: S0ix represents a set of SoC states which allow the SoC to consume less power by shutting off parts of the SoC when not needed. Source
Implementation Notes
There's an existing non-functional start of S0ix support, but nothing that is a demoable proof of concept.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: