From nobody Mon Feb 9 19:26:21 2026 Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01CAD2C11F9 for ; Sun, 8 Feb 2026 05:34:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770528844; cv=none; b=XjR4aPokyTNj0N7JsTf25CaCVO9MxADx/NeGX7Z5NHChlB7VhS+vRJzKrkYA4KXjYD8soYP07qVzEeGLnZBPKXuoVPmIU9vhGk/jAvxbc+cTolfSItz48wZhb7UIXJBOEFQvtuVzeD64FI6Kgn3iW/NlSI7fKgChDLSU+3Dkdyo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770528844; c=relaxed/simple; bh=WNVhyOL7okSH5jtf5uSAFPq08ifRlHDbQ+0d6p9ancM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oivl8YoxhcDxNKYUt5ywMnfGAgFxVC/UH6f4d80D7BLDb/8WOy58wsjy1+rqtyMStCcpG4psPvTZIq6162v0vyDuvzLLoLYpmm63UXCZ1dqZqlZ1k3/B1cZsaymlgNG4JbI8XzJpx7WkH0+CVwi9FJH8WCRaociGFg15uF8gBFY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mP2is8cB; arc=none smtp.client-ip=209.85.210.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mP2is8cB" Received: by mail-pf1-f196.google.com with SMTP id d2e1a72fcca58-81f47610542so2292494b3a.0 for ; Sat, 07 Feb 2026 21:34:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770528843; x=1771133643; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GOZtDu7jSNri6wkbo2wj70FyVnPCcpHXFtiLHwbu29Y=; b=mP2is8cB482Fi8ookoOfYRTB3jFGSxz2q58KDrH3YdLXEykyps0DZrEcuTrK3T8Bd/ I32h5CafwCda5zSKD5MDjyO/fp3i7Mwp4V0CWmOeITFCTIHEYsrvQ7e7MqhzsKfX3PM4 xgdGC44y7/MnfZtAwwQkeLLB6+I15uCl+FooGQO9mGOFtXuBT+bcpBQ9gFnRl3DbealL p7xRzxdxJVKqSl+fE/0JwTrCjEle8cKauQBG2uDGWuy3hw815wntoEUyAHsw2hGX4/n/ ECaEFW5w3S0CY1243TIxGptrgG8X3e+UGYh/w39iN3tIG5ryS27zZ9Hb/qcvTPWXgPka Q/wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770528843; x=1771133643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GOZtDu7jSNri6wkbo2wj70FyVnPCcpHXFtiLHwbu29Y=; b=poTVZBXk9SJ8V9tvBA9V9D0QlkG+wpH17T9H/6B4gGtX2cTGht/sPxMbyf6jMYsZ4I tiY+SZNTS0M0iNShg6Ro2mzNZu/3vLkKjPpgtQ/cE4bOx/GEzkLX+266Fv58cE9bwbsp iQuo+bvha9jsW3notS9kmKa3bg0zSaJdVmNK28LJN1qKj9CD2uz2K8ifgZ7zv7tmVyMV Rwj/NtqHA3dRIcMGc14f1Bvp9xIWg5pJqusLoYlJRBxg+nIk7jMspx/dxf7y9TTtYFHH eca5KaO5y/DQk/3ZYujtkNnN+83GeJ882EHkI1Hmw2IUVBWYf8rF8Lqop2kXL3Ldc0va DMKQ== X-Forwarded-Encrypted: i=1; AJvYcCWj22xHGoE39bleGs1SQsaCVNHRbXv6QldKfTNyj2IhACImIt8J+1gStovINZC6R/lBkcwhg73YaWKnAy8=@vger.kernel.org X-Gm-Message-State: AOJu0YxkiNYOnt+5r3KM3KCmw1OUPXqh4aWIe3FH1S/RxQnrSWYf9WKh xWvhnSW7pNvRdd0J56zyIiKLLIj0cU/CoPyBP+N6bqXy8r/c8fOhp++m X-Gm-Gg: AZuq6aJnlJdaLgoMgFj3avOvg1UoKkE47iLvj2bQI3TOzdj6PK3czAaj8q/8k6Oe1Tt 4rbYM/eRkFkDXAfgC6VvuHZ0TEintazY5PZOm750emaiGpimGZ+YVqQndmnkAgGwrsOdAZVDPbL 71o3J08YKdj/4t65FIbojbGkqKudFPmsrfeKqO612DV8MdXx1G8eNkaKmuRuiXaNPLEXVVLGnF0 67YHSZDtWEzywRD4Z0qiJ9+fXWUIjQ6PA3Q04J9bGrzbSvhOTFyCdHjNjNBkf88ppmKFBtUsnZb ApstM964HCSlev4b1gzCOjut0GC6kVY1VY9V8be8uEqdDh94HqSw0BxDXsy1xzscy89Khy2yKeW GAefDjA3Hfjp6NVh76rvzCMj/eihEnk/vmxG1o6vcKelxVQ3zn+YmKPAHnWRm5tK6eIbrXA1Xc+ SVbK5Bzilz+1V/uWzXpY0= X-Received: by 2002:a05:6a00:4b01:b0:824:3cae:54b5 with SMTP id d2e1a72fcca58-824416002fbmr6625757b3a.14.1770528843309; Sat, 07 Feb 2026 21:34:03 -0800 (PST) Received: from 7950hx ([103.173.155.241]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-824418de80dsm6067700b3a.62.2026.02.07.21.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Feb 2026 21:34:03 -0800 (PST) From: Menglong Dong X-Google-Original-From: Menglong Dong To: ast@kernel.org, bjorn@kernel.org Cc: daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@fomichev.me, haoluo@google.com, jolsa@kernel.org, pulehui@huawei.com, puranjay@kernel.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, bpf@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, jiang.biao@linux.dev Subject: [PATCH bpf-next v4 3/3] selftests/bpf: enable fsession_test on riscv64 Date: Sun, 8 Feb 2026 13:33:11 +0800 Message-ID: <20260208053311.698352-4-dongml2@chinatelecom.cn> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260208053311.698352-1-dongml2@chinatelecom.cn> References: <20260208053311.698352-1-dongml2@chinatelecom.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Now that the RISC-V trampoline JIT supports BPF_TRACE_FSESSION, run the fsession selftest on riscv64 as well as x86_64. Signed-off-by: Menglong Dong Tested-by: Bj=C3=B6rn T=C3=B6pel Acked-by: Bj=C3=B6rn T=C3=B6pel --- tools/testing/selftests/bpf/progs/get_func_args_test.c | 2 +- tools/testing/selftests/bpf/progs/get_func_ip_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/get_func_args_test.c b/tools= /testing/selftests/bpf/progs/get_func_args_test.c index 180ba5098ca1..075a1180ec26 100644 --- a/tools/testing/selftests/bpf/progs/get_func_args_test.c +++ b/tools/testing/selftests/bpf/progs/get_func_args_test.c @@ -167,7 +167,7 @@ int BPF_PROG(tp_test2) } =20 __u64 test7_result =3D 0; -#if defined(bpf_target_x86) || defined(bpf_target_arm64) +#if defined(bpf_target_x86) || defined(bpf_target_arm64) || defined(bpf_ta= rget_riscv) SEC("fsession/bpf_fentry_test1") int BPF_PROG(test7) { diff --git a/tools/testing/selftests/bpf/progs/get_func_ip_test.c b/tools/t= esting/selftests/bpf/progs/get_func_ip_test.c index 43ff836a8ed8..45eaa54d1ac7 100644 --- a/tools/testing/selftests/bpf/progs/get_func_ip_test.c +++ b/tools/testing/selftests/bpf/progs/get_func_ip_test.c @@ -106,7 +106,7 @@ int BPF_URETPROBE(test8, int ret) =20 __u64 test9_entry_result =3D 0; __u64 test9_exit_result =3D 0; -#if defined(bpf_target_x86) || defined(bpf_target_arm64) +#if defined(bpf_target_x86) || defined(bpf_target_arm64) || defined(bpf_ta= rget_riscv) SEC("fsession/bpf_fentry_test1") int BPF_PROG(test9, int a) { --=20 2.53.0