Skip to content

Commit

Permalink
pci-bus: Support MSI & MSI-X interrupts
Browse files Browse the repository at this point in the history
- MSI-X state sits in a dedicated BAR (BAR4 or BAR5, whichever is available). If MSI-X state can't be assigned a BAR, only MSI support is reported for a function
- Implement vector masking & pending bits properly
- Do not send MSI/MSI-X if Bus Mastering is disabled
- Currently only 1 MSI-X entry is reported. This is because NVMe implementation doesn't yet deal with multiple MSI vectors properly yet, so it needs additional fixes
  • Loading branch information
LekKit committed Feb 3, 2025
1 parent fdb10ff commit 4e91d33
Showing 1 changed file with 300 additions and 87 deletions.
Loading

0 comments on commit 4e91d33

Please # to comment.