xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Allen M Kay <allen.m.kay@intel.com>
Cc: Haitao Shan <maillists.shan@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: RE: use of struct hvm_mirq_dpci_mapping.gmsi vs. HVM_IRQ_DPCI_*_MSI flags
Date: Fri, 29 Apr 2011 08:05:01 +0100	[thread overview]
Message-ID: <4DBA7F3D020000780003ED4A@vpn.id2.novell.com> (raw)
In-Reply-To: <987664A83D2D224EAE907B061CE93D5301C524FBCC@orsmsx505.amr.corp.intel.com>

>>> On 28.04.11 at 22:27, "Kay, Allen M" <allen.m.kay@intel.com> wrote:
> 2) HVM_IRQ_DPCI_GUEST_MSI and HVM_IRQ_DPCI_MACH_MSI usage:  These are for 
> handle cases various combination of host and guest interrupt types - 
> host_msi/guest_msi, host_intx/guest_intx, host_msi/guest_intx.  The last one 
> requires translation flag.  It is for supporting non MSI capable guests.  The 
> engineer originally worked on this is no longer working on this project.  You 
> are welcome to clean up if necessary.  However, testing various host/guest 
> interrupt combinations and make sure everything still works is quite a bit of 
> work.

The problem is that from what I can tell the current use is inconsistent,
and this inconsistency is causing problems with the data layout change.
Iirc there's no problem as long as there's not going to be a union for
overlaying the PCI/gMSI fields, so I'm going to leave off that part for
the first step.

As to testing - I'll have to rely on someone at your end doing the full
testing of these changes anyway; I simply don't have the hardware
(and time) to do all that.

> 3) I believe the locking mechanism was originally implemented by 
> Espen@netrome(?) so we are not sure about why the unlock is needed between 
> two iterations.  We have also encountered several which we would like to 
> clean up.  However, we left it as low priority task as the locking mechanisms 
> are quite complex and the amount of testing required after the cleanup is a 
> quite a bit of work.

Then we'll have to see how it goes with the change - see above for
the testing part.

Jan

      reply	other threads:[~2011-04-29  7:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 14:15 use of struct hvm_mirq_dpci_mapping.gmsi vs. HVM_IRQ_DPCI_*_MSI flags Jan Beulich
2011-04-21  7:14 ` Haitao Shan
2011-04-26  8:48   ` Jan Beulich
2011-04-27  2:49     ` Kay, Allen M
2011-04-27  6:43       ` Jan Beulich
2011-04-28  1:31         ` Haitao Shan
2011-04-28 20:27         ` Kay, Allen M
2011-04-29  7:05           ` Jan Beulich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBA7F3D020000780003ED4A@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=allen.m.kay@intel.com \
    --cc=maillists.shan@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).