git: kernel - Improve debugging of spurious interrupts

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 28 13:39:23 PDT 2020


commit add2647ee1fad67c3a55c30eb1190d71a9a0eea0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jul 28 13:38:22 2020 -0700

    kernel - Improve debugging of spurious interrupts
    
    * Report spurious T_RESERVED interrupt vectors / trap numbers.  Report
      the actual trap number and try to ignore it.  If this occurs it
      helps with debugging as a cold boot 'vmstat -i -v' can be matched
      up against the spurious interrupt number (usually spurious# - 0x20)
      to locate the PCI device causing the problem.

Summary of changes:
 sys/cpu/x86_64/include/trap.h        |   2 +-
 sys/platform/pc64/apic/lapic.c       |  13 +++-
 sys/platform/pc64/x86_64/exception.S |  46 +++++++++++-
 sys/platform/pc64/x86_64/machdep.c   | 137 ++++++++++++++++++++++++++++++++++-
 sys/platform/pc64/x86_64/trap.c      |  23 ++++--
 5 files changed, 207 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/add2647ee1fad67c3a55c30eb1190d71a9a0eea0


-- 
DragonFly BSD source repository


More information about the Commits mailing list