From: Alexander Graf <agraf@suse.de>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] spapr_pci: fix MSI limit
Date: Thu, 08 May 2014 12:00:09 +0200 [thread overview]
Message-ID: <536B55A9.6020708@suse.de> (raw)
In-Reply-To: <1399212588-23304-1-git-send-email-aik@ozlabs.ru>
On 05/04/2014 04:09 PM, Alexey Kardashevskiy wrote:
> At the moment XICS does not support interrupts reuse so sPAPR PHB
> implements this. sPAPRPHBState holds array of 32 spapr_pci_msi to
> describe PCI config address, first MSI and number of MSIs. Once
> allocated for a device, QEMU tries reusing this config until the number
> of MSIs changes.
>
> Existing SPAPR guests call ibm,change-msi in a loop until the handler
> returns the requested number of vectors.
>
> Recently introduced check for the maximum number of MSI/MSIX vectors
> supported by a device only works for a device which is new for PHB's
> MSI cache. If it is already there, the check is not performed which
> leads to new IRQ block allocation. This happens during PCI hotplug
> even when the user hot plug the same device which he just hot unplugged.
>
> This moves the check earlier.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Thanks, applied to ppc-next.
Alex
prev parent reply other threads:[~2014-05-08 10:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-04 14:09 [Qemu-devel] [PATCH] spapr_pci: fix MSI limit Alexey Kardashevskiy
2014-05-08 10:00 ` Alexander Graf [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=536B55A9.6020708@suse.de \
--to=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.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).