Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3056151lqp; Mon, 25 Mar 2024 19:07:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW16eC+dY/oTucqHicbDUsYJMGGwrCXPbL2gyIsXV02VYSLXAZ5O5yXfhR+rWGViFKUUJBgwQXDds5/2nNCRh5DuITjVhz7vHvxat4+9Q== X-Google-Smtp-Source: AGHT+IF/kw1XKlv4n5IgLS2FlQ1moiXTpyf7ZsdZD6HDL+0tL53P0aYLwtaiFwBzNFxjtF4HHVFe X-Received: by 2002:a17:90b:17c6:b0:2a0:569f:fa92 with SMTP id me6-20020a17090b17c600b002a0569ffa92mr229536pjb.0.1711418873476; Mon, 25 Mar 2024 19:07:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711418873; cv=pass; d=google.com; s=arc-20160816; b=SmOHXupaekT2UwURPomXfSQtfThyQ/X1mwqoS5TpXZny4PTIUXVvmRSTuTc/lR5BMQ zIX9tRKsdSf25I9bLN24ellIpF8iX6c80HiUS6KKf0hXB3+mcPHuIk06GNROvFmn0d0R pw2WIvJwFNY8QPLjChlDXQucE4FXWJPzBw3SnzaRmbVpxD2vGA444m0L79mCQyn6NzvS D47jWODaspPXyWP8t98VSlrK29DXTKpe+TM4WAQICQz1+a5X7aZh6k+wAkdzZ4si5dMt QP7VGFg5xvQ3KvigZDQjnOTtLfjvt5JTyW+nBU+//nW28LgaNPo4AeE5Y8ItdXgFA1Ar 4+GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=5TzobrArsBWzkB5K19rTRL9gg/dtzz/yOtxfvVwrSyM=; fh=Vx5pclyZdl2MVFVjAwGWrcz4KQ0k1vuERcplkOV9NSE=; b=w1oy9kBrFgk2SZriu5lbFBBHHSriEr9Vxs/bAeUpcTPHnV+GSE9qFch7opRTorDMxP vdXShRSyCH1+Vsf0soryTAJhYpNivNFnEFUf6ymr+2v6SH+P9E4ar0w1bI/Ew9upXAtH jgVi4p1YsexkT0zfGDCDh/NQbzsGWBY5dVNUg66NctMl6YMtA2NBROsP95MsOf1ddJ0j mfE6GBtnXmkkHzTZ295v+K2tqhH9TpLRYZM7ZghL9jpbYCNh0H/PNE3RNrCPmhqXsUg6 1aW21voLOln//uJalWzdf1lhOME1bmgDMT/IVtv1JHhCjZq9WBvCf9WaCiDjrn0RUufw yR3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-118264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118264-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j20-20020a17090aeb1400b0029b8507ea22si8782323pjz.110.2024.03.25.19.07.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 19:07:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-118264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118264-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 79D5FB24931 for ; Tue, 26 Mar 2024 01:44:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD8CE43ABF; Tue, 26 Mar 2024 01:44:07 +0000 (UTC) Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) (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 3D54E20B3E; Tue, 26 Mar 2024 01:44:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711417447; cv=none; b=BOOZ3Dv3+rwzZZ3CdKFSaAmMJesMC3Bnu9sJW64lBZdV4ezZD7arh/ljeqX3v/9rWZpRrrpAcLFr46uxCSftvvo5o+3ucsvaREi/ZdsJ6gOPUfg3Kahcegv/t7U99jA26WyjiUZYnvC5Y23HctJA7qfY7X/lALtODT9DRJIsNsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711417447; c=relaxed/simple; bh=0uKuPuHOu15SAOYOE+MCS7cUDeqBNLoUYczrHEoMxXw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Mff4amvFgzlAD3qGBqebtW7IzaCov+JQ6yeS2xLCUxNv+7ERDJWkkbf2pL5ly5XvWtRMMHnw3Ll6kutCmervMNko8r8lKUFjN3Y+95ztwPBxu6u+QzVmIrENHcgg5zxBY+4197rai60wmcjFb4rb97lpKmw46ctD64jQ9AnJp08= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4V3Xdk0SPxz4f3jdT; Tue, 26 Mar 2024 09:43:54 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 3B1331A0BF6; Tue, 26 Mar 2024 09:44:00 +0800 (CST) Received: from [10.67.109.184] (unknown [10.67.109.184]) by APP1 (Coremail) with SMTP id cCh0CgB3lA1dKAJmPQpfIA--.9979S2; Tue, 26 Mar 2024 09:43:58 +0800 (CST) Message-ID: Date: Tue, 26 Mar 2024 09:43:57 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH bpf-next v2 2/2] bpf,riscv: Implement bpf_addr_space_cast instruction Content-Language: en-US To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Puranjay Mohan , Conor Dooley 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 , Luke Nelson , Xi Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , bpf@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Manu Bretelle , Mykola Lysenko , Nikolay Yurin References: <20240325155434.65589-1-puranjay12@gmail.com> <20240325155434.65589-3-puranjay12@gmail.com> <20240325-nineteen-unvaried-cb5cb5fd3a73@spud> <20240325-perpetual-liking-25f26e485b65@spud> <878r263vg3.fsf@all.your.base.are.belong.to.us> From: Pu Lehui In-Reply-To: <878r263vg3.fsf@all.your.base.are.belong.to.us> Content-Type: text/pl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W8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU1rMa5UUUUU== X-CM-SenderInfo: psxovxtxl6x35dzhxuhorxvhhfrp/ On 2024/3/26 4:31, Björn Töpel wrote: > Puranjay Mohan writes: > >> Is there a separate CI for RISCV related stuff? is it public? >> >> I would be interested in adding RISC-V support in >> https://github.com/kernel-patches/bpf >> Is someone already working on this? > > +Cc Manu/Mykola/Nico who's doing all of the awesome BPF CI work at Meta, > and can keep me honest. ;-) > > I did some early hacks for to add RISC-V support for the BPF CI, but > haven't had time to work on it recently. :-( > > [1] https://github.com/libbpf/ci/pull/87 > [2] https://github.com/kernel-patches/vmtest/pull/194 > > I've been talking recently to Lehui about it as well. > > Two major things are missing: > > 1. Cross-compilation support (expand on [1]) > 2. Align the rootfs with what the other arch are using, to run the tests > on Qemu/TCG (and proper HW at some point!). RISC-V does not have > Debian Stable support, and would probably need Ubuntu or Debian Sid > snapshop. Manu outlines some issues here: > https://github.com/libbpf/ci/pull/83 yeah, the current issue below is fixed and I think we can move forward. https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=443574b033876c85a35de4c65c14f7fe092222b2 > > Having to manually run BPF tests ("non-official RISC-V BPF CI") is a > mess! > > > Björn