Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1580051rwj; Fri, 23 Dec 2022 23:15:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXv6i1XWn+tUsuy3y+wO/QZOK076TjZTrSI1lVa4PHThu7iANYNHmvL4J9F1BDzipD+j+vGv X-Received: by 2002:a05:6a21:1507:b0:ac:1cf0:61e2 with SMTP id nq7-20020a056a21150700b000ac1cf061e2mr16420566pzb.3.1671866159275; Fri, 23 Dec 2022 23:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671866159; cv=none; d=google.com; s=arc-20160816; b=jKKPr6lzHVl+cn/pCg5DiwTIaiYx+HbjgUz+4E4RrQWO6yu6dl2w9zqGyjyx80USh4 WnWXGSkGk6FR6CavCn62LcD2W/wFlkhIzb5IiqVWNuzpkulfoQSfVGYMwWgM3LlW9AqI 54y2gDk9uuOpdyg2wbfIFlFtGW5l/MiiowIKQYxGoseZGggDE8j4K4Qg/4aJLUsYHpEB S5888IgCEYwmk+HeR7VOUaLDVfg5ajUQpzePlVnZ3NE+GY+U0ot2CpWcISygHpis0RW8 8I/set01gp3BhXBcQlVZAVi1wV1Ow75UGUOVg/CIU0HZo35rRkVjiWj0pWPtn+XQYJvC 2WFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=88SFEC70qHkZe4PyRQDrYOFtmoqajgAMSrTc2X/1EK8=; b=awoB8S3dIi++y8MegZrqQ8qKWr0EyicQ4G8ieMunDX6r02TiK+L6FNChBwsKJ6xrCC 2aL76ve/aDdOl1vP7e7mez4zRp2zvR65AvVq2EsceROwKOpJ8o0N7ko/vce4eR8+ks9O VxOngztmFWFVN80QX5moLIGaok9Iczvmb6FR1mTKGMmSjQnVD6IeBHRiO755pyjl5gTe Ec/TBi40Gx/6uCLovDbAYn2fY3IFM1bXjtgEdzv/WT3cKp9uyLqvak+bgodF6jAYmsk1 Og6Ko2gBZrD0ejumxH1d/QeWiVj4c5qTP69t7Xe6S9rSod5SQtvqOHCvIwsEoECGfi2M kn/Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w198-20020a627bcf000000b0056e0ac0f382si5577756pfc.233.2022.12.23.23.15.51; Fri, 23 Dec 2022 23:15:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231205AbiLXGXJ (ORCPT + 64 others); Sat, 24 Dec 2022 01:23:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiLXGXG (ORCPT ); Sat, 24 Dec 2022 01:23:06 -0500 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5958164BC; Fri, 23 Dec 2022 22:23:04 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4NfDW62ZMgz4f3k6G; Sat, 24 Dec 2022 14:22:58 +0800 (CST) Received: from [10.67.109.184] (unknown [10.67.109.184]) by APP2 (Coremail) with SMTP id Syh0CgC3XevBmqZjip+oAQ--.41973S2; Sat, 24 Dec 2022 14:22:59 +0800 (CST) Message-ID: Date: Sat, 24 Dec 2022 14:22:57 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [RFC PATCH RESEND bpf-next 0/4] Support bpf trampoline for RV64 Content-Language: en-US To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , 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 References: <20221220021319.1655871-1-pulehui@huaweicloud.com> <87ili3a8zy.fsf@all.your.base.are.belong.to.us> From: Pu Lehui In-Reply-To: <87ili3a8zy.fsf@all.your.base.are.belong.to.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: Syh0CgC3XevBmqZjip+oAQ--.41973S2 X-Coremail-Antispam: 1UD129KBjvdXoW7XrW3Jr4fCF1kGFyUZw1rCrg_yoWfZrgEkr ZxtrySvr45ta1Dtw1Ygw43urZxXr40qFyvyrWUXFZ2k395ZF1kXFn8u39xArWfZ3ySqFnx tF98AFyxAasFvjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbIxYFVCjjxCrM7AC8VAFwI0_Xr0_Wr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40E x7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lFIxGxcIEc7CjxVA2Y2ka0xkIwI1lc7I2V7IY0VAS 07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c 02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_GFv_ WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7 CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAF wI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa 7IU13rcDUUUUU== X-CM-SenderInfo: psxovxtxl6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2022/12/22 21:00, Björn Töpel wrote: > 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. > Take your time, it might take several rounds of optimization. Yep, riscv bpf will look more complete when bpf trampoline and kfunc are supported. Anyway, have a nice christmas holidays.???? Lehui > > Happy holidays, > Björn