lkml.org 
[lkml]   [2022]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [patch 17/20] platform-msi: Switch to the domain id aware MSI interfaces
Date
> From: Thomas Gleixner <tglx@linutronix.de>
> Sent: Friday, November 11, 2022 9:57 PM
>
> From: Ahmed S. Darwish <darwi@linutronix.de>
>
> Switch to the new domain id aware interfaces to phase out the previous
> ones. No functional change.
>
> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> drivers/base/platform-msi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- a/drivers/base/platform-msi.c
> +++ b/drivers/base/platform-msi.c
> @@ -213,7 +213,7 @@ int platform_msi_domain_alloc_irqs(struc
> if (err)
> return err;
>
> - err = msi_domain_alloc_irqs(dev->msi.domain, dev, nvec);
> + err = msi_domain_alloc_irqs_range(dev, MSI_DEFAULT_DOMAIN, 0,
> nvec - 1);
> if (err)
> platform_msi_free_priv_data(dev);
>

Out of curiosity. Why don't we provide an unlocked version of
msi_domain_alloc_irqs_all()?

\
 
 \ /
  Last update: 2022-11-18 09:53    [W:0.097 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site