All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Keir Fraser <keir@xen.org>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2 2/4] x86/MSI-X: access MSI-X table only after having enabled MSI-X
Date: Thu, 16 Apr 2015 14:21:47 -0400	[thread overview]
Message-ID: <20150416182147.GB7388@x230.dumpdata.com> (raw)
In-Reply-To: <552F84420200007800072922@mail.emea.novell.com>

On Thu, Apr 16, 2015 at 08:43:30AM +0100, Jan Beulich wrote:
> >>> On 15.04.15 at 19:41, <konrad.wilk@oracle.com> wrote:
> > On Mon, Apr 13, 2015 at 10:05:14AM +0100, Jan Beulich wrote:
> >> You mentioning XSA-120 and its addendum - are these requirements
> >> for the problem to be seen? I admit I may have tested a PV guest
> >> only with an SR-IOV VF (and only a HVM guest also with an "ordinary"
> >> device), but I'd like to be clear about the validity of the connection.
> > 
> > No. I just tried with v4.0-rc5 (and then also v4.0) and just 
> > using SR-IOV to make this simpler.
> 
> Good.
> 
> > With staging  + two of your patches:
> > a10cc68 TODO: drop //temp-s
> > 1b8721c x86/MSI-X: be more careful during teardown
> > 
> > When trying to enable SR-IOV I get this error:
> 
> Okay, this definitely works for me, albeit I know I had to do
> adjustments to avoid running into the (debug) warning you've
> hit. But (looking at the call stack) it surely would be a mistake to
> set up an MSI-X IRQ on the device without first enabling MSI-X
> on the it (i.e. the error returned could be considered legitimate).
> While we may want the hypervisor to cope with this (by enabling
> MSI-X on this path, which I'd have to add to that patch), is this
> hypervisor change perhaps uncovering a pv-ops kernel issue (in
> that other than what drivers/pci/msi.c does as of the commit
> mentioned in the description of that second patch some Xen-
> specific path fails to enable MSI-X before setting up any of the
> entries)?

Everything is possible :-)

What kernel are you using? Or better yet - what branch/tree could
one find it at?
> 
> Jan
> 

  reply	other threads:[~2015-04-16 18:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 16:34 [PATCH v2 0/4] x86/MSI-X: XSA-120 follow-up Jan Beulich
2015-03-25 16:39 ` [PATCH v2 1/4] x86/MSI-X: be more careful during teardown Jan Beulich
2015-03-30 10:05   ` Andrew Cooper
2015-04-02 16:49   ` Stefano Stabellini
2015-04-13  9:11     ` Jan Beulich
2015-04-13 10:50       ` Stefano Stabellini
2015-04-13 11:21         ` Jan Beulich
2015-04-13 12:01           ` Stefano Stabellini
2015-04-13 12:47             ` Jan Beulich
2015-04-13 15:09               ` Stefano Stabellini
2015-04-14 13:47       ` Ian Campbell
2015-03-25 16:39 ` [PATCH v2 2/4] x86/MSI-X: access MSI-X table only after having enabled MSI-X Jan Beulich
2015-04-10 20:02   ` Konrad Rzeszutek Wilk
2015-04-13  9:05     ` Jan Beulich
2015-04-15 17:41       ` Konrad Rzeszutek Wilk
2015-04-16  7:43         ` Jan Beulich
2015-04-16 18:21           ` Konrad Rzeszutek Wilk [this message]
2015-04-17  7:09             ` Jan Beulich
2015-04-17 14:01         ` Jan Beulich
2015-03-25 16:40 ` [PATCH v2 3/4] x86/MSI-X: reduce fiddling with control register during restore Jan Beulich
2015-03-25 16:40 ` [PATCH v2 4/4] x86/MSI-X: cleanup Jan Beulich

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=20150416182147.GB7388@x230.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.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.