Hope dies last.
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -2,6 +2,20 @@ · 1 unmodified line | |||
| 2 | #ifndef LINUX_MSI_H | 2 | #ifndef LINUX_MSI_H |
| 3 | #define LINUX_MSI_H | 3 | #define LINUX_MSI_H |
| 4 | 4 | ||
| 5 | /* | ||
| 6 | * This header file contains MSI data structures and functions which are | ||
| 7 | * only relevant for: | ||
| 8 | * - Interrupt core code | ||
| 9 | * - PCI/MSI core code | ||
| 10 | * - MSI interrupt domain implementations | ||
| 11 | * - IOMMU, low level VFIO, NTB and other justified exceptions | ||
| 12 | * dealing with low level MSI details. | ||
| 13 | * | ||
| 14 | * Regular device drivers have no business with any of these functions and | ||
| 15 | * especially storing MSI descriptor pointers in random code is considered | ||
| 16 | * abuse. The only function which is relevant for drivers is msi_get_virq(). | ||
| 17 | */ | ||
| 18 | |||
| 5 | #include <linux/cpumask.h> | 19 | #include <linux/cpumask.h> |
| 6 | #include <linux/mutex.h> | 20 | #include <linux/mutex.h> |
| 7 | #include <linux/list.h> | 21 | #include <linux/list.h> |