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
Tue Oct 10 16:23:13 PDT 2006


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.
  
  Tested by:      anholt (i386)
  Submitted by:   Andrea Bittau <a.bittau at cs.ucl.ac.uk> (3)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.21      +74 -10    src/sys/amd64/amd64/intr_machdep.c
  1.25      +8 -15     src/sys/amd64/amd64/io_apic.c
  1.32      +21 -5     src/sys/amd64/amd64/local_apic.c
  1.655     +1 -13     src/sys/amd64/amd64/machdep.c
  1.278     +1 -1      src/sys/amd64/amd64/mp_machdep.c
  1.19      +1 -1      src/sys/amd64/include/apicvar.h
  1.11      +7 -2      src/sys/amd64/include/intr_machdep.h
  1.20      +14 -9     src/sys/amd64/isa/atpic.c
  1.20      +48 -10    src/sys/i386/i386/intr_machdep.c
  1.29      +8 -14     src/sys/i386/i386/io_apic.c
  1.34      +21 -5     src/sys/i386/i386/local_apic.c
  1.271     +1 -1      src/sys/i386/i386/mp_machdep.c
  1.19      +1 -1      src/sys/i386/include/apicvar.h
  1.13      +4 -2      src/sys/i386/include/intr_machdep.h
  1.26      +14 -9     src/sys/i386/isa/atpic.c


More information about the cvs-src mailing list