Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2003 10:57:25 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 mp_machdep.c
Message-ID:  <XFMail.20030108105725.jhb@FreeBSD.org>
In-Reply-To: <20030107221020.A60240@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Jan-2003 Andrew Gallatin wrote:
>> CPU: Pentium 4 (686-class CPU)
>>   Origin = "GenuineIntel"
>>   Features=0xffffffffbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
>> GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>>   Hyperthreading: 2 logical CPUs
> 
> <...>
> 
>> For now I am working on reworking the i386 interrupt code so that
>> using the local and I/O APICs versus using the traditional PICs is
>> a runtime decision rather than a compile time decision as well as
>> fixing the mptable code to route PCI interrupts using the
>> pcib_route_interrupt() method and adding support for enumerating
>> APICs and CPUs via ACPI.  The goal is to put SMP into GENERIC on
>> i386 to support SMP out of the box and obsolete /sys/i386/conf/SMP.
> 
> Cool!
> 
> Will I ever be able to run a system like the following (with no I/O
> APIC) under FreeBSD/SMP?:
> 
> CPU: Pentium 4 (2533.43-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
>  
> Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUS
> H,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> <...>
> acpi_cpu0: <CPU> on acpi0
> acpi_cpu1: <CPU> on acpi0
> <...>

It most likely does have an IO APIC. :)  Does mptable say anything
about your system right now?  If so, and if you see a hyperthreading
note in your new dmesg, you should be able to just stick 'SMP' and
'APIC_IO' into your kernel.  If mptable doesn't work, then you most
likely do have an IO APIC in your ACPI tables (see if you have a MADT
table in your acpidump, you would just see a header for it, no content
right now) and it will work when the current WIP is done.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030108105725.jhb>