* [PATCH] ARC: cleanup dead ARC_CANT_LLSC option in Kconfig
@ 2026-08-16 14:22 Julian Braha
2026-08-16 19:20 ` Vineet Gupta
0 siblings, 1 reply; 2+ messages in thread
From: Julian Braha @ 2026-08-16 14:22 UTC (permalink / raw)
To: vgupta; +Cc: joao, linux-snps-arc, linux-kernel, kernel-janitors, Julian Braha
Currently, the ARC_CANT_LLSC config option can never be enabled.
It is also not referenced anywhere else. So let's remove this dead code.
Note that I have only compile-tested these changes, because I do not have
the hardware to runtime test.
This dead code was found by kconfirm, a static analysis tool for Kconfig.
Signed-off-by: Julian Braha <julianbraha@gmail.com>
---
arch/arc/Kconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 2ed7186c81c5..80e61175bf52 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -331,13 +331,9 @@ config ARC_FPU_SAVE_RESTORE
for floating point exceptions and rounding modes. These are
preserved across task context switch when enabled.
-config ARC_CANT_LLSC
- def_bool n
-
config ARC_HAS_LLSC
bool "Insn: LLOCK/SCOND (efficient atomic ops)"
default y
- depends on !ARC_CANT_LLSC
if ISA_ARCV2
--
2.55.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARC: cleanup dead ARC_CANT_LLSC option in Kconfig
2026-08-16 14:22 [PATCH] ARC: cleanup dead ARC_CANT_LLSC option in Kconfig Julian Braha
@ 2026-08-16 19:20 ` Vineet Gupta
0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2026-08-16 19:20 UTC (permalink / raw)
To: Julian Braha, vgupta; +Cc: joao, linux-snps-arc, linux-kernel, kernel-janitors
On 8/16/26 07:22, Julian Braha wrote:
> Currently, the ARC_CANT_LLSC config option can never be enabled.
> It is also not referenced anywhere else. So let's remove this dead code.
>
> Note that I have only compile-tested these changes, because I do not have
> the hardware to runtime test.
>
> This dead code was found by kconfirm, a static analysis tool for Kconfig.
>
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
Acked-by: Vineet Gupta <vgupta@kernel.org>
Thx,
-Vineet
> ---
> arch/arc/Kconfig | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
> index 2ed7186c81c5..80e61175bf52 100644
> --- a/arch/arc/Kconfig
> +++ b/arch/arc/Kconfig
> @@ -331,13 +331,9 @@ config ARC_FPU_SAVE_RESTORE
> for floating point exceptions and rounding modes. These are
> preserved across task context switch when enabled.
>
> -config ARC_CANT_LLSC
> - def_bool n
> -
> config ARC_HAS_LLSC
> bool "Insn: LLOCK/SCOND (efficient atomic ops)"
> default y
> - depends on !ARC_CANT_LLSC
>
> if ISA_ARCV2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-16 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-16 14:22 [PATCH] ARC: cleanup dead ARC_CANT_LLSC option in Kconfig Julian Braha
2026-08-16 19:20 ` Vineet Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).