Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/i386/acpi



Andrew Doran wrote:
On Wed, Aug 01, 2007 at 10:41:59PM +0000, Jared D. McNeill wrote:

Modified Files:
        src/sys/arch/i386/acpi: acpi_wakeup.c

Log Message:
Explicitly reinitialize lapic on resume; gets the clock ticking on the
Lenovo T60 and probably many others.

I wonder if that's enough for dual core laptops. Do we need to reinitialize
the lapic on the other core?

I think you're right. I can almost fully bring back this VAIO (except for the network and wireless device drivers) from S3 on a UP kernel by doing the following at resume:

        i8259_reinit();
        lapic_enable();
        lapic_initclocks();
        ioapic_enable();
        lapic_set_lvt();

What else should I do to ensure that things are configured properly in the MULTIPROCESSOR case?

Cheers,
Jared



Home | Main Index | Thread Index | Old Index