Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1406622
| From | Chen Yu <yu.chen.surf@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][v7] x86, suspend: Save/restore extra MSR registers for suspend |
| Date | 2016-05-25 07:10 +0200 |
| Message-ID | <rCzeW-5mD-19@gated-at.bofh.it> (permalink) |
| References | <qypgm-2AY-23@gated-at.bofh.it> <qz0SB-3aI-15@gated-at.bofh.it> <qz6Om-71A-15@gated-at.bofh.it> <rCndL-5Ak-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Len, On Wed, May 25, 2016 at 12:09 AM, Len Brown <lenb@kernel.org> wrote: > +mjg59, who may be seeing this issue on a skylake laptop > > Chen-yu, > > Great debugging, but I think there is a more general fix possible than > this DMI quirk. > > I agree that in this example, a grantley server, it seems the BIOS is > erroneously > returning a bogus value of MSR_IA32_THERM_CONTROL on resume from S3. > > But another scenario is also possible. Consider a laptop that is resuming HOT > and the BIOS correctly enables throttling. If this code were invoked, it would > restore the COLD setting. > > Instead, it seems to me that the ACPI processor driver should upon .resume > check if throttling should be enabled or not, and proceed accordingly. > That would always do the "right thing", and would not need a DMI list. > Does that make sense? I agree, to let the related drivers customize their restoring process would be more robust, and we can not only take care of boot CPU but also nonboot CPUs in this way. I think we can add something like acpi_processor_reevaluate_tstate in the resume hook,I'll make a double check. thanks, Yu
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH][v7] x86, suspend: Save/restore extra MSR registers for suspend Len Brown <lenb@kernel.org> - 2016-05-24 18:20 +0200 Re: [PATCH][v7] x86, suspend: Save/restore extra MSR registers for suspend Chen Yu <yu.chen.surf@gmail.com> - 2016-05-25 07:10 +0200
csiph-web