From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFD84309F1B for ; Tue, 27 Jan 2026 16:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769531659; cv=none; b=HZuKCW2AeXGKYAzDU//bUw3EZk7k+9rS//NNG8nWnAEfATKFHhYkyOxAZvNFsnGAQGOTzPqbe+WjB6kBlixmAAsbrwQbXDv01kLl4235BWpdw+xH0KXzC9lfi6S5GEPol97cpUwrErUUOAkOTVfMJPrFhV87J0UU9ef7Jqm1pjw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769531659; c=relaxed/simple; bh=psELCIfY+W4ONj905+j1vFlO5Yf6mkhivbJrVOMnDPA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I27Kt7kE7ajP5alJJP48J8q9TMfDP90xBZud4SZrU7sey8r+WbZ9Qs4Ef/lE7qSMIVNfOxjUMo8JonoYhUo0tM7UP3XBP7V3BO+bTuUi/8H6v9gtb5/TkPnkNI29k3Q2mv1HLahxRHxckOAwxUdvF5vIbQ6GfEGqK0uU0H5Cois= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=BRJK7kqF; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="BRJK7kqF" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1769531645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qVzkEJu0rwGv9GhSscFNxi7pazkxC01AqWhJ4PtbAR8=; b=BRJK7kqFv7WhgeaGPzXl1G7bDC4goqi3TlEQzgGws2bMWxApxlNxAWLIpNoV7i70r0pTgI yy7NkXzI17/2bvw027HbIv+ZLZoZyC4gG2JAWdSwlcbWC3CUBUlI7SD9jc2FbdosvVs22H w+kGgJgFS2eWE2yyK+dt4zDkHxsww78= From: Leon Hwang To: bpf@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Puranjay Mohan , Xu Kuohai , Catalin Marinas , Will Deacon , Shuah Khan , Menglong Dong , Leon Hwang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-patches-bot@fb.com Subject: [PATCH bpf-next 0/2] bpf, arm64: Add fsession support Date: Wed, 28 Jan 2026 00:33:42 +0800 Message-ID: <20260127163344.92819-1-leon.hwang@linux.dev> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Similar to commit 98770bd4e6df ("bpf,x86: add fsession support for x86_64"), add fsession support on arm64. Patch #1 implements fsession support in the arm64 BPF JIT trampoline. Patch #2 enables the relevant selftests on arm64, including fsession, get_func_ip, and get_func_args. All enabled tests pass on arm64: cd tools/testing/selftests/bpf ./test_progs -t fsession #135/1 fsession_test/fsession_test:OK #135/2 fsession_test/fsession_reattach:OK #135/3 fsession_test/fsession_cookie:OK #135 fsession_test:OK Summary: 1/3 PASSED, 0 SKIPPED, 0 FAILED ./test_progs -t get_func #138 get_func_args_test:OK #139 get_func_ip_test:OK Summary: 2/0 PASSED, 0 SKIPPED, 0 FAILED Leon Hwang (2): bpf, arm64: Add fsession support bpf/selftests: Enable fsession and get_func_ tests on arm64* arch/arm64/net/bpf_jit_comp.c | 66 ++++++++++++++++--- include/linux/bpf.h | 7 +- .../selftests/bpf/prog_tests/fsession_test.c | 2 +- .../selftests/bpf/progs/get_func_args_test.c | 2 +- .../selftests/bpf/progs/get_func_ip_test.c | 2 +- 5 files changed, 66 insertions(+), 13 deletions(-) -- 2.52.0