acpi_wakeup fixes

acpi_wakeup fixes

Post by Ducrot Brun » Wed, 18 Dec 2002 22:30:13



Hi Pavel.

This diff should be OK (I hope)

--
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page

  00_acpi_wakeup.S.fix
< 1K Download
 
 
 

acpi_wakeup fixes

Post by Pavel Mache » Tue, 24 Dec 2002 14:00:07


Hi!


>    cmpl    _0x12345678, %eax
>    jne     bogus_real_magic

> -#if 1
> +#if 0
>    lcall   _0xc000,_3
>  #endif
>  #if 0

We should make this runtime configurable...

Anyway disabling this is probably right.


>    movl    real_save_cr0 - wakeup_code, %eax
>    movl    %eax, %cr0
> +
> +  # flush the prefetch queue.
>    jmp 1f
> +1:        jmp 1f
>  1:

Is this really neccessary? One jump should be
ok...


>    ALIGN

> -.org      0x2000
> +.org      0x800
>  wakeup_stack:
> -.org      0x3000
> +.org      0x900
>  ENTRY(wakeup_end)
> -.org      0x4000
> +# .org    0x1000
> +  .align 4096

Kill the comment, otherwise ok.

Quote:>  wakeup_pmode_return:
>    movl    ___KERNEL_DS, %eax

--
                                Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. acpi_wakeup fixes: Patch?

It seems you have been trying to correct the acpi_wakeup code (back at 17
Dec). Has that been merged to Linus' tree?

I got 2.5.58 today, acpi_wakeup.S is still dated 16 Dec and that patch
regarding the location of the wakeup asm code (see the '2.5.51: sleep
broken') has not reached me through Linus' patches.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. geocites is running

3. Fix stack handling in acpi_wakeup.S

4. Unix vs Novell (HA..)

5. [0/1] acpi_wakeup.S

6. Problems with X on Twinhead PowerSlim

7. acpi_wakeup.S: simplify logic

8. graphics program for fvwm

9. Author of acpi_wakeup.S

10. [1/1] acpi_wakeup.S

11. PATCH: fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash

12. Fixed length records containing 2 different records types with fixed field widths

13. Fixed? Apparent 6x86 problem fix.