All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Alexander Graf <agraf@suse.de>, qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, qemu-stable@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi
Date: Sun, 04 May 2014 20:28:35 +1000	[thread overview]
Message-ID: <53661653.4020001@ozlabs.ru> (raw)
In-Reply-To: <535F73AB.8010403@suse.de>

On 04/29/2014 07:40 PM, Alexander Graf wrote:
> 
> On 29.04.14 05:17, Alexey Kardashevskiy wrote:
>> Recently a check for maximum supported MSIX vectors number has been
>> added. However the check always assumed that MSIX is the only case
>> and failed on devices which have MSI but do not have MSIX such as
>> QEMU's PCI Bridge. This results in assert in xics_alloc_block() as
>> req_num is zero.
>>
>> This adds a check for MSI vectors number too.
>>
>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>> ---
>>
>> I posted recently a memory corruption fix, patch
>> "spapr_pci: Fix number of returned vectors in ibm, change-msi".
>>
>> However it breaks QEMU's PCI bridge so here is a patch.
>>
>> I would prepare a patch to replace the one in agrag/ppc-next ad01ba7
>> but it has Cc: qemu-stable@nongnu.org in it so I am afraid it could make
>> it to some other tree already (did not it?).
>>
>> Sorry for missing that. This is embarassing :(
> 
> You're lucky - 

No, I am not. Found another bug, please revert this, I'll repost the patch.
Sorry :(


> the patch didn't get out of my queue yet. I've squashed this
> patch into the previous, broken commit and qemu-stable will only get CC'ed
> on the resulting, working patch.


-- 
Alexey

       reply	other threads:[~2014-05-04 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1398741464-21394-1-git-send-email-aik@ozlabs.ru>
     [not found] ` <535F73AB.8010403@suse.de>
2014-05-04 10:28   ` Alexey Kardashevskiy [this message]
2014-05-04 12:02     ` [Qemu-devel] [PATCH] spapr_pci: Fix maximum IRQ number check in ibm, change-msi Alexander Graf

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=53661653.4020001@ozlabs.ru \
    --to=aik@ozlabs.ru \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=qemu-stable@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 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.