Searched hist:"4 b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb" (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | interrupt.h | diff 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb Mon Nov 28 19:27:03 CET 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will allocate a single cached value (see comment on struct) for the msi_desc requested if it doesn't exist yet and handle freeing it when the PCI device goes away. We take the values from the ivars of the native (FreeBSD) device.
While changing struct pci_dev also add the msi_cap field requested by a wireless driver.
Bump __FreeBSD_version so these changes can be detected.
MFC after: 3 days X-MFC: move fields to end of struct (alloc happens in linux_pci.c) Reviewed by: hselasky (earlier version) Differential Revision: https://reviews.freebsd.org/D37523
|
H A D | pci.h | diff b15491b4773af99ce2470144ef6bcd9146cc9a98 Fri Jan 27 16:34:42 CET 2023 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: PCI: implement support for more than 1 MSI vector
Following e9715b1c4474333ff119aba3a9a74bff91f72372 and 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb, implement support for up-to 32 MSI vectors. This is used by wireless drivers. This also switches msi_desc to an array in order to store per-vector information.
Sponsored by: The FreeBSD Foundation Discussed with: grehan (in Dec) MFC after: 3 days Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D38222 diff 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb Mon Nov 28 19:27:03 CET 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will allocate a single cached value (see comment on struct) for the msi_desc requested if it doesn't exist yet and handle freeing it when the PCI device goes away. We take the values from the ivars of the native (FreeBSD) device.
While changing struct pci_dev also add the msi_cap field requested by a wireless driver.
Bump __FreeBSD_version so these changes can be detected.
MFC after: 3 days X-MFC: move fields to end of struct (alloc happens in linux_pci.c) Reviewed by: hselasky (earlier version) Differential Revision: https://reviews.freebsd.org/D37523
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_pci.c | diff b15491b4773af99ce2470144ef6bcd9146cc9a98 Fri Jan 27 16:34:42 CET 2023 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: PCI: implement support for more than 1 MSI vector
Following e9715b1c4474333ff119aba3a9a74bff91f72372 and 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb, implement support for up-to 32 MSI vectors. This is used by wireless drivers. This also switches msi_desc to an array in order to store per-vector information.
Sponsored by: The FreeBSD Foundation Discussed with: grehan (in Dec) MFC after: 3 days Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D38222 diff 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb Mon Nov 28 19:27:03 CET 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will allocate a single cached value (see comment on struct) for the msi_desc requested if it doesn't exist yet and handle freeing it when the PCI device goes away. We take the values from the ivars of the native (FreeBSD) device.
While changing struct pci_dev also add the msi_cap field requested by a wireless driver.
Bump __FreeBSD_version so these changes can be detected.
MFC after: 3 days X-MFC: move fields to end of struct (alloc happens in linux_pci.c) Reviewed by: hselasky (earlier version) Differential Revision: https://reviews.freebsd.org/D37523
|
/freebsd/ |
H A D | UPDATING | diff 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb Mon Nov 28 19:27:03 CET 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will allocate a single cached value (see comment on struct) for the msi_desc requested if it doesn't exist yet and handle freeing it when the PCI device goes away. We take the values from the ivars of the native (FreeBSD) device.
While changing struct pci_dev also add the msi_cap field requested by a wireless driver.
Bump __FreeBSD_version so these changes can be detected.
MFC after: 3 days X-MFC: move fields to end of struct (alloc happens in linux_pci.c) Reviewed by: hselasky (earlier version) Differential Revision: https://reviews.freebsd.org/D37523
|
/freebsd/sys/sys/ |
H A D | param.h | diff 4b56afaf7bf4fa37bae5b26fd93ee1ff5969c1bb Mon Nov 28 19:27:03 CET 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: implement irq_get_msi_desc()
Add irq_get_msi_desc() as a wrapper around a PCI function which will allocate a single cached value (see comment on struct) for the msi_desc requested if it doesn't exist yet and handle freeing it when the PCI device goes away. We take the values from the ivars of the native (FreeBSD) device.
While changing struct pci_dev also add the msi_cap field requested by a wireless driver.
Bump __FreeBSD_version so these changes can be detected.
MFC after: 3 days X-MFC: move fields to end of struct (alloc happens in linux_pci.c) Reviewed by: hselasky (earlier version) Differential Revision: https://reviews.freebsd.org/D37523
|