Re: S3 wakeup code

Florian Lohoff
2003-07-25T12:50:52Z

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

On Fri, Jul 25, 2003 at 02:25:36PM +0200, Ole Myren Rohne wrote:
>
> IIRC, at one point linux wrote the kernel VM address to the firmware
> wakeup vector, typically 0xc0000000 + hardware address. Now, there is
> of course only one way to interpret that as a real-mode seg:off
> address, but it did strike me as weird. I once checked that the
> leading 0xc is irrelevant on my P2120, but YMMV.

Hmmm - I didnt have a look at that - I was assuming that alloc_bootmem
returned a physical address. In 2.5 it seems we dont write out the
allocated address on boot as we did in 2.4 (hint, hint)

> I would also check that the suspend/resume doesn't choke somewhere in
> 32-bit land by jumping over the call to acpi_enter_sleep_state in
> wakeup.S.

I kind of had to debug this on this machine - No legacy hardware nice
for debugging (Parallel, Serial etc). Even the speaker is switched
through the sound card so when the chip is still powered down - no
sound.

Flo
--
Florian Lohoff flo-BCn6idZOOBwdnm+yROfE0A@public.gmane.org +49-171-2280134
Heisenberg may have been here.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]