* [PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol
@ 2021-11-30 16:08 Johan Almbladh
2021-11-30 16:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Johan Almbladh @ 2021-11-30 16:08 UTC (permalink / raw)
To: ast, daniel, andrii, paulburton
Cc: kafai, songliubraving, yhs, john.fastabend, kpsingh, tsbogend,
bpf, linux-mips, netdev, Johan Almbladh, Lukas Bulwahn
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol
2021-11-30 16:08 [PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol Johan Almbladh
@ 2021-11-30 16:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-30 16:30 UTC (permalink / raw)
To: Johan Almbladh
Cc: ast, daniel, andrii, paulburton, kafai, songliubraving, yhs,
john.fastabend, kpsingh, tsbogend, bpf, linux-mips, netdev,
lukas.bulwahn
Hello:
This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-30 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 16:08 [PATCH bpf] mips, bpf: Fix reference to non-existing Kconfig symbol Johan Almbladh
2021-11-30 16:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox