Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 11:00:01 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354638 - in head/sys: amd64/amd64 i386/i386
Message-ID:  <201911121100.xACB01Cw031927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Nov 12 11:00:01 2019
New Revision: 354638
URL: https://svnweb.freebsd.org/changeset/base/354638

Log:
  teach db_nextframe/x86 about [X]xen_intr_upcall interrupt handler
  
  Discussed with:	kib, royger
  MFC after:	3 weeks
  Sponsored by:	Panzura

Modified:
  head/sys/amd64/amd64/db_trace.c
  head/sys/i386/i386/db_trace.c

Modified: head/sys/amd64/amd64/db_trace.c
==============================================================================
--- head/sys/amd64/amd64/db_trace.c	Tue Nov 12 10:31:28 2019	(r354637)
+++ head/sys/amd64/amd64/db_trace.c	Tue Nov 12 11:00:01 2019	(r354638)
@@ -203,6 +203,7 @@ db_nextframe(struct amd64_frame **fp, db_addr_t *ip, s
 			frame_type = TRAP;
 		else if (strncmp(name, "Xatpic_intr", 11) == 0 ||
 		    strncmp(name, "Xapic_isr", 9) == 0 ||
+		    strcmp(name, "Xxen_intr_upcall") == 0 ||
 		    strcmp(name, "Xtimerint") == 0 ||
 		    strcmp(name, "Xipi_intr_bitmap_handler") == 0 ||
 		    strcmp(name, "Xcpustop") == 0 ||

Modified: head/sys/i386/i386/db_trace.c
==============================================================================
--- head/sys/i386/i386/db_trace.c	Tue Nov 12 10:31:28 2019	(r354637)
+++ head/sys/i386/i386/db_trace.c	Tue Nov 12 11:00:01 2019	(r354638)
@@ -346,7 +346,8 @@ db_nextframe(struct i386_frame **fp, db_addr_t *ip, st
 			frame_type = SYSCALL;
 		else if (strcmp(name, "dblfault_handler") == 0)
 			frame_type = DOUBLE_FAULT;
-		else if (strcmp(name, "Xtimerint") == 0)
+		else if (strcmp(name, "Xtimerint") == 0 ||
+		    strcmp(name, "Xxen_intr_upcall") == 0)
 			frame_type = INTERRUPT;
 		else if (strcmp(name, "Xcpustop") == 0 ||
 		    strcmp(name, "Xrendezvous") == 0 ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911121100.xACB01Cw031927>