Re: [PATCH, DEBUG] x86/32: Add small delay after resume

Konrad Rzeszutek Wilk
2015-06-17T18:30:53Z

On Wed, Jun 17, 2015 at 10:22:49AM -0700, H. Peter Anvin wrote:
> On 06/17/2015 09:33 AM, Konrad Rzeszutek Wilk wrote:
> >>>>
> >>
> >> Where does the GDT get initialized?
> >>
> >> -hpa
> >
> > mit 84e70971e67d97bc2db18a4e76d42846272a54bd
> > Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> > Date: Fri Apr 5 16:42:22 2013 -0400
> >
> > x86-32, gdt: Store/load GDT for ACPI S3 or hibernation/resume path is not needed
> >
>
> Store, no. LOAD?

__save_processor_state:
..
/*
* We save it here, but restore it only in the hibernate case.
* For ACPI S3 resume, this is loaded via 'early_gdt_desc' in
* 64-bit
* mode in "secondary_startup_64". In 32-bit mode it is done via
* 'pmode_gdt' in wakeup_start.
*/

>
> -hpa
>
>