Skip to contentSkip to conversation

About MSI for vioscsi

Qemu-devel Wangting (Kathy) 2 participants 5 messages Jan 8, 2015 – Jan 9, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

#2 lore raw
Quoted 12 lines · Wangting (Kathy)

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

Quoted 7 lines

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.

Quoted 14 lines

Thank you very much.

Best wishes,

Ting Wang

#3 lore raw
Quoted 17 lines · Vadim Rozenfeld
Quoted 16 lines · Wangting (Kathy)

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.

Quoted 9 lines
Quoted 3 lines

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?

Quoted 18 lines
Quoted 14 lines

Thank you very much.

Best wishes,

Ting Wang

#4 lore raw
Quoted 21 lines · Wangting (Kathy)
Quoted 19 lines · Vadim Rozenfeld
Quoted 18 lines · Wangting (Kathy)

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.

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

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.

Quoted 20 lines
Quoted 18 lines
Quoted 14 lines

Thank you very much.

Best wishes,

Ting Wang

#5 lore raw
Quoted 26 lines · Vadim Rozenfeld
Quoted 25 lines · Wangting (Kathy)
Quoted 23 lines · Vadim Rozenfeld
Quoted 12 lines · Wangting (Kathy)

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

Quoted 7 lines

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?

Quoted 10 lines
Quoted 4 lines
Quoted 3 lines

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

Quoted 24 lines
Quoted 20 lines
Quoted 18 lines
Quoted 14 lines

Thank you very much.

Best wishes,

Ting Wang