Re: APIC version and 8-bit APIC IDs

From: Martin Wilck (martin.wilck_at_fujitsu-siemens.com)
Date: 08/31/05

  • Next message: Sven Ladegast: "Re: KLive: Linux Kernel Live Usage Monitor"
    Date:	Wed, 31 Aug 2005 16:27:40 +0200
    To: linux-kernel@vger.kernel.org
    
    

    Hi Maciej,

    > It actually depends on the APIC type, rather than the CPU. E.g. with
    > Pentium systems the width of the ID is either 4 bits or 8 bits,
    > depending on whether the integrated or an external 82489DX APIC is
    > used. This should be able to be determined by the APIC version; for
    > v <= 0xf the ID is 8-bit and for v >= 0x10 it used to be 4-bit. Now
    > you only need to determine what is the value of v above 0x10 that
    > makes the ID 8-bit again.

    That would be v>=0x14 for Intel. But that is wrong for AMD CPUs. The
    actual Dual-Core Athlon CPUs we have report an APIC version of 0x10.
    Please refer to the start of this thread.

    Anyway, I understand that you agree this does not belong into the
    subarch code?

    Regards
    Martin

    -- 
    Martin Wilck                Phone: +49 5251 8 15113
    Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
    Heinz-Nixdorf-Ring 1        mailto:Martin.Wilck@Fujitsu-Siemens.com
    D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy
    -
    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: Sven Ladegast: "Re: KLive: Linux Kernel Live Usage Monitor"

    Relevant Pages

    • Re: Using compression before encryption in device-mapper
      ... depending on when they start, so the 48 above comes down to 40. ... > dictionnary attacks even in the case of perfectly random keys. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)
      ... >> depending on your needs. ... > In my old 2.4 patch there was a sysctl to turn off the kernel reseeding. ... > BTW what do you do when the FIPS test fails? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Alternate futex non-page-pinning and COW fix
      ... > can actually contain a shared dirty page". ... If we're going to document a behaviour as depending on whether the user ... least surprise, principle of minimal doc. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Bug in "select" dependency checking?
      ... depending on the value of NFSD_ACL. ... patches don't conflict with each other. ... SUSE Labs, SUSE LINUX AG ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Non-Exec stack patches
      ... > I have not yet tested other archs. ... > If the values in the protection_map are different depending on bit 2, ... > Slightly edited and untested patch attached. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)