cvs commit: src/sys/amd64/amd64 intr_machdep.c io_apic.c local_apic.c machdep.c mp_machdep.c src/sys/amd64/include apicvar.h intr_machdep.h src/sys/amd64/isa atpic.c src/sys/i386/i386 intr_machdep.c io_apic.c local_apic.c ...

John Baldwin jhb at freebsd.org
Wed Oct 11 15:07:54 PDT 2006


On Wednesday 11 October 2006 17:48, M. Warner Losh wrote:
> In message: <200610102323.k9ANNCYg095555 at repoman.freebsd.org>
>             John Baldwin <jhb at FreeBSD.org> writes:
> : jhb         2006-10-10 23:23:12 UTC
> : 
> :   FreeBSD src repository
> : 
> :   Modified files:
> :     sys/amd64/amd64      intr_machdep.c io_apic.c local_apic.c 
> :                          machdep.c mp_machdep.c 
> :     sys/amd64/include    apicvar.h intr_machdep.h 
> :     sys/amd64/isa        atpic.c 
> :     sys/i386/i386        intr_machdep.c io_apic.c local_apic.c 
> :                          mp_machdep.c 
> :     sys/i386/include     apicvar.h intr_machdep.h 
> :     sys/i386/isa         atpic.c 
> :   Log:
> :   Change the x86 interrupt code to suspend/resume interrupt controllers
> :   (PICs) rather than interrupt sources.  This allows interrupt controllers
> :   with no interrupt pics (such as the 8259As when APIC is in use) to
> :   participate in suspend/resume.
> :   - Always register the 8259A PICs even if we don't use any of their pins.
> :   - Explicitly reset the 8259As on resume on amd64 if 'device atpic' isn't
> :     included.
> :   - Add a "dummy" PIC for the local APIC on the BSP to reset the local 
APIC
> :     on resume.  This gets suspend/resume working with APIC on UP systems.
> :     SMP still needs more work to bring the APs back to life.
> :   
> :   The MFC after is tentative.
> 
> This likely obsoletes the pmtimer device.

Nope, that resumes the RTC and ISA timer, not the PICs.

-- 
John Baldwin


More information about the cvs-src mailing list