From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH resend 3/3] pciif: add multi-vector-MSI command Date: Wed, 17 Jul 2013 10:02:28 +0100 Message-ID: <51E65DA4.7030400@citrix.com> References: <51E535F902000078000E547F@nat28.tlf.novell.com> <51E5395002000078000E54B2@nat28.tlf.novell.com> <51E52C42.1000808@citrix.com> <51E54C0402000078000E55A5@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51E54C0402000078000E55A5@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Keir Fraser , xiantao.zhang@intel.com, xen-devel List-Id: xen-devel@lists.xenproject.org On 16/07/13 12:35, Jan Beulich wrote: >>>> On 16.07.13 at 13:19, Andrew Cooper wrote: >> On 16/07/13 11:15, Jan Beulich wrote: >>> The requested vector count is to be passed in struct xen_pci_op's info >>> field. Upon failure, if a smaller vector count might work, the backend >>> will pass that smaller count in the value field (which so far is always >>> being set to zero in the error path). >>> >>> Signed-off-by: Jan Beulich >>> >>> --- a/xen/include/public/io/pciif.h >>> +++ b/xen/include/public/io/pciif.h >>> @@ -46,6 +46,7 @@ >>> #define XEN_PCI_OP_aer_resume (7) >>> #define XEN_PCI_OP_aer_mmio (8) >>> #define XEN_PCI_OP_aer_slotreset (9) >>> +#define XEN_PCI_OP_enable_multi_msi (10) >> /* Be sure to bump this number if you change this file */ >> #define XEN_PCI_MAGIC "7" >> >> Should you bump this version, or is the comment stale? The only in-tree >> consumer I can find is MiniOS's pcifront, which writes it into xenstore. > Whether it's stale I don't know (likely it is considering that you > found just a single consumer), but bumping a revision just > because of the (backwards compatible) addition seems > superfluous to me. This would be different if I changed the > existing enable_msi... > > Jan > I suspected that was the answer, but just wanted to check that it hadn't been overlooked, Reviewed-by: Andrew Cooper