* [Qemu-devel] Fwd: [question] About MSI for vioscsi
[not found] <54AE4253.2090206@huawei.com>
@ 2015-01-08 8:40 ` Wangting (Kathy)
2015-01-08 9:01 ` Vadim Rozenfeld
0 siblings, 1 reply; 5+ messages in thread
From: Wangting (Kathy) @ 2015-01-08 8:40 UTC (permalink / raw)
To: Vadim Rozenfeld; +Cc: qemu-devel
Hi Vadim,
In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge
the patch about Bug 1077566 into it, but I find that MSI still doesn't work,
because the value of IRQ is not negative in the device manager.
I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that
pMsixCapOffset->MessageControl.MSIXEnable is zero when
StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled.
I have tested that MSI is successfully enabled in virtio-win-0.1-81.
But I still want to find out why the patch is not work in virtio-win-0.1-74.
Is there some important points I missed?
Thank you very much.
Best wishes,
Ting Wang
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Fwd: [question] About MSI for vioscsi
2015-01-08 8:40 ` [Qemu-devel] Fwd: [question] About MSI for vioscsi Wangting (Kathy)
@ 2015-01-08 9:01 ` Vadim Rozenfeld
2015-01-08 9:27 ` Wangting (Kathy)
0 siblings, 1 reply; 5+ messages in thread
From: Vadim Rozenfeld @ 2015-01-08 9:01 UTC (permalink / raw)
To: Wangting (Kathy); +Cc: qemu-devel
On Thu, 2015-01-08 at 16:40 +0800, Wangting (Kathy) wrote:
> Hi Vadim,
>
> In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge
>
> the patch about Bug 1077566 into it, but I find that MSI still doesn't work,
>
> because the value of IRQ is not negative in the device manager.
>
> I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that
>
> pMsixCapOffset->MessageControl.MSIXEnable is zero when
>
> StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled.
>
> I have tested that MSI is successfully enabled in virtio-win-0.1-81.
>
> But I still want to find out why the patch is not work in virtio-win-0.1-74.
>
> Is there some important points I missed?
Did you enable MSISupported in inf file?
Cheers,
Vadim.
>
> Thank you very much.
>
> Best wishes,
>
> Ting Wang
>
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Fwd: [question] About MSI for vioscsi
2015-01-08 9:01 ` Vadim Rozenfeld
@ 2015-01-08 9:27 ` Wangting (Kathy)
2015-01-08 10:03 ` Vadim Rozenfeld
0 siblings, 1 reply; 5+ messages in thread
From: Wangting (Kathy) @ 2015-01-08 9:27 UTC (permalink / raw)
To: Vadim Rozenfeld; +Cc: qemu-devel
On 2015-1-8 17:01, Vadim Rozenfeld wrote:
> On Thu, 2015-01-08 at 16:40 +0800, Wangting (Kathy) wrote:
>> Hi Vadim,
>>
>> In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge
>>
>> the patch about Bug 1077566 into it, but I find that MSI still doesn't work,
>>
>> because the value of IRQ is not negative in the device manager.
>>
>> I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that
>>
>> pMsixCapOffset->MessageControl.MSIXEnable is zero when
>>
>> StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled.
>>
>> I have tested that MSI is successfully enabled in virtio-win-0.1-81.
>>
>> But I still want to find out why the patch is not work in virtio-win-0.1-74.
>>
>> Is there some important points I missed?
>
> Did you enable MSISupported in inf file?
>
> Cheers,
> Vadim.
>
Where is the inf file? Do you mean qemupciserial.inf?
>>
>> Thank you very much.
>>
>> Best wishes,
>>
>> Ting Wang
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Fwd: [question] About MSI for vioscsi
2015-01-08 9:27 ` Wangting (Kathy)
@ 2015-01-08 10:03 ` Vadim Rozenfeld
2015-01-09 3:48 ` Wangting (Kathy)
0 siblings, 1 reply; 5+ messages in thread
From: Vadim Rozenfeld @ 2015-01-08 10:03 UTC (permalink / raw)
To: Wangting (Kathy); +Cc: qemu-devel
On Thu, 2015-01-08 at 17:27 +0800, Wangting (Kathy) wrote:
>
> On 2015-1-8 17:01, Vadim Rozenfeld wrote:
> > On Thu, 2015-01-08 at 16:40 +0800, Wangting (Kathy) wrote:
> >> Hi Vadim,
> >>
> >> In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge
> >>
> >> the patch about Bug 1077566 into it, but I find that MSI still doesn't work,
> >>
> >> because the value of IRQ is not negative in the device manager.
> >>
> >> I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that
> >>
> >> pMsixCapOffset->MessageControl.MSIXEnable is zero when
> >>
> >> StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled.
> >>
> >> I have tested that MSI is successfully enabled in virtio-win-0.1-81.
> >>
> >> But I still want to find out why the patch is not work in virtio-win-0.1-74.
> >>
> >> Is there some important points I missed?
> >
> > Did you enable MSISupported in inf file?
> >
> > Cheers,
> > Vadim.
> >
> Where is the inf file? Do you mean qemupciserial.inf?
vioscsi.inx in the source directory. After stamping,
it will be copied into vioscsi.inf, as part of build
process.
> >>
> >> Thank you very much.
> >>
> >> Best wishes,
> >>
> >> Ting Wang
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Fwd: [question] About MSI for vioscsi
2015-01-08 10:03 ` Vadim Rozenfeld
@ 2015-01-09 3:48 ` Wangting (Kathy)
0 siblings, 0 replies; 5+ messages in thread
From: Wangting (Kathy) @ 2015-01-09 3:48 UTC (permalink / raw)
To: Vadim Rozenfeld; +Cc: qemu-devel
On 2015-1-8 18:03, Vadim Rozenfeld wrote:
> On Thu, 2015-01-08 at 17:27 +0800, Wangting (Kathy) wrote:
>>
>> On 2015-1-8 17:01, Vadim Rozenfeld wrote:
>>> On Thu, 2015-01-08 at 16:40 +0800, Wangting (Kathy) wrote:
>>>> Hi Vadim,
>>>>
>>>> In order to enable MSI for vioscsi in virtio-win-0.1-74, I try to merge
>>>>
>>>> the patch about Bug 1077566 into it, but I find that MSI still doesn't work,
>>>>
>>>> because the value of IRQ is not negative in the device manager.
>>>>
>>>> I try to trace the I/O path with ENABLE_COM_DEBUG, and I find that
>>>>
>>>> pMsixCapOffset->MessageControl.MSIXEnable is zero when
>>>>
>>>> StorPortGetBusData returned in VioScsiFindAdapter, so MSI can't be enabled.
>>>>
>>>> I have tested that MSI is successfully enabled in virtio-win-0.1-81.
>>>>
>>>> But I still want to find out why the patch is not work in virtio-win-0.1-74.
>>>>
>>>> Is there some important points I missed?
>>>
>>> Did you enable MSISupported in inf file?
>>>
>>> Cheers,
>>> Vadim.
>>>
>> Where is the inf file? Do you mean qemupciserial.inf?
>
> vioscsi.inx in the source directory. After stamping,
> it will be copied into vioscsi.inf, as part of build
> process.
>
>
Sorry, I forget to update vioscsi.inf after compiling. The patch is OK.
Thanks.
Ting
>>>>
>>>> Thank you very much.
>>>>
>>>> Best wishes,
>>>>
>>>> Ting Wang
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-09 3:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <54AE4253.2090206@huawei.com>
2015-01-08 8:40 ` [Qemu-devel] Fwd: [question] About MSI for vioscsi Wangting (Kathy)
2015-01-08 9:01 ` Vadim Rozenfeld
2015-01-08 9:27 ` Wangting (Kathy)
2015-01-08 10:03 ` Vadim Rozenfeld
2015-01-09 3:48 ` Wangting (Kathy)
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).