<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><br> Hmm, that doesn't make sense to me. The mask bits do not overlap anything else. I'm looking at figure 6-9 on page 233 of the PCI 3.0 specification.<br><br> The code in MsiCommon.cpp is clear enough. Are you failing to set the fMsi64bit flag when registering the MSI capability?<br><br> You probably also noticed that MsiInit() always sets the BOX_PCI_MSI_FLAGS_MASKBIT and there is currently no way to register an emulated device without MSI per-vector masking. That should not cause trouble since guest software does not have to use masking.<br><br>     - Michal<br><br>----- Original Message -----<br>From: apallapothu@gmail.com<br>To: vbox-dev@virtualbox.org<br>Sent: Monday, December 21, 2015 5:16:15 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna<br>Subject: [vbox-dev] ICH9 MSI handling<br><br><div dir="ltr"><div>Hello Developers, </div><div><br></div><div>      I am experimenting on ICH9 with a pluggable device. Reason for using ICH9 is MSI support. </div><div>Following through AHCI, HPET device I see that code is aligned for specific mode of MSI configuration, "Per-Vector Masking Capable". </div><div><br></div><div>      MsiNotify function reads Mask Bits, Pending Bits without conditionally checking whether device is Per-Vector Masking Capable. So, by default code thinks offset 0xC reg as mask data where infact it is MSI data with Interrupt Vector ID incase of masking disabled. iVector value seems to be confusing too.</div><div><br></div><div>     My particular device needs to be configured for 64 bit MSI address capable and Mask disabled, so, MSI_MSG_CNTL @ MSI capability offset 0x02 = 0x0081</div><div><br></div><div>    Can someone please suggest, recommend changes to handle this mode of MSI operation ?</div><div><br></div><div>Thanks.</div></div>
</div></body></html>