iommu/vt-d: Use IDA interface to manage iommu sequence id
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 12 Jul 2022 00:09:04 +0000 (08:09 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 15 Jul 2022 08:21:40 +0000 (10:21 +0200)
commit913432f217c843a69ff9d11a6474a7982033087b
tree2bc226dca5619c7d8f7282a211a7904e17a0e62f
parentc3f27c834ae56c315a1fc47d71b027e2c400f4de
iommu/vt-d: Use IDA interface to manage iommu sequence id

Switch dmar unit sequence id allocation and release from bitmap to IDA
interface.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lore.kernel.org/r/20220702015610.2849494-3-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/dmar.c