]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/vt-d: Always reserve a domain ID for identity setup
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 2 Sep 2024 02:27:13 +0000 (10:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:29 +0000 (15:11 +0200)
commit4a96abcc0a2a688731e86e7f0d4edf196a242f60
treea67939339cc2b69d41ed27013fd40fd0eec34aaa
parentd9e19f1b20ee2f8fb0dedeb614ce1d731c58cba8
iommu/vt-d: Always reserve a domain ID for identity setup

[ Upstream commit 2c13012e09190174614fd6901857a1b8c199e17d ]

We will use a global static identity domain. Reserve a static domain ID
for it.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20240809055431.36513-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/intel/iommu.c