Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2890687ybv; Mon, 24 Feb 2020 13:47:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwKpvtVoUof2hwiqMGn7F9H2tUDI2fYs8BmxO+S/C6T8926mbBY8d9DkpzCGvGxgr8NZ04w X-Received: by 2002:aca:af50:: with SMTP id y77mr988548oie.8.1582580849696; Mon, 24 Feb 2020 13:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582580849; cv=none; d=google.com; s=arc-20160816; b=tAuZMbssgvN0xqEsE7B5s35dDrxLwgA+DdcGKRyLiZ0q7C4dIMcmidznydHJeMunTe xURt3XJFvUdxxd/noj5OLcaLrscQSo1zi3r5rwGm/WJGsmm4XjWorISxwA9MeTWoUKQU TVLpiw48NIWWY+YJYJmRZNtLgKHNcFjMc0a4PD4a3QVzODkhLh3TknTLFT1mILnCqhCe 0owFHT4DggOS/kpYRWTXj0Icc7IJ3IzHyhYy7hfItP0vhZDWCLXrNvp7h+eKlKmz5HZE AcV6I5nFC0O3Fne4WnLIx5+XZefH0iQeRj4f85dahV/TcNsV6dI2qY+1/mxFXN0rQjjK Fokw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iNtRJwz9wlMRsiahuz/KF1yWpwEFtdXT3kziG8T5g6o=; b=SkcpgwikaWjOpvJbyPL2MhfMAW8uT0rpxFtV1UghEiB4PnDNt2L3Z1ffq4Zj/0k2ah VBMGhYRnKCT+ffgayNiCj4fzKJVdxzKcPQg9CENY5MBOd9v3XrTlpa9yWNv8tBHnKVo4 yv8gmOWU85Grh067veSodhiiUukewHKYyA0zuf+8BYHNeAGXrqoIQvsq5aUtCvoUHx5V fhCdMk5Wb3ph9dca/X4YR1ip1XqWjWQee4bUYvZcZpG/9e7yCXSUVWmfIDTdxFz/SURE qovJZYuhe6bU8KX/zDqmej4v01ZrK5XFXg7wgPHp/uCU9ck+YeD7wzkKsuBl5Y/HPEu4 d24A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMg+aYz1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i78si5884272oib.1.2020.02.24.13.47.17; Mon, 24 Feb 2020 13:47:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMg+aYz1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728086AbgBXVrI (ORCPT + 99 others); Mon, 24 Feb 2020 16:47:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:58304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbgBXVrI (ORCPT ); Mon, 24 Feb 2020 16:47:08 -0500 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 22BA4222C2; Mon, 24 Feb 2020 21:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582580827; bh=iNtRJwz9wlMRsiahuz/KF1yWpwEFtdXT3kziG8T5g6o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WMg+aYz1pqfBf40N7HwxHgQpeCL0z5WsTj4AbdBOu5Qf4JPsNW4o/ftranmD03CLS 3aQ4zGauKMZhe6n6sPY8dsd/Lv4qk4vcsHr8kdnVV5e98E3ApwKd3g2YjZ2Vc86bsS 3N4Gd+iAZnwNydBCjMv7weJyQcdqMV8pTKKZVIPg= Received: by mail-lf1-f44.google.com with SMTP id c23so7943508lfi.7; Mon, 24 Feb 2020 13:47:07 -0800 (PST) X-Gm-Message-State: APjAAAULrZXbP80U8GZpGfJ1NR38DakqrRBafpKQeMeY6H9BlVrKxVCz KdiYWmMSYuS7A8wvDLpJmBJTZSHrnYQsFkCNZ2A= X-Received: by 2002:ac2:5682:: with SMTP id 2mr12461494lfr.138.1582580825266; Mon, 24 Feb 2020 13:47:05 -0800 (PST) MIME-Version: 1.0 References: <20200220041608.30289-1-lukenels@cs.washington.edu> In-Reply-To: <20200220041608.30289-1-lukenels@cs.washington.edu> From: Song Liu Date: Mon, 24 Feb 2020 13:46:54 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 bpf-next] RV32G eBPF JIT To: Luke Nelson Cc: bpf , Jiong Wang , Xi Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , linux-riscv@lists.infradead.org, open list , Networking Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2020 at 8:21 PM Luke Nelson wrote: > > This is an eBPF JIT for RV32G, adapted from the JIT for RV64G and > the 32-bit ARM JIT. I found a lot of common code between RV32G and RV64G. Can we move these code into a header file? Thanks, Song