2018-01-24 20:31:25

by Corentin LABBE

[permalink] [raw]
Subject: [PATCH] x86: remove unused IOMMU_STRESS kconfig

Last use of IOMMU_STRESS was removed in commit 29b68415e335 ("x86: amd_iommu: move to drivers/iommu/")
6 years after, we could remove it.

Signed-off-by: Corentin Labbe <[email protected]>
---
arch/x86/Kconfig.debug | 8 --------
1 file changed, 8 deletions(-)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 672441c008c7..192e4d2f9efc 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -169,14 +169,6 @@ config IOMMU_DEBUG
options. See Documentation/x86/x86_64/boot-options.txt for more
details.

-config IOMMU_STRESS
- bool "Enable IOMMU stress-test mode"
- ---help---
- This option disables various optimizations in IOMMU related
- code to do real stress testing of the IOMMU code. This option
- will cause a performance drop and should only be enabled for
- testing.
-
config IOMMU_LEAK
bool "IOMMU leak tracing"
depends on IOMMU_DEBUG && DMA_API_DEBUG
--
2.13.6



2018-01-25 09:15:23

by Joerg Roedel

[permalink] [raw]
Subject: Re: [PATCH] x86: remove unused IOMMU_STRESS kconfig

On Wed, Jan 24, 2018 at 08:29:14PM +0000, Corentin Labbe wrote:
> Last use of IOMMU_STRESS was removed in commit 29b68415e335 ("x86: amd_iommu: move to drivers/iommu/")
> 6 years after, we could remove it.
>
> Signed-off-by: Corentin Labbe <[email protected]>
> ---
> arch/x86/Kconfig.debug | 8 --------
> 1 file changed, 8 deletions(-)

Acked-by: Joerg Roedel <[email protected]>


Subject: [tip:x86/cleanups] x86: Remove unused IOMMU_STRESS Kconfig

Commit-ID: 782bf20c2a1795f35dcd526aa8005cd1870745da
Gitweb: https://git.kernel.org/tip/782bf20c2a1795f35dcd526aa8005cd1870745da
Author: Corentin Labbe <[email protected]>
AuthorDate: Wed, 24 Jan 2018 20:29:14 +0000
Committer: Thomas Gleixner <[email protected]>
CommitDate: Thu, 25 Jan 2018 10:22:12 +0100

x86: Remove unused IOMMU_STRESS Kconfig

Last use of IOMMU_STRESS was removed in commit 29b68415e335 ("x86:
amd_iommu: move to drivers/iommu/"). 6 years later the Kconfig entry is
definitely due for removal.

Signed-off-by: Corentin Labbe <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]

---
arch/x86/Kconfig.debug | 8 --------
1 file changed, 8 deletions(-)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 6293a87..49fb85a 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -169,14 +169,6 @@ config IOMMU_DEBUG
options. See Documentation/x86/x86_64/boot-options.txt for more
details.

-config IOMMU_STRESS
- bool "Enable IOMMU stress-test mode"
- ---help---
- This option disables various optimizations in IOMMU related
- code to do real stress testing of the IOMMU code. This option
- will cause a performance drop and should only be enabled for
- testing.
-
config IOMMU_LEAK
bool "IOMMU leak tracing"
depends on IOMMU_DEBUG && DMA_API_DEBUG