From: Sheng Yang Subject: Re: [PATCH 05/11] KVM: Add fields for MSI device assignment Date: Tue, 25 Nov 2008 23:07:57 +0800 Message-ID: <20081125150757.GA32675@yukikaze> References: <1227095114-13792-1-git-send-email-sheng@linux.intel.com> <1227095114-13792-6-git-send-email-sheng@linux.intel.com> <49292C27.7030206@redhat.com> <200811240951.14758.sheng@linux.intel.com> <492C0FDD.8000609@redhat.com> <492C108D.6040209@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sheng Yang , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from rv-out-0506.google.com ([209.85.198.236]:41172 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbYKYPIA (ORCPT ); Tue, 25 Nov 2008 10:08:00 -0500 Received: by rv-out-0506.google.com with SMTP id k40so2572356rvb.1 for ; Tue, 25 Nov 2008 07:07:59 -0800 (PST) Content-Disposition: inline In-Reply-To: <492C108D.6040209@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Nov 25, 2008 at 04:49:49PM +0200, Avi Kivity wrote: > Avi Kivity wrote: >>> (In fact, PCI spec defined message data length is u64, but as you >>> see, now msi_msg for whole Linux only have u32...) >>> >> >> Well in that case please define data as __u64, so we don't have >> surprises later on. >> > > btw, if you agree with this, don't resend; I'll edit the patch. Sorry, I found I made a mistake. Intel SDM 3A misleaded me... The PCI spec defined message data as u16(!!), but Intel SDM 3A got a figure(Figure 8-25) that reserved all bits up to bit 63, so I thought message data got u64 long...(At last moment, I remembered the figure on PCI spec and felt something strange...) Now I think the latest patchset(v6) is OK to apply. -- regards Yang, Sheng > > -- > error compiling committee.c: too many arguments to function > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html