From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmale-0003Wy-2K for qemu-devel@nongnu.org; Wed, 21 Sep 2016 02:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmalZ-0000uQ-VP for qemu-devel@nongnu.org; Wed, 21 Sep 2016 02:12:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmalZ-0000uE-Od for qemu-devel@nongnu.org; Wed, 21 Sep 2016 02:12:21 -0400 Date: Wed, 21 Sep 2016 14:12:17 +0800 From: Peter Xu Message-ID: <20160921061217.GI5134@pxdev.xzpeter.org> References: <1474474337-45073-1-git-send-email-feng.wu@intel.com> <20160921054522.GH5134@pxdev.xzpeter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] intel-iommu: Check IOAPIC's Trigger Mode against the one in IRTE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Wu, Feng" Cc: "qemu-devel@nongnu.org" , "pbonzini@redhat.com" On Wed, Sep 21, 2016 at 05:54:40AM +0000, Wu, Feng wrote: > > > > -----Original Message----- > > From: Peter Xu [mailto:peterx@redhat.com] > > Sent: Wednesday, September 21, 2016 1:45 PM > > To: Wu, Feng > > Cc: qemu-devel@nongnu.org; pbonzini@redhat.com > > Subject: Re: [Qemu-devel] [PATCH] intel-iommu: Check IOAPIC's Trigger Mode > > against the one in IRTE > > > > On Thu, Sep 22, 2016 at 12:12:17AM +0800, Feng Wu wrote: > > > The Trigger Mode field of IOAPIC must match the Trigger Mode in > > > the IRTE according to VT-d Spec 5.1.5.1. > > > > > > Signed-off-by: Feng Wu > > > > Reviewed-by: Peter Xu > > > > Could I ask why we want this now? I know that both vector and trigger > > mode should not be aligned in current kernel. > > Oh, I don't aware of this. I was just looking at the code and found seems > the Spec says we need to check it. So I added the check. :) Yeah, that's good enough a reason. :-) -- peterx