From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] x86/MSI: don't flag non-maskable entries a host-masked Date: Wed, 26 Aug 2015 09:57:08 -0400 Message-ID: <20150826135707.GC21769@l.oracle.com> References: <55DDE040020000780009D294@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZUbCU-0007FB-Tb for xen-devel@lists.xenproject.org; Wed, 26 Aug 2015 13:57:15 +0000 Content-Disposition: inline In-Reply-To: <55DDE040020000780009D294@prv-mh.provo.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: xen-devel , Keir Fraser , Wei Liu , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On Wed, Aug 26, 2015 at 07:50:24AM -0600, Jan Beulich wrote: > 'M' debug key output looks confusing without this adjustment. > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/msi.c > +++ b/xen/arch/x86/msi.c > @@ -716,8 +716,8 @@ static int msi_capability_init(struct pc > entry[i].msi_attrib.type = PCI_CAP_ID_MSI; > entry[i].msi_attrib.is_64 = is_64bit_address(control); > entry[i].msi_attrib.entry_nr = i; > + entry[i].msi_attrib.host_masked = > entry[i].msi_attrib.maskbit = is_mask_bit_support(control); > - entry[i].msi_attrib.host_masked = 1; > entry[i].msi_attrib.guest_masked = 0; > entry[i].msi_attrib.pos = pos; > if ( entry[i].msi_attrib.maskbit ) > > > > x86/MSI: don't flag non-maskable entries a host-masked s/a/as/ ? > > 'M' debug key output looks confusing without this adjustment. > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/msi.c > +++ b/xen/arch/x86/msi.c > @@ -716,8 +716,8 @@ static int msi_capability_init(struct pc > entry[i].msi_attrib.type = PCI_CAP_ID_MSI; > entry[i].msi_attrib.is_64 = is_64bit_address(control); > entry[i].msi_attrib.entry_nr = i; > + entry[i].msi_attrib.host_masked = > entry[i].msi_attrib.maskbit = is_mask_bit_support(control); > - entry[i].msi_attrib.host_masked = 1; > entry[i].msi_attrib.guest_masked = 0; > entry[i].msi_attrib.pos = pos; > if ( entry[i].msi_attrib.maskbit ) > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel