From: "Neo Jia" Subject: Questions about writing to GCMD_REG in iommu.c Date: Sun, 13 Jul 2008 02:07:28 -0700 Message-ID: <5d649bdb0807130207h69fc5c76p5150969502752664@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using!