Re: [Qemu-devel] [PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-14 Thread Alex Williamson
On Thu, 2012-06-14 at 15:44 +1000, Alexey Kardashevskiy wrote: On 14/06/12 15:38, Alex Williamson wrote: On Thu, 2012-06-14 at 15:17 +1000, Alexey Kardashevskiy wrote: On 14/06/12 14:56, Alex Williamson wrote: On Thu, 2012-06-14 at 14:31 +1000, Alexey Kardashevskiy wrote: Normally QEMU

[PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-13 Thread Alexey Kardashevskiy
Normally QEMU expects the guest to initialize MSI/MSIX vectors. However on POWER the guest uses RTAS subsystem to configure MSI/MSIX and does not write these vectors to device's config space or MSIX BAR. On the other hand, msi_notify()/msix_notify() write to these vectors to signal the guest

Re: [Qemu-devel] [PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-13 Thread Alex Williamson
On Thu, 2012-06-14 at 14:31 +1000, Alexey Kardashevskiy wrote: Normally QEMU expects the guest to initialize MSI/MSIX vectors. However on POWER the guest uses RTAS subsystem to configure MSI/MSIX and does not write these vectors to device's config space or MSIX BAR. On the other hand,

Re: [Qemu-devel] [PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-13 Thread Alexey Kardashevskiy
On 14/06/12 14:56, Alex Williamson wrote: On Thu, 2012-06-14 at 14:31 +1000, Alexey Kardashevskiy wrote: Normally QEMU expects the guest to initialize MSI/MSIX vectors. However on POWER the guest uses RTAS subsystem to configure MSI/MSIX and does not write these vectors to device's config

Re: [Qemu-devel] [PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-13 Thread Alexey Kardashevskiy
On 14/06/12 15:38, Alex Williamson wrote: On Thu, 2012-06-14 at 15:17 +1000, Alexey Kardashevskiy wrote: On 14/06/12 14:56, Alex Williamson wrote: On Thu, 2012-06-14 at 14:31 +1000, Alexey Kardashevskiy wrote: Normally QEMU expects the guest to initialize MSI/MSIX vectors. However on POWER

Re: [Qemu-devel] [PATCH 1/3] msi/msix: added functions to API to set up message address and data

2012-06-13 Thread Jan Kiszka
On 2012-06-14 07:17, Alexey Kardashevskiy wrote: On 14/06/12 14:56, Alex Williamson wrote: On Thu, 2012-06-14 at 14:31 +1000, Alexey Kardashevskiy wrote: Normally QEMU expects the guest to initialize MSI/MSIX vectors. However on POWER the guest uses RTAS subsystem to configure MSI/MSIX and