Please check the attached patch and following test steps.
Test steps and results:
First of all, Enable CONFIG_PCI_MSI=y, and rebuild the image
Then,
EP side(console command and kernel message):
root@sabresd_6dq:/ # memtool 1ff8000=1
Writing 32-bit value 0x1 to address 0x01FF8000
root@sabresd_6dq:/ #
|
|
\/
RC side(console command and kernel message):
root@sabresd_6dq:/ #
Test for MSI interrupt - handle_simple_irq triggered by irq: 497
root@sabresd_6dq:/ # cat /proc/interrupts | grep MSI
497: 1 0 0 0 PCIe-MSI
root@sabresd_6dq:/ #
|
|
\/
EP side(console command and kernel message):
root@sabresd_6dq:/ # memtool 1ff8000=1
Writing 32-bit value 0x1 to address 0x01FF8000
|
|
\/
RC side(console command and kernel message):
root@sabresd_6dq:/ #
Test for MSI interrupt - handle_simple_irq triggered by irq: 497
root@sabresd_6dq:/ # cat /proc/interrupts | grep MSI
497: 2 0 0 0 PCIe-MSI
root@sabresd_6dq:/ #
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------