Thread (40 messages) 40 messages, 4 authors, 2022-01-07

Re: [PATCH 3/9] powerpc/bpf: Remove unused SEEN_STACK

From: Song Liu <song@kernel.org>
Date: 2021-10-01 21:47:23
Also in: bpf

On Fri, Oct 1, 2021 at 2:16 PM Naveen N. Rao
[off-list ref] wrote:
From: Ravi Bangoria <redacted>

SEEN_STACK is unused on PowerPC. Remove it. Also, have
SEEN_TAILCALL use 0x40000000.

Signed-off-by: Ravi Bangoria <redacted>
Reviewed-by: Christophe Leroy <redacted>
Acked-by: Song Liu <redacted>
quoted hunk ↗ jump to hunk
---
 arch/powerpc/net/bpf_jit.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/powerpc/net/bpf_jit.h b/arch/powerpc/net/bpf_jit.h
index 7e9b978b768ed9..89bd744c2bffd4 100644
--- a/arch/powerpc/net/bpf_jit.h
+++ b/arch/powerpc/net/bpf_jit.h
@@ -125,8 +125,7 @@
 #define COND_LE                (CR0_GT | COND_CMP_FALSE)

 #define SEEN_FUNC      0x20000000 /* might call external helpers */
-#define SEEN_STACK     0x40000000 /* uses BPF stack */
-#define SEEN_TAILCALL  0x80000000 /* uses tail calls */
+#define SEEN_TAILCALL  0x40000000 /* uses tail calls */

 #define SEEN_VREG_MASK 0x1ff80000 /* Volatile registers r3-r12 */
 #define SEEN_NVREG_MASK        0x0003ffff /* Non volatile registers r14-r31 */
--
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help