From owner-cvs-all Fri Jan 24 18:31:49 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 064B737B401; Fri, 24 Jan 2003 18:31:48 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B340543F13; Fri, 24 Jan 2003 18:31:47 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0P2Vlbv087095; Fri, 24 Jan 2003 18:31:47 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0P2Vlmx087093; Fri, 24 Jan 2003 18:31:47 -0800 (PST) Message-Id: <200301250231.h0P2Vlmx087093@repoman.freebsd.org> From: Peter Wemm Date: Fri, 24 Jan 2003 18:31:47 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 mpapic.c X-FreeBSD-CVS-Branch: RELENG_4 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 peter 2003/01/24 18:31:47 PST Modified files: (Branch: RELENG_4) sys/i386/i386 mpapic.c Log: Partial fix for Compaq/hp DL/ML P4 Xeon systems, possibly others. Only set the AP TPR registers to 0x10 during boot. If the BSP sets it to 0x10, we dont see the RTC or 8254 timer interrupts for reasons that are not fully understood yet. Note that this doesn't completely fix the problem. The machines can partially boot but will eventually lock up due to lost interrupts. The only known solution for that is to either undefine GRAB_LOPRIO in sys/i386/include/smptests.h (ouch, causes interrupt latency), or to apply John Baldwin's hyperthread enable patches for 4.x. You might like to try this: http://people.FreeBSD.org/~jhb/patches/htt.patch You also want to set "machdep.cpu_idle_hlt=1" in /etc/sysctl.conf Revision Changes Path 1.37.2.7 +3 -1 src/sys/i386/i386/mpapic.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message