lkml.org 
[lkml]   [2002]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH][2.4] generic support for systems with more than 8 CPUs (2/2)
Date
From


> From: William Lee Irwin III [mailto:wli@holomorphy.com]
>
> On Sat, Dec 21, 2002 at 10:59:10PM -0800, Pallipadi, Venkatesh wrote:
> > 2/2 : switching to physical mode APIC setup in case of more
> than 8 CPU system
> [...]
> > - printk("Enabling APIC mode: ");
> > - if(clustered_apic_mode == CLUSTERED_APIC_NUMAQ)
> > - printk("Clustered Logical. ");
> > - else if(clustered_apic_mode == CLUSTERED_APIC_XAPIC)
> > - printk("Physical. ");
> > - else
> > - printk("Flat. ");
> > - printk("Using %d I/O APICs\n",nr_ioapics);
>
> IIRC NUMA-Q can be dynamically detected at boot by means of an MP OEM
> table's presence, in particular if there's a matching string in the 8B
> OEM record in the OEM table, with a value of "IBM NUMA" IIRC. This is
> probably a line or two's worth of change to mpparse.c and declaring a
> variable for clustered_apic_mode. If it were difficult to detect, I
> wouldn't have suggested implementing it (though do so at your
> leisure). =)

Yes. There is already some code in base that does this. For NUMAQ specifically
this check happens and clustered mode is selected for APIC. My patch has this
additinal check (after the initial IBM OEM check), for non-NUMAQ systems with
more than 8 CPUs and xAPIC support. These systems can not work with the
default flat addressing mode. So, this patch sets up such systems in physical
mode.

Thanks,
-Venkatesh
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.039 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site