All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Cc: Keir Fraser <keir@xen.org>
Subject: Re: [PATCH] x86/MSI-X: correctly track interrupt masking state
Date: Fri, 22 Apr 2016 17:35:19 +0100	[thread overview]
Message-ID: <571A52C7.2090901@citrix.com> (raw)
In-Reply-To: <5719ECCB02000078000E486F@prv-mh.provo.novell.com>

On 22/04/16 08:20, Jan Beulich wrote:
> When a guest unmasks MSI-X interrupts before enabling MSI-X on the
> device, so far nothing updates the {host,guest}_masked internal state;
> this to date only gets done when MSI-X is already enabled. This is why
> half way recent Linux works (as it enables MSI-X first), while Windows
> doesn't (as it enables MSI-X only after having set up und unmasked all
> vectors). Since with a successful write to the vector control field
> everything is ready internally, we should also update internal tracking
> state there, regardless of the device's MSI-X enabled state.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-04-22 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  7:20 [PATCH] x86/MSI-X: correctly track interrupt masking state Jan Beulich
2016-04-22 16:35 ` Andrew Cooper [this message]
2016-04-25 11:24   ` Jan Beulich
2016-04-25 11:29     ` Wei Liu

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=571A52C7.2090901@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.