summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-01-27 19:17:33 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-02-15 19:55:40 +0300
commitc88f9110bfbca5975a8dee4c9792ba12684c7bca (patch)
treeb02b7bc3d2009ebe80fed5d1384b4b90eeebb2df /drivers/dma
parent6516d5a295356f8fd5827a1c0954d7ed5b2324dd (diff)
downloadlinux-c88f9110bfbca5975a8dee4c9792ba12684c7bca.tar.xz
platform-msi: Prepare for real per device domains
Provide functions to create and remove per device MSI domains which replace the platform-MSI domains. The new model is that each of the devices which utilize platform-MSI gets now its private MSI domain which is "customized" in size and with a device specific function to write the MSI message into the device. This is the same functionality as platform-MSI but it avoids all the down sides of platform MSI, i.e. the extra ID book keeping, the special data structure in the msi descriptor. Further the domains are only created when the devices are really in use, so the burden is on the usage and not on the infrastructure. Fill in the domain template and provide two functions to init/allocate and remove a per device MSI domain. Until all users and parent domain providers are converted, the init/alloc function invokes the original platform-MSI code when the irqdomain which is associated to the device does not provide MSI parent functionality yet. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240127161753.114685-6-apatel@ventanamicro.com
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions