From owner-cvs-src-old@FreeBSD.ORG Mon May 24 15:45:58 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3095B1065676 for ; Mon, 24 May 2010 15:45:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 022028FC08 for ; Mon, 24 May 2010 15:45:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4OFjvS7060459 for ; Mon, 24 May 2010 15:45:57 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4OFjvTg060458 for cvs-src-old@freebsd.org; Mon, 24 May 2010 15:45:57 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201005241545.o4OFjvTg060458@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Mon, 24 May 2010 15:45:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 apic_vector.S mca.c src/sys/amd64/include apicreg.h apicvar.h mca.h pcpu.h specialreg.h src/sys/i386/i386 apic_vector.s mca.c src/sys/i386/include apicreg.h apicvar.h mca.h pcpu.h specialreg.h ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 15:45:58 -0000 jhb 2010-05-24 15:45:05 UTC FreeBSD src repository Modified files: sys/amd64/amd64 apic_vector.S mca.c sys/amd64/include apicreg.h apicvar.h mca.h pcpu.h specialreg.h sys/i386/i386 apic_vector.s mca.c sys/i386/include apicreg.h apicvar.h mca.h pcpu.h specialreg.h sys/x86/x86 local_apic.c Log: SVN rev 208507 on 2010-05-24 15:45:05Z by jhb Add support for corrected machine check interrupts. CMCI is a new local APIC interrupt that fires when a threshold of corrected machine check events is reached. CMCI also includes a count of events when reporting corrected errors in the bank's status register. Note that individual banks may or may not support CMCI. If they do, each bank includes its own threshold register that determines when the interrupt fires. Currently the code uses a very simple strategy where it doubles the threshold on each interrupt until it succeeds in throttling the interrupt to occur only once a minute (this interval can be tuned via sysctl). The threshold is also adjusted on each hourly poll which will lower the threshold once events stop occurring. Tested by: Sailaja Bangaru sbappana at yahoo com MFC after: 1 month Revision Changes Path 1.116 +12 -0 src/sys/amd64/amd64/apic_vector.S 1.11 +231 -20 src/sys/amd64/amd64/mca.c 1.31 +2 -2 src/sys/amd64/include/apicreg.h 1.36 +8 -4 src/sys/amd64/include/apicvar.h 1.4 +1 -0 src/sys/amd64/include/mca.h 1.55 +2 -1 src/sys/amd64/include/pcpu.h 1.63 +1 -1 src/sys/amd64/include/specialreg.h 1.116 +13 -0 src/sys/i386/i386/apic_vector.s 1.9 +231 -20 src/sys/i386/i386/mca.c 1.31 +2 -2 src/sys/i386/include/apicreg.h 1.39 +10 -5 src/sys/i386/include/apicvar.h 1.4 +1 -0 src/sys/i386/include/mca.h 1.57 +3 -1 src/sys/i386/include/pcpu.h 1.61 +1 -1 src/sys/i386/include/specialreg.h 1.4 +39 -1 src/sys/x86/x86/local_apic.c