Skip to content
Commit 06fe8fd6 authored by Nipun Gupta's avatar Nipun Gupta Committed by Alex Williamson
Browse files

genirq/msi: Add MSI allocation helper and export MSI functions



MSI functions for allocation and free can be directly used by
the device drivers without any wrapper provided by bus drivers.
So export these MSI functions.

Also, add a wrapper API to allocate MSIs providing only the
number of interrupts rather than range for simpler driver usage.

Signed-off-by: default avatarNipun Gupta <nipun.gupta@amd.com>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240423111021.1686144-1-nipun.gupta@amd.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 82b951e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment