[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] spapr_pci: Fix config space corruption
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] spapr_pci: Fix config space corruption |
Date: |
Wed, 27 Aug 2014 13:00:33 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 13.08.14 09:20, Alexey Kardashevskiy wrote:
> When disabling MSI/MSIX via "ibm,change-msi" RTAS call, no check was made
> if MSI or MSIX is actually supported and the MSI message was reset
> unconditionally. If this happened on a device which does not support MSI
> (but does support MSIX, otherwise "ibm,change-msi" would not be called),
> this device would have PCIDevice::msi_cap field (MSI capability offset)
> set to zero and writing a vector would actually clear PCI status.
>
> This clears MSI message only if MSI or MSIX is present on a device.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
Thanks, applied to ppc-next.
Alex