Date: Mon, 24 May 2010 15:45:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org 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 ... Message-ID: <201005241545.o4OFjvTg060458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005241545.o4OFjvTg060458>