diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-06 23:51:07 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-16 22:22:17 +0100 |
commit | 0f62d941acf9ac3b6025692ce649b1f282b89e7f (patch) | |
tree | 15812104613cdf5f30ea1c14891114d41fc2094b /kernel/livepatch | |
parent | genirq/msi: Add mutex for MSI list protection (diff) | |
download | linux-0f62d941acf9ac3b6025692ce649b1f282b89e7f.tar.xz linux-0f62d941acf9ac3b6025692ce649b1f282b89e7f.zip |
genirq/msi: Provide msi_domain_alloc/free_irqs_descs_locked()
Usage sites which do allocations of the MSI descriptors before invoking
msi_domain_alloc_irqs() require to lock the MSI decriptors accross the
operation.
Provide entry points which can be called with the MSI mutex held and lock
the mutex in the existing entry points.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210747.765371053@linutronix.de
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions