RE: [ACPI] Re: PROBLEM: ACPI freezes 2.6.1 on boot

From: Maciej W. Rozycki (macro_at_ds2.pg.gda.pl)
Date: 01/23/04

  • Next message: Thomas Schlichter: "Re: 2.6.2-rc1-mm2"
    Date:	Fri, 23 Jan 2004 14:19:29 +0100 (CET)
    To: Linus Torvalds <torvalds@osdl.org>
    
    

    On Thu, 22 Jan 2004, Linus Torvalds wrote:

    > > To handle both cases the code should do one of those "is intergrated"
    > > tests we alreay have several of in apic.c. I can fix that, but not
    > > until tomorrow.
    >
    > Even then I'd like to hear _why_ it would be a problem to bypass the
    > divider on an external LAPIC. The original patch comes with a message
    > explicitly saying that it was never even tested on such an external LAPIC,
    > and doing a google newsgroup search doesn't find any replies to that
    > post.

     It wasn't tested back then in July 1999, but later it actually was and
    proved correct -- see the note in arch/i386/kernel/apic.c (I can dig
    through my archive for patches and mails involved). A few other problems
    were resolved as a result as well, e.g. the logical destination mode
    turned out not to work with the i82489DX unless the DFR is set to
    0xffffffff explicitly as stated in the manuals (we used to set it to 0xf
    earlier, based on documentation on the integrated APICs, and yes, the
    i82489DX does support a flat 32-bit logical destination selection), a race
    when using INIT IPIs to wake up APs, etc.

    > I actually have some really old Intel manuals, including one for the
    > i82489DX (actually, it's just one part of a "Pentium Processors and
    > Related Products" manual). And while I see the register definition (and
    > yes, it documents the CLKIN/TMBASE/DIVIDER usage), I don't see anything
    > that actually says that you shouldn't just use CLKIN.

     There were actually two documents, sort of complementing each other, also
    available as discrete hardcopies. ;-) If there's interest in the
    documents I can think on how to make them available.

    > Do we have any real reason to care? We calculate the counter value
    > dynamically anyway, so the only "bug" might be that on one of those old
    > i82489DX machines we might report a frequency value that is off by a
    > factor of 16. Which should just make the user really happy ("cool, my APIC
    > is running at 256 MHz!").

     Well, I think the systems are rare enough we'd better keep their
    configuration as much similar to the more common ones as possible. This
    way chances are any bug that would hit the formers, will trigger for the
    latters as well. And in this case it's just a few bytes of code as Mikael
    has already proposed.

      Maciej

    -- 
    +  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
    +--------------------------------------------------------------+
    +        e-mail: macro@ds2.pg.gda.pl, PGP key available        +
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Thomas Schlichter: "Re: 2.6.2-rc1-mm2"

    Relevant Pages

    • Re: [ACPI] acpi problem with nforce motherboards and ethernet
      ... in December both to the LKML and the ACPI maintainer. ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... erroneously sets the trigger to level, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] remove dead drivers/ide/ppc/swarm.c
      ... > IDE bus must be always LE independently of system being LE or BE. ... > when system is BE swapping is also needed. ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] fix DECSTATION depends
      ... On Tue, 13 Jan 2004, Ralf Baechle wrote: ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [3/3] 2.6 broken serial drivers
      ... On Tue, 13 Jan 2004, Russell King wrote: ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] fix DECSTATION depends
      ... The dependency was intentional: ... I'm reverting the change immediately. ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)