]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop iommu-vt-d-make-context-clearing-consistent-with-con.patch-12070
authorSasha Levin <sashal@kernel.org>
Mon, 4 Dec 2023 19:50:24 +0000 (14:50 -0500)
committerSasha Levin <sashal@kernel.org>
Mon, 4 Dec 2023 19:50:24 +0000 (14:50 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-6.1/iommu-vt-d-make-context-clearing-consistent-with-con.patch-12070 [deleted file]
queue-6.1/series

diff --git a/queue-6.1/iommu-vt-d-make-context-clearing-consistent-with-con.patch-12070 b/queue-6.1/iommu-vt-d-make-context-clearing-consistent-with-con.patch-12070
deleted file mode 100644 (file)
index d5f2073..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From f4ad3e82b6088edca3445daa6cae5e7b046b8b33 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 22 Nov 2023 11:26:05 +0800
-Subject: iommu/vt-d: Make context clearing consistent with context mapping
-
-From: Lu Baolu <baolu.lu@linux.intel.com>
-
-[ Upstream commit 9a16ab9d640274b20813d2d17475e18d3e99d834 ]
-
-In the iommu probe_device path, domain_context_mapping() allows setting
-up the context entry for a non-PCI device. However, in the iommu
-release_device path, domain_context_clear() only clears context entries
-for PCI devices.
-
-Make domain_context_clear() behave consistently with
-domain_context_mapping() by clearing context entries for both PCI and
-non-PCI devices.
-
-Fixes: 579305f75d34 ("iommu/vt-d: Update to use PCI DMA aliases")
-Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
-Reviewed-by: Kevin Tian <kevin.tian@intel.com>
-Link: https://lore.kernel.org/r/20231114011036.70142-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 | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c
-index 807abf4707be7..e111b35a7aff2 100644
---- a/drivers/iommu/intel/iommu.c
-+++ b/drivers/iommu/intel/iommu.c
-@@ -4086,8 +4086,8 @@ static int domain_context_clear_one_cb(struct pci_dev *pdev, u16 alias, void *op
-  */
- static void domain_context_clear(struct device_domain_info *info)
- {
--      if (!info->iommu || !info->dev || !dev_is_pci(info->dev))
--              return;
-+      if (!dev_is_pci(info->dev))
-+              domain_context_clear_one(info, info->bus, info->devfn);
-       pci_for_each_dma_alias(to_pci_dev(info->dev),
-                              &domain_context_clear_one_cb, info);
--- 
-2.42.0
-
index 2f9b070cb5d34fedb24897b04b7dfa0ba0538dbe..e99398072daeb8e376e9a5b43a5bd35f40ca8373 100644 (file)
@@ -92,7 +92,6 @@ iommu-vt-d-add-device_block_translation-helper.patch
 iommu-vt-d-disable-pci-ats-in-legacy-passthrough-mod.patch
 iommu-vt-d-make-context-clearing-consistent-with-con.patch
 drm-amd-pm-fix-a-memleak-in-aldebaran_tables_init.patch
-iommu-vt-d-make-context-clearing-consistent-with-con.patch-12070
 drm-amd-pm-fix-a-memleak-in-aldebaran_tables_init.patch-16085
 mmc-core-add-helpers-mmc_regulator_enable-disable_vq.patch
 mmc-sdhci-sprd-fix-vqmmc-not-shutting-down-after-the.patch