MSI-X not work on Windows 2008R2

Hi, All

I have a raid controller implement MSI-X. But the miniport driver sometimes
cannot receive the interrupt.
I check the PCI configuration, and found that the OS don’t allocate MSI-X
table.
Following is the the INF:

*HKR,“Interrupt Management”,0x00000010*
*HKR,“Interrupt Management\MessageSignaledInterruptProperties”,0x00000010*
*HKR,“Interrupt
Management\MessageSignaledInterruptProperties”,MSISupported, %REG_DWORD%,
%ENABLE%*
*HKR,“Interrupt
Management\MessageSignaledInterruptProperties”,MessageNumberLimit,
%REG_DWORD%, %MSI_MESSAGE_NUM%*
*HKR, Interrupt Management\Affinity Policy, DevicePolicy, %REG_DWORD%,
%SpreadAcrossAllProcessors%*
*HKR, Interrupt Management\Affinity Policy, DevicePriority, %REG_DWORD%,
%PriorityHigh%*
*HKR, Interrupt Management\Affinity Policy, GroupPolicy, %REG_DWORD%, 1*

This inf work correctly with MSI.
I want to know is there anything special needed for MSI-X.

Best regards,
David Zeng

I get the MSI-X information in the miniport driver using *StorPortGetMSIInfo,
*and found that the OS allocate 4 MSIs.
But the Mask bit of the VectorControl in MSI-X Table Entry is set to one.
Does the OS set the mask bit? And why?

On Sun, Apr 7, 2013 at 2:03 PM, David wrote:

> Hi, All
>
> I have a raid controller implement MSI-X. But the miniport driver
> sometimes cannot receive the interrupt.
> I check the PCI configuration, and found that the OS don’t allocate MSI-X
> table.
> Following is the the INF:
>
> HKR,“Interrupt Management”,0x00000010
> HKR,“Interrupt Management\MessageSignaledInterruptProperties”,0x00000010
> HKR,“Interrupt
> Management\MessageSignaledInterruptProperties”,MSISupported, %REG_DWORD%,
> %ENABLE%

> HKR,“Interrupt
> Management\MessageSignaledInterruptProperties”,MessageNumberLimit,
> %REG_DWORD%, %MSI_MESSAGE_NUM%

> HKR, Interrupt Management\Affinity Policy, DevicePolicy, %REG_DWORD%,
> %SpreadAcrossAllProcessors%

> HKR, Interrupt Management\Affinity Policy, DevicePriority, %REG_DWORD%,
> %PriorityHigh%

> HKR, Interrupt Management\Affinity Policy, GroupPolicy, %REG_DWORD%, 1
>
> This inf work correctly with MSI.
> I want to know is there anything special needed for MSI-X.
> –
>
> Best regards,
> David Zeng
>



Best regards,
David Zeng