[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Questions about writing to GCMD_REG in iommu.c


  • To: "Neo Jia" <neojia@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Mon, 14 Jul 2008 17:10:56 +0800
  • Cc:
  • Delivery-date: Mon, 14 Jul 2008 02:11:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acjkx/WIqtlioY5jSuaUll3MU3OmhAAyPhNw
  • Thread-topic: [Xen-devel] Questions about writing to GCMD_REG in iommu.c

Current code has guaranteed this. After writing GCMD_REG, there is a
checking to make sure hardware completing it. Can you point out the code
which misses the check?

Randy (Weidong)

Neo Jia wrote:
> hi,
> 
> I am reading through the code of writing GCMD_REG in iommu.c for VT-d
> on xen-unstable tip. According to the Intel VT-d spec. it looks that
> we have to make sure that only one bit of this register is modified at
> one time with one register write. But the current code doesn't do that
> kind of checking, right?
> 
> Thanks,
> Neo


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.