[PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol

Subsystems: bpf jit for mips (32-bit and 64-bit), bpf [general] (safe dynamic programs and tools), mips, the rest

STALE1712d LANDED

Landed in mainline as 099f83aa2d06 on 2021-11-30.

2 messages, 2 authors, 2021-11-30 · open the first message on its own page

[PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol

From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date: 2021-11-30 16:10:33

The Kconfig symbol for R10000 ll/sc errata workaround in the MIPS JIT was
misspelled, causing the workaround to not take effect when enabled.

Fixes: 72570224bb8f ("mips, bpf: Add JIT workarounds for CPU errata")
Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
---
 arch/mips/net/bpf_jit_comp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/net/bpf_jit_comp.h b/arch/mips/net/bpf_jit_comp.h
index 6f3a7b07294b..a37fe20818eb 100644
--- a/arch/mips/net/bpf_jit_comp.h
+++ b/arch/mips/net/bpf_jit_comp.h
@@ -98,7 +98,7 @@ do {								\
 #define emit(...) __emit(__VA_ARGS__)
 
 /* Workaround for R10000 ll/sc errata */
-#ifdef CONFIG_WAR_R10000
+#ifdef CONFIG_WAR_R10000_LLSC
 #define LLSC_beqz	beqzl
 #else
 #define LLSC_beqz	beqz
-- 
2.30.2

Re: [PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-30 16:30:14

Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann [off-list ref]:

On Tue, 30 Nov 2021 17:08:24 +0100 you wrote:
The Kconfig symbol for R10000 ll/sc errata workaround in the MIPS JIT was
misspelled, causing the workaround to not take effect when enabled.

Fixes: 72570224bb8f ("mips, bpf: Add JIT workarounds for CPU errata")
Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>

[...]
Here is the summary with links:
  - [bpf] mips, bpf: Fix reference to non-existing Kconfig symbol
    https://git.kernel.org/bpf/bpf/c/099f83aa2d06

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help