linux-surface / kernel

Linux kernel with modifications for Microsoft Surface devices.
Other
124 stars 34 forks source link

Added patch to allow optional hibernate during lockdown #158

Closed jeduardo closed 2 months ago

jeduardo commented 2 months ago

Expose an optional lockdown_hibernate kernel parameter to enable hibernation during kernel lockdown mode. The patch was imported from here.

Closes https://github.com/linux-surface/linux-surface/issues/1543

jeduardo commented 2 months ago

@qzed just a heads up that the the patch is here. I raised it against the latest surface-devel branch as per the instructions. Please let me know if I need to change anything else.

qzed commented 2 months ago

Yeah, I saw, thanks! I just didn't get around to look at it yesterday. I'll try to have a look at it and merge it this evening.

qzed commented 1 month ago

Sorry that it took me a while, but I finally managed to update the patches and prepare a new release.

jeduardo commented 1 month ago

Hey @qzed, thanks for the update! I've seen the packages were built in the pipeline but it seems they did not yet land into the main repo (tried an update but got no updated versions for kernel-surface. If you need any help with testing let me know!

qzed commented 1 month ago

Should be in the repo now.

jeduardo commented 1 month ago

@qzed, it indeed is and I just downloaded it. I can also confirm that the patch is working as expected and I can now hibernate while SecureBoot is on. Thanks!