Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2931799lqp; Mon, 25 Mar 2024 13:31:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3DJfyfVA66OKN9PJvrE2eC8uBYbSwilKsa/aLwdxz0IwPIwtiJdxyTR/eBKR312cwV9FSiViESMlVpLXJ0YAL0lg/dcoC56LaFMnFnA== X-Google-Smtp-Source: AGHT+IGdXPzJ0miZP4MjbU8bgJ8k70aOILa4RKeiWGtszIHGmQI5psnE5kTAGEkeenlV20XGS9pY X-Received: by 2002:a05:6a00:844:b0:6ea:8c33:db10 with SMTP id q4-20020a056a00084400b006ea8c33db10mr10828734pfk.22.1711398681250; Mon, 25 Mar 2024 13:31:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711398681; cv=pass; d=google.com; s=arc-20160816; b=RSaxcqS06xsPH/m54oQKCE09DSNEgsteCneAca7FYuNyvNlA0oi6PBlXHmxOQtRG8G vgQcbxjCRMLXOVuDAaD9gP6kOiSEGxZmRy65WofiEn3r9lZfdZUmsDH2K7CCSf7ktvCK K6tHJxDKGuilvLQcQbPWjUAsTRzs5Si2qejWXxNx1ho40EHTd9GQQCDgKnNlLtiD0Tro dkJbTHm5a2Ca5SpADS8XZWjMnIE8qrsoZoW/zkAL63cXpHoBcXkUMGrH/DmpqoKZsiY2 2F9gK1Jmr02ZbSBWKgvtzzx5CnabZA56FHqa/O5YUWqm7PDSL78tFD+jedO+GsbY9sZP P0lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=v3+gMVn7h0c6Ki+M7fLbNElh0aeDBEYbB06dD5Nqiv0=; fh=7q+74WpgDqAJrEIUzd8W1tZeaSKabiPF2GE02GPDktI=; b=hDy2BpS+7MZJFzftkm0t99+jQisrsZrDVZnySpYPP1e6c/Fdd4B3xWUKMrBx0mCHJm 9MZoNDW4V7CRmusv/OBANo7eLFlMAWV68Oy4zKyKTVPFiX99uJ9EtdXVrxrMMsyQyIs5 gjirFuzcUSR5ko0zIDmk0ijFReK9gxEkx0A2B+6JhY32Ju1Zu9EGSOlgn1ykD+3Xax+X yc/7Q/nEAijw91UzueyD6gg7PkRjcjQHlBL6UDRt5XJiR7wrAtZ9Nf/i9HFNtO5TTmYp 58/nE2hhM1Th1Y6nZDu6UhUZ4in2Dx3sNnSBXMuCiB+MOEXWoyhemLtka0eRZ2Y//5d0 agXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SCgGYaWC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h30-20020a63211e000000b005dcbbecab93si8249737pgh.401.2024.03.25.13.31.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 13:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SCgGYaWC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D6BE2305826 for ; Mon, 25 Mar 2024 20:31:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80DB9524B1; Mon, 25 Mar 2024 20:31:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SCgGYaWC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A4019339AC; Mon, 25 Mar 2024 20:31:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711398671; cv=none; b=e7i8jkegHTdLQXAMyNaO12EyUNkaOgAf2TPOXrMMlavIa3Uo24X4OTYR7wxOAfhH4D7UAyCThJQ494At5il/xmTjyf42SE2u8Lv5ntIhnucO0ziNHQGD5EwbNYNFR4uF0Cv7x9AFeLH5Krdnca/RGHVUreXLAU4zhckJjGpZ0KQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711398671; c=relaxed/simple; bh=nD0S0HBjHRK4yrg36noMRJ6p5zTTPnr1zy2wYZ1vL+Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eX2qguaKtmJiuLAoYCQkhT80sPFIn1q+7ffaiGurqp8bBo4JCAqEVXb87qMp3Nd2IObQLl+NmJ4WI/aBzOO44aM0FVSYnStHebnX9R8e7AyIG92PGFC09q2KlpK7n5v91sGLjKBQHF5F87LUSLlcPZjMtclJUnZenliWMlb6kK0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SCgGYaWC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A7DDC433C7; Mon, 25 Mar 2024 20:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711398671; bh=nD0S0HBjHRK4yrg36noMRJ6p5zTTPnr1zy2wYZ1vL+Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SCgGYaWCWESKfwcXnv/GMus7WOS80RJzGQFjdD0a86l6riuGwhfZ8MgMv4ERjhrM/ M7R27wq88yxd7GpkzUVai+PHZ4FWpy0uuwfmLBmYXwciojwsd9G/A66lpAcM9NybWR fCiMPYecDMzbvBThaZVZGhc3156X17MWF0CkVAVL9/nwgk6tFBv55VP+j/8cGiTDQo jZmXnhis6fMdhmwLAo1MHErUeqidYOlOqRCxylDCR5Spyo6pQRVPo5ik8838uBWBro fjYSucUy2KGQldTKfku64YUJXrFAvD5mOrdCZsZPFJaYS/uXlhgxZH5DOW05PbsTqM Wt4TNHu0WkJrw== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: 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, Pu Lehui , Manu Bretelle , Mykola Lysenko , Nikolay Yurin Subject: Re: [PATCH bpf-next v2 2/2] bpf,riscv: Implement bpf_addr_space_cast instruction In-Reply-To: References: <20240325155434.65589-1-puranjay12@gmail.com> <20240325155434.65589-3-puranjay12@gmail.com> <20240325-nineteen-unvaried-cb5cb5fd3a73@spud> <20240325-perpetual-liking-25f26e485b65@spud> Date: Mon, 25 Mar 2024 21:31:08 +0100 Message-ID: <878r263vg3.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Having to manually run BPF tests ("non-official RISC-V BPF CI") is a mess! Bj=C3=B6rn