From owner-cvs-all Wed Jan 8 7:57:28 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3485E37B405 for ; Wed, 8 Jan 2003 07:57:27 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC8E43EDC for ; Wed, 8 Jan 2003 07:57:26 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 7745 invoked from network); 8 Jan 2003 15:57:28 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Jan 2003 15:57:28 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h08FvIUT083440; Wed, 8 Jan 2003 10:57:23 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030107221020.A60240@grasshopper.cs.duke.edu> Date: Wed, 08 Jan 2003 10:57:25 -0500 (EST) From: John Baldwin To: Andrew Gallatin Subject: Re: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Jan-2003 Andrew Gallatin wrote: >> CPU: Pentium 4 (686-class CPU) >> Origin = "GenuineIntel" >> Features=0xffffffffbfebfbff> 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 H,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > <...> > acpi_cpu0: on acpi0 > acpi_cpu1: 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 <>< 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