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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A522CC433F5 for ; Mon, 3 Jan 2022 18:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235629AbiACSdI (ORCPT ); Mon, 3 Jan 2022 13:33:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45965 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbiACSdH (ORCPT ); Mon, 3 Jan 2022 13:33:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641234786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4qN6h930TSM8c/mWmb9+fYi4rE4bqlpIk/doAZAWfiM=; b=FeQeI61j36qRlvUlr92L8b8KoxmjtRdVKEkIZ3vvbktB+HMhBi+gK+f9LWLvslLk4sw219 f7gBDZmNJiKwckSLU6r4k8wO7yVQ61Dlln9JCRqZHhPpJt1kyqtUUf6eAIA0aYsOZjgxpn aPgmqZEww1Xg79qxxy7cynzfswgqCFk= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-86-Y92-LA8qPpaUelSD21jsiA-1; Mon, 03 Jan 2022 13:33:05 -0500 X-MC-Unique: Y92-LA8qPpaUelSD21jsiA-1 Received: by mail-ed1-f71.google.com with SMTP id l14-20020aa7cace000000b003f7f8e1cbbdso23423182edt.20 for ; Mon, 03 Jan 2022 10:33:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=4qN6h930TSM8c/mWmb9+fYi4rE4bqlpIk/doAZAWfiM=; b=08epcaB9KdzZPOdKUrhGj3y2InBuP6KrQ2tfC2ZI6GXNLMSzgStPLHDA2jk+1wWLYX gwpGTrA6IV1tYCvRH2jWVuj8ildTanSFNMiXozKd/WCk1rx+w0ygeotCP9cH6RhCzeQi donf2yBSisaQohsDXFb0j4xoJne3DcUqlHMmuBn0AX9vqIo/dThSEP7lgNhXWr1dbXID ArgPY3zsrbz+gyNTlXL590vsIlksYo4EHLMDRMau6oDqbZ010BZXH3924xkoRkyVY7XO SNdTJedbDLvoZBdAXFTGgLM8Zf5zED6XSc+QEpOkxTvRyTSB4vJoQqBtfBr2KMj3UsCZ AnEQ== X-Gm-Message-State: AOAM531YjkcjuhZJk85v9K/SS43d5hiHtN/FTpkIC61Ba1eZoKJat/Wl PlVjeoIYmfFGYoQSrQjwf1kaut94QjSNKb+BsaWaCl5eziQhDl8uiKee0fVsV7qKynnEDiuF4B2 Pv7PL6tDTxhpt X-Received: by 2002:a17:907:8a26:: with SMTP id sc38mr37867240ejc.557.1641234783818; Mon, 03 Jan 2022 10:33:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKxgJw62ZH8iVdOI6GaU3nt3iU+z1YpGQfKs7zSUDnMVC+C/Tmlb6WAQgVo32A/ZkGpAuq5g== X-Received: by 2002:a17:907:8a26:: with SMTP id sc38mr37867212ejc.557.1641234783361; Mon, 03 Jan 2022 10:33:03 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id 3sm10873367ejq.159.2022.01.03.10.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 10:33:02 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 53268180300; Mon, 3 Jan 2022 19:33:02 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexei Starovoitov , Huichun Feng , Daniel Borkmann Cc: bpf , linux-arm-kernel , Jean-Philippe Brucker Subject: Re: Adding arch_prepare_bpf_trampoline support for aarch64? In-Reply-To: References: X-Clacks-Overhead: GNU Terry Pratchett Date: Mon, 03 Jan 2022 19:33:02 +0100 Message-ID: <87ee5od601.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Alexei Starovoitov writes: > On Wed, Dec 29, 2021 at 2:12 AM Huichun Feng wrote: >> >> Hi Jean and the list, >> >> Attaching BPF to fentry/fexit hooks requires >> arch_prepare_bpf_trampoline(), which >> AFAIK has only been implemented on x86. Is there any related ongoing patch for >> aarch64? >> >> I've found a discussion [0] on this, and seems there has no further discussion. > > No patches have been posted since then. > If you have cycles to pick up this work it would be awesome! +1, would love to see this! :) -Toke 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 A09D9C433EF for ; Mon, 3 Jan 2022 18:36:24 +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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ju0Fo10v4zqyb2Q2OhuhiJLtck4gsCIgZA6mqNxJMRo=; b=plVVERIlu1YMMg /9mbOxqiRLi4CK8FhNV1yGz55HDa+O68d2AwRfZTJPnH5Gghd63r9o7Ft2UmO88YdVi1pDQsQfEOV GNmdYgxpTlUqAKunKHhrFJTSf9h32ukx4YDP573Ku8ZjYy4DMK/WntNAMheTOOErpP6xGYcTEfinH 9uK2M58xO0Re46Ec1SqmAWGc+0gTTJL3ELUsWJNS3EGsp8BTDiSgxn7H7EGnip29JaxSB5adG5ccy HiR+1pdHW4ur4DQ9OtrUe+JShWwLBcgxrCUUSHNLONkU0hoIoHUoJkdtA7Ar1S1efn55BInsWogw+ dCXd80SG2LVAAYVHgFXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4SAl-009qHO-MJ; Mon, 03 Jan 2022 18:35:07 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4SAh-009qFr-9D for linux-arm-kernel@lists.infradead.org; Mon, 03 Jan 2022 18:35:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641234900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4qN6h930TSM8c/mWmb9+fYi4rE4bqlpIk/doAZAWfiM=; b=blggtxx1u3P0fCOgMXjsGyLli1aEbPeE+2MXQhK1YuaUFLzu1pO786yOI+UuExmvW1Xrv+ ieyTxwbCrGiHjSP3lxB/bJ3iV4G3kBRzEKsfELKgZq6ruxMFpfGGEVC8Mjh9GD6NEOLoAs AQfgrDsBzWmHhRXhVXs0frw0jOgy73E= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-384-6WBgOFXFMRuRSFo00h4y_Q-1; Mon, 03 Jan 2022 13:33:05 -0500 X-MC-Unique: 6WBgOFXFMRuRSFo00h4y_Q-1 Received: by mail-ed1-f69.google.com with SMTP id z3-20020a05640240c300b003f9154816ffso14332185edb.9 for ; Mon, 03 Jan 2022 10:33:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=4qN6h930TSM8c/mWmb9+fYi4rE4bqlpIk/doAZAWfiM=; b=EORKjwbrTdPXuE+Nj1UfNsPAzJZe/uyQ7O8dum61onO1OHFS+5Fr3BTbdrJDusUSZx Wv0EvKF7394rWt2uEelExINUA1UsXWjSC4ScwErThm47wczu5MNuQKZMCrfLn9VpJdRE I3nHiAuRy4UJI4c+cAW0CgM7Rim/wLv6GtAvgz2mRqClH5BtcntGU6nxERTyKtYeX5hc dfxltecC3S1oMzxDEAJp7aRe7lWuzHYKV5B+p4Pa1EI4OisEzhK1clcAJ3MVW7iOHRCl 14UyzThQi3LlmtZQq7kw5/bnaU4B2UB0EBt1P6OoBP2BgMnb6rXGk+jfBvoc6PTFG6dH KO/w== X-Gm-Message-State: AOAM532jFNM4wjAv+VnT+HX0gjNx72JuRTuWMPzMbLYupQ8ST+0s1RkK DtdbyDC+Zk8YMP3yLMP0I3B7SedB1NA8jH562G3LlC0rHrqHfRbrrQ4/sqFKteDazBAUhSCy4MU BIr8Ty2AoycPA3ibTMEeoMJRPs4sbJzQxJXM= X-Received: by 2002:a17:907:8a26:: with SMTP id sc38mr37867241ejc.557.1641234783819; Mon, 03 Jan 2022 10:33:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKxgJw62ZH8iVdOI6GaU3nt3iU+z1YpGQfKs7zSUDnMVC+C/Tmlb6WAQgVo32A/ZkGpAuq5g== X-Received: by 2002:a17:907:8a26:: with SMTP id sc38mr37867212ejc.557.1641234783361; Mon, 03 Jan 2022 10:33:03 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id 3sm10873367ejq.159.2022.01.03.10.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 10:33:02 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 53268180300; Mon, 3 Jan 2022 19:33:02 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexei Starovoitov , Huichun Feng , Daniel Borkmann Cc: bpf , linux-arm-kernel , Jean-Philippe Brucker Subject: Re: Adding arch_prepare_bpf_trampoline support for aarch64? In-Reply-To: References: X-Clacks-Overhead: GNU Terry Pratchett Date: Mon, 03 Jan 2022 19:33:02 +0100 Message-ID: <87ee5od601.fsf@toke.dk> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=toke@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_103503_450197_DFA2A145 X-CRM114-Status: GOOD ( 11.49 ) 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 Alexei Starovoitov writes: > On Wed, Dec 29, 2021 at 2:12 AM Huichun Feng wrote: >> >> Hi Jean and the list, >> >> Attaching BPF to fentry/fexit hooks requires >> arch_prepare_bpf_trampoline(), which >> AFAIK has only been implemented on x86. Is there any related ongoing patch for >> aarch64? >> >> I've found a discussion [0] on this, and seems there has no further discussion. > > No patches have been posted since then. > If you have cycles to pick up this work it would be awesome! +1, would love to see this! :) -Toke _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel