Skip to content

Commit

Permalink
pci/pci_uio_ivshmem: pci uio ivshmem msix interrupt support
Browse files Browse the repository at this point in the history
1. Change pci uio ivshmem driver from pci bus based tp pci-ivshmem
bus based;
2. Add the interrupt support by usin the pci_ivshmem API;

Signed-off-by: Bowen Wang <[email protected]>
  • Loading branch information
CV-Bowen authored and anchao committed Sep 14, 2024
1 parent 733a680 commit 7a495fa
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 75 deletions.
12 changes: 12 additions & 0 deletions drivers/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,22 @@ config PCI_IVSHMEM
config PCI_UIO_IVSHMEM
bool "Enable uio ivshmem driver support"
default n
depends on PCI_IVSHMEM
---help---
When this option is enabled, char ivshmem driver will register
char device with name: "/dev/uioX" to the VFS, then
application can open this device and use `mmap()` to get the
share memory provided by ivshmem device.

config PCI_UIO_IVSHMEM_IDTABLE
string "The id table of uio ivshmem device"
depends on PCI_UIO_IVSHMEM
---help---
"id0;id1;id2", e.g.: "0;1;2"

config PCI_UIO_IVSHMEM_NPOLLWAITERS
int "PCI uio ivshmem poll waiter number"
default 2
depends on PCI_UIO_IVSHMEM

endif # PCI
Loading

0 comments on commit 7a495fa

Please sign in to comment.