Everything - #15
Open
obiwac wants to merge 6 commits into
Open
Conversation
Contributor
|
Works for me, had to apply this patch for the tree to build: |
Contributor
|
Weirdly though, my Thinkpad T16 only wakes up on lid switch, not on power button press. I would prefer for it to be the other way round. Had a history of the lid switch randomly triggering when the laptop is in my backpack on my previous one. |
Mask all interrupts when suspending and warn when there are unserviced interrupts which might block entry to S0i3. In the future we won't want to mask wake interrupts. Once we can actually make use of GPIO interrupts on x86, we'll also want to unmask relevant pins when resuming. Differential Revision: https://reviews.freebsd.org/D51589
Not sure why this is being done in the first place, but either way for s2idle we need to be able to actually idle CPUs when suspended.
Reviewed by: adrian Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49452
Suspend routine for USB4 v1.0 NHIs. This will work on v2.0 NHIs too for now, but there's ideally a different method we should be using for those in fine. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49453
Owner
Author
fixed, thanks :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the branch I maintain for external users to test out s2idle/S0ix on their machines.
The
amdgpiosuspend commit is not necessary for most machines, this is just because I have been told not servicing GPIO interrupts could be a blocker for S0i3 entry on some AMD machines.