[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220426140924.3308472-1-pulehui@huawei.com>
Date: Tue, 26 Apr 2022 22:09:22 +0800
From: Pu Lehui <pulehui@...wei.com>
To: <bpf@...r.kernel.org>, <linux-riscv@...ts.infradead.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <bjorn@...nel.org>, <luke.r.nels@...il.com>, <xi.wang@...il.com>,
<ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
<kafai@...com>, <songliubraving@...com>, <yhs@...com>,
<john.fastabend@...il.com>, <kpsingh@...nel.org>,
<paul.walmsley@...ive.com>, <palmer@...belt.com>,
<aou@...s.berkeley.edu>, <pulehui@...wei.com>
Subject: [PATCH -next 0/2] Support riscv jit to provide bpf_line_info
patch 1 fix an issue that could not print bpf line info due
to data inconsistency in 32-bit environment.
patch 2 add support for riscv jit to provide bpf_line_info.
Both RV32 and RV64 tests have been passed as like follow:
./test_progs -a btf
#19 btf:OK
Summary: 1/215 PASSED, 0 SKIPPED, 0 FAILED
Pu Lehui (2):
bpf: Unify data extension operation of jited_ksyms and jited_linfo
riscv, bpf: Support riscv jit to provide bpf_line_info
arch/riscv/net/bpf_jit.h | 1 +
arch/riscv/net/bpf_jit_core.c | 7 ++++++-
kernel/bpf/syscall.c | 5 ++++-
tools/lib/bpf/bpf_prog_linfo.c | 8 ++++----
tools/testing/selftests/bpf/prog_tests/btf.c | 18 +++++++++---------
5 files changed, 24 insertions(+), 15 deletions(-)
--
2.25.1
Powered by blists - more mailing lists