From owner-cvs-all@FreeBSD.ORG Thu Dec 23 19:47:59 2004 Return-Path: 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 6714716A4CE; Thu, 23 Dec 2004 19:47:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5446343D41; Thu, 23 Dec 2004 19:47:59 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBNJlxOf075573; Thu, 23 Dec 2004 19:47:59 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBNJlxjJ075572; Thu, 23 Dec 2004 19:47:59 GMT (envelope-from jhb) Message-Id: <200412231947.iBNJlxjJ075572@repoman.freebsd.org> From: John Baldwin Date: Thu, 23 Dec 2004 19:47:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 local_apic.c src/sys/i386/include apicvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 19:47:59 -0000 jhb 2004-12-23 19:47:59 UTC FreeBSD src repository Modified files: sys/i386/i386 local_apic.c sys/i386/include apicvar.h Log: - Add a function to set the Task Priority Register (TPR) of the local APIC. Currently this is only used to initiailize the TPR to 0 during initial setup. - Reallocate vectors for the local APIC timer, error, and thermal LVT entries. The timer entry is allocated from the top of the I/O interrupt range reducing the number of vectors available for hardware interrupts to 191. Linux happens to use the same exact vector for its timer interrupt as well. If the timer vector shared the same priority queue as the IPI handlers, then the frequency that the timer vector will eventually be firing at can interact badly with the IPIs resulting in the queue filling and the dreaded IPI stuck panics, hence it being located at the top of the previous priority queue instead. - Fixup various minor nits in comments. Revision Changes Path 1.10 +25 -8 src/sys/i386/i386/local_apic.c 1.10 +14 -10 src/sys/i386/include/apicvar.h