Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp109867rwj; Thu, 22 Dec 2022 05:40:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXv1tM7fAGu/Eei9ZQkbWZEIwL0yMhuAcsuQMp32RA9x9zxMn5N6dH6bAKyt57EjeZ/Q2yjf X-Received: by 2002:a05:6402:3985:b0:467:9976:2e38 with SMTP id fk5-20020a056402398500b0046799762e38mr5377686edb.18.1671716413201; Thu, 22 Dec 2022 05:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671716413; cv=none; d=google.com; s=arc-20160816; b=bfD3zFeEAdm4xYyw0qWeRAcq0MJNXdp51+5YdQPkPqb1326L2oefuW754Qy+KMSZ+V 206/gL1PiGi14oPrxjEkVJWIAsMmRnoT5GXv5fMRrmDgZyqsjuwWPR9tOye+6cnv763O 2SoY6vAPT9uifZELkNKQXV00iI/RZeNcSjPKjEq6lW4GuofO1I03fOCsXfCjgfEtjZZ0 MyjZ6e/ofxmbdTbwZ9VBGNz3bKD6d2Q7AkoD0cJ+yI0xAVSOlt8Wv6bSG43Ii6IA8EXr 73doKiaugN5AfHF1lT46lm3Q+/2I5OezaMMxw6xco+FjBqHJviKHpX35Yt2l7zHyvp52 eeOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=9W5wvIsudxlyGWjHXQF4tUGsiSCy97rCYsCSM77Fg00=; b=UAnNUqqDKTjkn4vGGmi7qV/gKC46NeOtISXFQbFCU1eSnLarTVRnGqXbjAZNPbSmjH 02KnfiRa/Gb0/u5ssPEcU4AyOpCbWL+j0FivnwBzxmHwiK0YR5FNsfgunNzWyz3gxpJG KjNjhg8kybgDxu+gdaTXTkAhm8GHFVfpwivLqfSSK2Q1RzNHTK6mrDxyzliSxziarS73 N5Ti9MYlKZ6KFxKa03QQinw9Akuia/jQo+j1o4CxQ12McuYDyycMHL5IGsADuYH0wqyG ksea4Z9Tm831waacYJdxB7VJATO5Q3qFbiEDP4PswcHa0HunLYW883rq3ZLu+B1w9F9A hdbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dcnzhC9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m10-20020a056402510a00b00469229ef941si724567edd.468.2022.12.22.05.39.57; Thu, 22 Dec 2022 05:40:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dcnzhC9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235061AbiLVNAm (ORCPT + 67 others); Thu, 22 Dec 2022 08:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiLVNAk (ORCPT ); Thu, 22 Dec 2022 08:00:40 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48C1BC09; Thu, 22 Dec 2022 05:00:38 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 7726DB81D2D; Thu, 22 Dec 2022 13:00:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7D61C433D2; Thu, 22 Dec 2022 13:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671714036; bh=9W5wvIsudxlyGWjHXQF4tUGsiSCy97rCYsCSM77Fg00=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dcnzhC9r1DlFOf5fxMK6qAK/mWD0n9P52cyC6lX/n411r5np52AZp3mrqa6wAnRNR plT+6Mo/k5/VMd7IsD+D0UrZeTmKXhiqypuVaWuj9Uj/EHedpLogBWQ85eUhscJYVb 4/6UL3dLJB2O4Y8Jg2/UKJ+2snswaQhAVvVbYJUVsyOLpoA+2cNXsbUAn/3BSg20dP HBiipcUVhQtcXkIyHkwDJiMdG5OoOjsFvKQ43S2L0gctF2n7XUkf5qRlPA+Hwy7Wd7 qB31vpwGubOk0lfVBs7e8IJTtxUczi4wA6YvYyuKEsi6xvzS3Caez5j5NShZGQC3Iu +k02QLKYRa/Qg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Pu Lehui , bpf@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Luke Nelson , Xi Wang , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Paul Walmsley , Palmer Dabbelt , Albert Ou , Pu Lehui , Pu Lehui Subject: Re: [RFC PATCH RESEND bpf-next 0/4] Support bpf trampoline for RV64 In-Reply-To: <20221220021319.1655871-1-pulehui@huaweicloud.com> References: <20221220021319.1655871-1-pulehui@huaweicloud.com> Date: Thu, 22 Dec 2022 14:00:33 +0100 Message-ID: <87ili3a8zy.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pu Lehui writes: > BPF trampoline is the critical infrastructure of the bpf > subsystem, acting as a mediator between kernel functions > and BPF programs. Numerous important features, such as > using ebpf program for zero overhead kernel introspection, > rely on this key component. We can't wait to support bpf > trampoline on RV64. The implementation of bpf trampoline > was closely to x86 and arm64 for future development. Thank you for working on this! BPF trampoline is the "missing piece" from getting proper kfunc support. Unfortunately, I wont be able to do a proper review until next week. Happy holidays, Bj=C3=B6rn