RE: 256 apic id for amd64

From: YhLu (YhLu_at_tyan.com)
Date: 01/08/05

  • Next message: Dave Airlie: "Re: 2.6.10-mm2"
    To: Mikael Pettersson <mikpe@csd.uu.se>, ak@muc.de
    Date:	Fri, 7 Jan 2005 18:53:24 -0800 
    
    

    I mean keep the bsp physical apic id using 0.

    YH

    -----Original Message-----
    From: Mikael Pettersson [mailto:mikpe@csd.uu.se]
    Sent: Friday, January 07, 2005 6:38 PM
    To: YhLu; ak@muc.de
    Cc: Matt_Domsch@dell.com; discuss@x86-64.org; jamesclv@us.ibm.com;
    linux-kernel@vger.kernel.org; suresh.b.siddha@intel.com
    Subject: Re: 256 apic id for amd64

    On Fri, 7 Jan 2005 22:12:00 +0100, Andi Kleen wrote:
    >On Fri, Jan 07, 2005 at 01:14:24PM -0800, YhLu wrote:
    >> After keep the bsp using 0, the jiffies works well. Werid?
    >
    >Probably a bug somewhere. But since BSP should be always
    >0 I'm not sure it is worth tracking down.

    I hope by "0" you're referring to a Linux kernel defined
    software value and _not_ what the HW or BIOS conjured up!

    Case in point: I was involved a while ago in tracking down
    and fixing a local APIC enumeration bug in the x86-32 (i386)
    kernel code, where the kernel failed miserably on some
    dual K7 boxes because (a) only one CPU socket was populated,
    (b) the BIOS assigned that CPU a non-zero ID, and (c) the
    kernel (apic.c) had a bug which triggered when BSP ID != 0.

    Never trust a BIOS to DTRT.

    /Mikael
    -
    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: Dave Airlie: "Re: 2.6.10-mm2"

    Relevant Pages

    • Re: 256 apic id for amd64
      ... >> After keep the bsp using 0, ... >Probably a bug somewhere. ... I hope by "0" you're referring to a Linux kernel defined ... software value and _not_ what the HW or BIOS conjured up! ...
      (Linux-Kernel)
    • Re: Debugging nk.bin..
      ... mean what are the functions that are called one by one after kernel start... ... In my bsp i predicted the flow to be like this... ... I am actually in the process of migrating 4.2 bsp to 5.0. ... debug messages on the PB. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Special schedulers, one CPU only kernel, one only userland
      ... already have, do some small thing and then reacquire the lock itself, ... this seems similar to the handling of interrupts: ... >> it get serviced my the BSP? ... Where kernel threads explicitely pinned to ...
      (freebsd-arch)
    • Re: 256 apic id for amd64
      ... I don't trust every single BIOS writer to _always_ make the BSP physical ... why should Linux care about any CPU's physical APIC ID? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: OEM Adaption Layer and OAL stubs
      ... function build into the kernel at image creation time). ... > Currently im using the latest VIA cepc twister bsp for my target. ... > this OEM specific methods actually are used to create a bsp so that I may ... > Can anyone help me clearify or send a link that can explain the structure ...
      (microsoft.public.windowsce.embedded)