qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Alexey Kardashevskiy <aik@ozlabs.ru>, qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, Badari Pulavarty <pbadari@us.ibm.com>
Subject: Re: [Qemu-devel] [PATCH] spapr_pci: Advertise MSI quota
Date: Wed, 11 Jun 2014 10:19:58 +0200	[thread overview]
Message-ID: <5398112E.1050307@suse.de> (raw)
In-Reply-To: <539810D8.1080406@ozlabs.ru>


On 11.06.14 10:18, Alexey Kardashevskiy wrote:
> On 06/11/2014 06:06 PM, Alexander Graf wrote:
>> On 11.06.14 10:05, Alexey Kardashevskiy wrote:
>>> From: Badari Pulavarty <pbadari@us.ibm.com>
>>>
>>> Hotplug of multiple disks fails due to MSI vector quota check.
>>> Number of MSI vectors default to 8 allowing only 4 devices.
>>> This happens on RHEL6.5 guest. RHEL7 and SLES11 guests fallback
>>> to INTX.
>>>
>>> One way to workaround the issue is to increase total MSIs,
>>> so that MSI quota check allows us to hotplug multiple disks.
>>>
>>> Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
>>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>>> ---
>>>    hw/ppc/spapr_pci.c | 2 ++
>>>    1 file changed, 2 insertions(+)
>>>
>>> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
>>> index ddfd8bb..ebd92fd 100644
>>> --- a/hw/ppc/spapr_pci.c
>>> +++ b/hw/ppc/spapr_pci.c
>>> @@ -831,6 +831,7 @@ int spapr_populate_pci_dt(sPAPRPHBState *phb,
>>>        int bus_off, i, j;
>>>        char nodename[256];
>>>        uint32_t bus_range[] = { cpu_to_be32(0), cpu_to_be32(0xff) };
>>> +    uint16_t nmsi = 64;
>> Why 64?
> Why not? :)
> We need some number here instead of default 8, that's pretty much it. 256?

How is 64 any better than 8? How many MSIs can we support? Can't we just 
put that number in? If it's more than 64k, just put in 64k?


Alex

      reply	other threads:[~2014-06-11  8:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11  8:05 [Qemu-devel] [PATCH] spapr_pci: Advertise MSI quota Alexey Kardashevskiy
2014-06-11  8:06 ` Alexander Graf
2014-06-11  8:10   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2014-06-11  8:18   ` [Qemu-devel] " Alexey Kardashevskiy
2014-06-11  8:19     ` 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=5398112E.1050307@suse.de \
    --to=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=pbadari@us.ibm.com \
    --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).