Re: [RFT] x86 acpi: normalize segment descriptor register on resume

From: Henrique de Moraes Holschuh
Date: Sun Jul 13 2008 - 21:22:25 EST


On Sun, 13 Jul 2008, Andi Kleen wrote:
> It probably switches to protected mode. I noticed this on my old
> Fujitsu laptop when I tried to make the S3 wakeup run in the s2ram x86 emulator
> and found it entered protected mode at some point, which x86emu
> didn't support.
>
> I guess Lenovo is doing the same.
>
> And that protected mode code relies on some GDT values that have been
> loaded earlier when the BIOS also went into protected mode.
>
> It seems the BIOS programmers really don't like real mode anymore.
> Somehow understandable.

If it were just Lenovo, it shouldn't be too difficult to get them to fix the
BIOS. But since other vendors have the same problem, that won't fly as a
solution.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/