Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2017 11:20:10 +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: r326152 - head/sys/amd64/vmm/amd
Message-ID:  <201711241120.vAOBKAOS068836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Nov 24 11:20:10 2017
New Revision: 326152
URL: https://svnweb.freebsd.org/changeset/base/326152

Log:
  amd-vi: fix and extend definition of Command and Event Status Register (0x2020)
  
  The defined bits are the lower bits, not the higher ones.
  
  Also, the specification has been extended to define bits 0:18 and they
  all could potentially be interesting to us, so extend the width of the
  field accordingly.
  
  Reviewed by:	anish

Modified:
  head/sys/amd64/vmm/amd/amdvi_priv.h

Modified: head/sys/amd64/vmm/amd/amdvi_priv.h
==============================================================================
--- head/sys/amd64/vmm/amd/amdvi_priv.h	Fri Nov 24 11:10:36 2017	(r326151)
+++ head/sys/amd64/vmm/amd/amdvi_priv.h	Fri Nov 24 11:20:10 2017	(r326152)
@@ -230,8 +230,8 @@ struct amdvi_ctrl {
 	uint64_t :45;
 	uint32_t evt_tail:19;
 	uint64_t :45;
-	uint64_t :56;
-	uint8_t	 status:8;
+	uint8_t	 status:19;
+	uint64_t :45;
 	uint64_t pad2;
 	uint8_t  :4;
 	uint16_t ppr_head:15;



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