[lkml]   [2003]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.22 APM problems with IBM Thinkpad's
    Jamie Lokier writes:
    > Alan Cox wrote:
    > > On Mer, 2003-08-13 at 14:13, Mikael Pettersson wrote:
    > > > With APIC support enabled (SMP or UP_APIC), APM must be constrained:
    > > > DISPLAY_BLANK off
    > > > CPU_IDLE off
    > > > built-in driver, not module
    > >
    > > This isnt sufficient because some of the SMM traps off the FN-key
    > > sequences also crash thinkpads if APIC is enabled. Basically *dont use
    > > local apic* except on SMP.
    > Is it feasible to disable the APIC during BIOS calls,?

    I don't think so.
    One problem is that BIOS calls can be very frequent (one every time
    the kernel calls pm_idle, if CPU_IDLE=y, and one each time one of those
    battery-monitoring applets feels like polling the battery status).
    Each time we'd have to go through a full lapic_suspend/lapic_resume
    cycle, like we do now for PM suspends, and each time the local APIC
    timer would lose ticks. And in an UP_IOAPIC system we'd better disable
    and reenable the I/O-APIC too (or reprogram it to PIC mode, but that's
    horrible). Not pretty.

    Personally I'd prefer checks in apm.c that cause it to refuse to do
    any BIOS calls except at suspend or poweroff.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.020 / U:1.716 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site