From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE6F1C7EE25 for ; Mon, 15 May 2023 19:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iuG1+ChnyQpM0kLatQaqB4klLb7eKo9W91jLPnCHVvk=; b=tRqNZWMLfmgcaW T+o3CDI7vD1tTaJq8uv5GPfILcPt10KctT5xXagpV73pcxeup1EhS7l254ad7OckR/Dd1jdPBdMk3 LkOHBt+drNlZOyRPL7UpUjAHz0ONg0f3XuyL2foonr/HmHTpauAV4Y00deu2pLC4CprJeEUbNvaOF GmXOhSaT6MvExcMtySjM/kbj7EhaotS0Snqliew8P68pVFlkGDr8LyxZhhsuFyGgj7e/LQk1LB3Uo UvEiee4Jdp3NLK+f+VBiNlL2zYrVoDqpcZ1L8fK4KCQsm4Yz9FF+eRL9DwZ5SCochsUI77fAL5VFV /19zolY0r5LceSzYqdzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pydk9-003GiO-3B; Mon, 15 May 2023 19:20:25 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pydk6-003Ghf-2k for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2023 19:20:24 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 29C2D631AD; Mon, 15 May 2023 19:20:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 14312C4339B; Mon, 15 May 2023 19:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684178420; bh=LyOJi/qVgBu0+z0V1xOl962sFcB/Su9DjQmlE4QBRNE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=AyyEcuF/IS+wc6DeMZRZrgihgsbzGj6FAxQ2m2WEgXt2VeG83lsZG1YocmTtX30lm I9j78XBptRV9G7xoU8ymS5lery2toYEYr1bgpyNgbkGhlYYz8527EhfpFmKQ8Ic6jK LBQgwzePQy/MBX3RmSGidkXf1fCnC2h2svUJ3kfOAyAkI5slraeIlJHVNrw1659cwU BwA1N9fQtLRvCdgRIXrPKlL8jKPXLw1uKR7oXagNlvwGzx6wRNhOl20EFNGBKypCCT BTw1DtjIr+cp4x50kEecpmJn2uccWIRInciojeeSf3K3xk7H4A9qz7nbndP/Y7owjJ rKdm4V6+RdW/w== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id DCF01E49FAB; Mon, 15 May 2023 19:20:19 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v2] arm64,bpf: Support struct arguments in the BPF trampoline From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168417841990.1340.9887886289072485201.git-patchwork-notify@kernel.org> Date: Mon, 15 May 2023 19:20:19 +0000 References: <20230511140507.514888-1-revest@chromium.org> In-Reply-To: <20230511140507.514888-1-revest@chromium.org> To: Florent Revest Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kpsingh@kernel.org, mark.rutland@arm.com, xukuohai@huaweicloud.com, zlim.lnx@gmail.com, yhs@meta.com, yhs@fb.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230515_122022_958585_F4B30C38 X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Thu, 11 May 2023 16:05:07 +0200 you wrote: > This extends the BPF trampoline JIT to support attachment to functions > that take small structures (up to 128bit) as argument. This is trivially > achieved by saving/restoring a number of "argument registers" rather > than a number of arguments. > > The AAPCS64 section 6.8.2 describes the parameter passing ABI. > "Composite types" (like C structs) below 16 bytes (as enforced by the > BPF verifier) are provided as part of the 8 argument registers as > explained in the section C.12. > > [...] Here is the summary with links: - [bpf-next,v2] arm64,bpf: Support struct arguments in the BPF trampoline https://git.kernel.org/bpf/bpf-next/c/90564f1e3dd6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel