From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "Wu, GabrielX" <gabrielx.wu@intel.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: xl allows multiple PCI attach of same device + triggers pciback bug(Was: Re: VMX status report. Xen:25605 & Dom0:3.4.4)
Date: Mon, 23 Jul 2012 10:31:07 -0400 [thread overview]
Message-ID: <20120723143107.GD793@phenom.dumpdata.com> (raw)
In-Reply-To: <1343039882.4091.8.camel@zakaz.uk.xensource.com>
On Mon, Jul 23, 2012 at 11:38:02AM +0100, Ian Campbell wrote:
> On Wed, 2012-07-18 at 08:12 +0100, Wu, GabrielX wrote:
> > Hi all,
> >
> > This is the test report of xen-unstable tree.
> > There is 2 issues found and no issue got fixed.
> >
> > Version Info:
> > =================================================================
> > xen-changeset: 25605:9950f2dc2ee6
> > Dom0: linux.git 3.4.4
> > =================================================================
> >
> > New issues(2)
> > ==============
> [...]
> > 2. Dom0 cannot be shutdown before PCI detachment from guest and when pci assignment conflicts
> > http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1826
>
> I think there are two issues here. The first is that xl even allows you
> to assign the same device twice (I have included this as a BUG on this
> weeks TODO posting) and the second sounds like a kernel side / pciback
> bug). Konrad does that sound plausible?
The pciback has logic to call this:
1666 /* Check whether the IRQ line is shared with other guests. */
1667 int xen_test_irq_shared(int irq)
1668 {
1669 struct irq_info *info = info_for_irq(irq);
1670 struct physdev_irq_status_query irq_status = { .irq = info->u.pirq.pirq };
1671
1672 if (HYPERVISOR_physdev_op(PHYSDEVOP_irq_status_query, &irq_status))
1673 return 0;
1674 return !(irq_status.flags & XENIRQSTAT_shared);
1675 }
1676 EXPORT_SYMBOL_GPL(xen_test_irq_shared);
to figure out whether it needs to Ack the interrupt line in dom0 - to avoid
those 'nobody cared' errors.
Could it be that the XENIRQSTAT_shared is not being stampted anymore?
>
> Ian.
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
prev parent reply other threads:[~2012-07-23 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 7:12 VMX status report. Xen:25605 & Dom0:3.4.4 Wu, GabrielX
2012-07-23 10:34 ` parameter 'maxvcpus' causes hvm guest boots up with wrong vcpu number (Was: Re: VMX status report. Xen:25605 & Dom0:3.4.4) Ian Campbell
2012-07-23 12:20 ` Zhang, Yang Z
2012-07-23 10:38 ` xl allows multiple PCI attach of same device + triggers pciback bug(Was: " Ian Campbell
2012-07-23 14:31 ` Konrad Rzeszutek Wilk [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=20120723143107.GD793@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=gabrielx.wu@intel.com \
--cc=xen-devel@lists.xen.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 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).