* [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol
@ 2025-12-28 19:04 Randy Dunlap
2025-12-30 2:33 ` Keguang Zhang
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Randy Dunlap @ 2025-12-28 19:04 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Keguang Zhang, Thomas Bogendoerfer, linux-mips
CPU_GAS_LOAD_STORE_LR is not used anywhere in the kernel sources,
so drop it.
Fixes: 85c4354076ca ("MIPS: loongson32: Switch to generic core")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Keguang Zhang <keguang.zhang@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
arch/mips/Kconfig | 1 -
1 file changed, 1 deletion(-)
--- linux-next-20251219.orig/arch/mips/Kconfig
+++ linux-next-20251219/arch/mips/Kconfig
@@ -1408,7 +1408,6 @@ config CPU_LOONGSON32
select CPU_MIPS32
select CPU_MIPSR2
select CPU_HAS_PREFETCH
- select CPU_HAS_LOAD_STORE_LR
select CPU_SUPPORTS_32BIT_KERNEL
select CPU_SUPPORTS_HIGHMEM
select CPU_SUPPORTS_CPUFREQ
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol
2025-12-28 19:04 [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol Randy Dunlap
@ 2025-12-30 2:33 ` Keguang Zhang
2026-01-03 1:26 ` Maciej W. Rozycki
2026-01-30 14:34 ` Thomas Bogendoerfer
2 siblings, 0 replies; 5+ messages in thread
From: Keguang Zhang @ 2025-12-30 2:33 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Thomas Bogendoerfer, linux-mips
It appears that CPU_HAS_LOAD_STORE_LR has been outdated since about 2020.
Reviewed-by: Keguang Zhang <keguang.zhang@gmail.com>
On Mon, Dec 29, 2025 at 3:04 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> CPU_GAS_LOAD_STORE_LR is not used anywhere in the kernel sources,
> so drop it.
>
> Fixes: 85c4354076ca ("MIPS: loongson32: Switch to generic core")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Keguang Zhang <keguang.zhang@gmail.com>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: linux-mips@vger.kernel.org
>
> arch/mips/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> --- linux-next-20251219.orig/arch/mips/Kconfig
> +++ linux-next-20251219/arch/mips/Kconfig
> @@ -1408,7 +1408,6 @@ config CPU_LOONGSON32
> select CPU_MIPS32
> select CPU_MIPSR2
> select CPU_HAS_PREFETCH
> - select CPU_HAS_LOAD_STORE_LR
> select CPU_SUPPORTS_32BIT_KERNEL
> select CPU_SUPPORTS_HIGHMEM
> select CPU_SUPPORTS_CPUFREQ
--
Best regards,
Keguang Zhang
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol
2025-12-28 19:04 [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol Randy Dunlap
2025-12-30 2:33 ` Keguang Zhang
@ 2026-01-03 1:26 ` Maciej W. Rozycki
2026-01-03 4:23 ` Randy Dunlap
2026-01-30 14:34 ` Thomas Bogendoerfer
2 siblings, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 2026-01-03 1:26 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Keguang Zhang, Thomas Bogendoerfer, linux-mips
On Sun, 28 Dec 2025, Randy Dunlap wrote:
> CPU_GAS_LOAD_STORE_LR is not used anywhere in the kernel sources,
s/CPU_GAS_LOAD_STORE_LR/CPU_HAS_LOAD_STORE_LR/
Maciej
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol
2026-01-03 1:26 ` Maciej W. Rozycki
@ 2026-01-03 4:23 ` Randy Dunlap
0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-01-03 4:23 UTC (permalink / raw)
To: Maciej W. Rozycki
Cc: linux-kernel, Keguang Zhang, Thomas Bogendoerfer, linux-mips
On 1/2/26 5:26 PM, Maciej W. Rozycki wrote:
> On Sun, 28 Dec 2025, Randy Dunlap wrote:
>
>> CPU_GAS_LOAD_STORE_LR is not used anywhere in the kernel sources,
>
> s/CPU_GAS_LOAD_STORE_LR/CPU_HAS_LOAD_STORE_LR/
Aye, thanks. Will send v2.
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol
2025-12-28 19:04 [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol Randy Dunlap
2025-12-30 2:33 ` Keguang Zhang
2026-01-03 1:26 ` Maciej W. Rozycki
@ 2026-01-30 14:34 ` Thomas Bogendoerfer
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Bogendoerfer @ 2026-01-30 14:34 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Keguang Zhang, linux-mips
On Sun, Dec 28, 2025 at 11:04:43AM -0800, Randy Dunlap wrote:
> CPU_GAS_LOAD_STORE_LR is not used anywhere in the kernel sources,
> so drop it.
>
> Fixes: 85c4354076ca ("MIPS: loongson32: Switch to generic core")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Keguang Zhang <keguang.zhang@gmail.com>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: linux-mips@vger.kernel.org
>
> arch/mips/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> --- linux-next-20251219.orig/arch/mips/Kconfig
> +++ linux-next-20251219/arch/mips/Kconfig
> @@ -1408,7 +1408,6 @@ config CPU_LOONGSON32
> select CPU_MIPS32
> select CPU_MIPSR2
> select CPU_HAS_PREFETCH
> - select CPU_HAS_LOAD_STORE_LR
> select CPU_SUPPORTS_32BIT_KERNEL
> select CPU_SUPPORTS_HIGHMEM
> select CPU_SUPPORTS_CPUFREQ
applied to mips-next with the typo fixed
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-01-30 14:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-28 19:04 [PATCH] mips: LOONGSON32: drop a dangling Kconfig symbol Randy Dunlap
2025-12-30 2:33 ` Keguang Zhang
2026-01-03 1:26 ` Maciej W. Rozycki
2026-01-03 4:23 ` Randy Dunlap
2026-01-30 14:34 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox