Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2017 11:34:47 +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: r326155 - head/sys/amd64/vmm/amd
Message-ID:  <201711241134.vAOBYloV077078@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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