linux/drivers/dma/idxd
Christophe JAILLET 1075ee66a8 dmaengine: idxd: Remove usage of the deprecated ida_simple_xx() API
ida_alloc() and ida_free() should be preferred to the deprecated
ida_simple_get() and ida_simple_remove().

This is less verbose.

Note that the upper limit of ida_simple_get() is exclusive, but the one of
ida_alloc_range() is inclusive. Sothis change allows one more device.

MINORMASK is ((1U << MINORBITS) - 1), so allowing MINORMASK as a maximum value
makes sense. It is also consistent with other "ida_.*MINORMASK" and
"ida_*MINOR()" usages.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Lijun Pan <lijun.pan@intel.com>
Link: https://lore.kernel.org/r/ac991f5f42112fa782a881d391d447529cbc4a23.1702967302.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-12-21 21:29:21 +05:30
..
bus.c Bus: Make remove callback return void tag 2021-07-27 19:12:14 +05:30
cdev.c dmaengine: idxd: Remove usage of the deprecated ida_simple_xx() API 2023-12-21 21:29:21 +05:30
compat.c dmaengine: idxd: use const struct bus_type * 2023-03-23 13:21:42 +01:00
debugfs.c dmanegine: idxd: add debugfs for event log dump 2023-04-12 23:18:45 +05:30
device.c dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq 2023-10-04 13:01:29 +05:30
dma.c dmaengine: idxd: add wq driver name support for accel-config user tool 2023-10-04 13:00:34 +05:30
idxd.h dmaengine: idxd: add wq driver name support for accel-config user tool 2023-10-04 13:00:34 +05:30
init.c dmaengine/idxd: Re-enable kernel workqueue under DMA API 2023-08-09 17:44:39 +02:00
irq.c dmaengine: idxd: rate limit printk in misc interrupt thread 2023-09-28 13:25:41 +05:30
Makefile dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers 2023-09-28 13:26:34 +05:30
perfmon.c dmaengine:idxd: Use local64_try_cmpxchg in perfmon_pmu_event_update 2023-08-01 23:32:06 +05:30
perfmon.h dmaengine: idxd: Add IDXD performance monitor support 2021-04-25 21:46:12 +05:30
registers.h dmaengine: idxd: add per wq PRS disable 2023-04-12 23:18:46 +05:30
submit.c dmaengine: idxd: fix retry value to be constant for duration of function call 2022-04-20 17:24:42 +05:30
sysfs.c dmaengine: idxd: add wq driver name support for accel-config user tool 2023-10-04 13:00:34 +05:30