svn commit: r326155 - head/sys/amd64/vmm/amd

Andriy Gapon avg at FreeBSD.org
Fri Nov 24 11:34:48 UTC 2017


Author: avg
Date: Fri Nov 24 11:34:46 2017
New Revision: 326155
URL: https://svnweb.freebsd.org/changeset/base/326155

Log:
  amd-vi: print some additional details for INVALID_DEVICE_REQUEST event
  
  Namely, the type of the hardware event and whether the transaction
  was a translation request.
  
  Reviewed by:	anish

Modified:
  head/sys/amd64/vmm/amd/amdvi_hw.c

Modified: head/sys/amd64/vmm/amd/amdvi_hw.c
==============================================================================
--- head/sys/amd64/vmm/amd/amdvi_hw.c	Fri Nov 24 11:25:53 2017	(r326154)
+++ head/sys/amd64/vmm/amd/amdvi_hw.c	Fri Nov 24 11:34:46 2017	(r326155)
@@ -705,8 +705,9 @@ amdvi_decode_evt(struct amdvi_event *evt)
 		break;
 
 	case AMDVI_EVENT_INVALID_DTE_REQ:
-		printf("\t[INV_DTE devid:0x%x addr:0x%lx",
-		    evt->devid, evt->addr);
+		printf("\t[INV_DTE devid:0x%x addr:0x%lx type:0x%x tr:%d]\n",
+		    evt->devid, evt->addr, evt->flag >> 9,
+		    (evt->flag >> 8) & 1);
 		break;
 
 	case AMDVI_EVENT_INVALID_PPR_REQ:


More information about the svn-src-head mailing list