From: Vineet Gupta <vgupta@kernel.org>
To: Julian Braha <julianbraha@gmail.com>, vgupta@kernel.org
Cc: joao@joaoff.com, linux-snps-arc@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] ARC: cleanup dead ARC_CANT_LLSC option in Kconfig
Date: Sun, 16 Aug 2026 12:20:03 -0700 [thread overview]
Message-ID: <193a2ce6-4c4e-4291-a542-e112d5a87742@kernel.org> (raw)
In-Reply-To: <20260816142207.1034329-1-julianbraha@gmail.com>
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
>
prev parent reply other threads:[~2026-08-16 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=193a2ce6-4c4e-4291-a542-e112d5a87742@kernel.org \
--to=vgupta@kernel.org \
--cc=joao@joaoff.com \
--cc=julianbraha@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox