Hi! After bisecting the kernel I found that this commit: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7279b238badec09efd0545293e64c21feee97f73 breaks "echo devices > /sys/power/pm_test" ... even shutdown does not work.
Created attachment 250701 [details] dmesg of latest running kernel
Reverting 7279b238badec09efd0545293e64c21feee97f73 and 3c17b6372e44c369649691f8c90822bb3f8ea3e0 (cause I didn't want to fiddle merging bus-fixup.c) also solves the Problem.
Thanks for your report, will contact Alexander for support.
Currently we can state this is happening on Calpella and Ibex Peak, we need to limit this new feature to only post Skylake devices. You can reassign the bug to me. Thanks Tomas
This patch was merged only to v4.10 rc cycles so update the affected kernel version
A fix was posted here: https://lkml.org/lkml/2017/1/9/414
Note, this also happens on a Dell XPS13 (9360) with a Kaby Lake device. [1] https://lkml.org/lkml/2017/1/10/448
https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=7ee7f45a763bd68c3a606595a8c1bb08c3e6146b
> mei: bus: enable OS version only for SPT and newer > > Sending OS version for support of TPM2_ChangeEPS() is required only > for SPT FW (HMB version 2.0) and newer. > > On older platforms the command should be just ignored by the firmware > but some older platforms misbehave so it's safer to send the command > only if required. What’s SPT?
Just a closing note, that the issue on the Dell XPS13 (9360) is a different one. See the thread *Regression on Dell XPS13* on the Linux kernel mailing list [1]. [1] https://lkml.org/lkml/2017/1/17/609
Patch is included in Linus' 4.10-RC4, I compiled it yesterday and it works for me. I think Paul will file a new bug or something, so I mark this closed. Kudos to all!