From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU8tA-000099-26 for qemu-devel@nongnu.org; Tue, 25 Aug 2015 03:43:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZU8t9-0005u5-Aw for qemu-devel@nongnu.org; Tue, 25 Aug 2015 03:43:23 -0400 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:34223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU8t9-0005tw-3Z for qemu-devel@nongnu.org; Tue, 25 Aug 2015 03:43:23 -0400 Received: by laba3 with SMTP id a3so92780241lab.1 for ; Tue, 25 Aug 2015 00:43:22 -0700 (PDT) Message-ID: <55DC1C99.8010807@gmail.com> Date: Tue, 25 Aug 2015 12:43:21 +0500 From: Valentine Sinitsyn MIME-Version: 1.0 References: <1440458369-7384-1-git-send-email-davidkiarie4@gmail.com> <1440458369-7384-3-git-send-email-davidkiarie4@gmail.com> <55DC0D93.1010604@gmail.com> <55DC19DE.6000208@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 2/4] hw/i386: Introduce AMD IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David kiarie Cc: Jan Kiszka , qemu-devel@nongnu.org, mst@redhat.com On 25.08.2015 12:41, David kiarie wrote: > On Tue, Aug 25, 2015 at 10:31 AM, Valentine Sinitsyn [...snip...] >> The spec doesn't say anything about this, I checked it. IIRC, I came across >> this behavior when submitted COMPLETION_WAIT command with interrupts off and >> spin in a while() loop waiting for the mask to be written. The loop never >> finished, but everything worked as intended if I removed COM_COMPLETION_INTR >> for the command. > > Is this behaviour useful in any way ?I'll try to fix this in the next version. I don't think it's useful. The reason I posted this question was to check if this is a bug in silicon or intended behavior. If the latter, I'd suggest to emulate it. Valentine