Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3558370ybd; Fri, 28 Jun 2019 10:42:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJxsLXTKcYrDNoaDhdWDKI08cuxm4eDH7QMfQ2eN+Fxh9EQ0P1Pd4SXRgKa/o+QuhnRLIt X-Received: by 2002:a17:90a:9201:: with SMTP id m1mr14762875pjo.38.1561743724809; Fri, 28 Jun 2019 10:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561743724; cv=none; d=google.com; s=arc-20160816; b=QJKp1mMe2JbmAag/k/iVIWVcCulxgvKV6MOKTKLQaHVC601dXuTY+kGlEG/h+y5KLD 6T7DAPT9xxqOLhMc3Zhe4an0VVjIlDkFEJeduWJuoe4phA4PtKoqCdMNLs327CVe4d3M 7qd0p2cDtBdXiT62kQCV37Kj9P4KCPN4mSyClGhLf+AKobarfKSEO1gL/XzmAsjmlaPX rJO/w0DAvFYNtWDklI6gfkivm/aNA16paYD68XCZmdlD26Xfvf4c7CUV8OFeo6rOtlrv LuC1hn3EuOc3VGmIZe9AD9pLVO+wwssRjYNBQwL3HW453Wos7wZe42VUqOMHySMkVEVy /EvA== 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=uqJ6r1Mjakiqpd0ZD9iGpyAkpv+xSUcUqESly9SnS30=; b=xTqggZNemKXmVpnObpPvY/LiTAnLmeJTzNPG11NhbqZuAAJhhawOFx0k3t15npQBHO 0b7pYhSx6tecZdCRFjXFQ8BOjcRzNDUY8f0PicvmhYTm2u4n2XbQKfK8S+I2sPfhbUn2 n/Gv3jiATN+PvUbyue/T6sdkpprP/n1aTXutAHhxK9/YpIZ4Mpiwxphi3yWE72oxKg0C mDui3PewmYqcaiGgPXgkrSEngXf1H9QJo+/j3pv4ufu1j5aqJg5WqjvnLrbIHYr97QAZ QXnyuDbr+LLzUbFpEmL9ggyA07wmOHLlBs8IME9WJPvC2LeddB0Xs1pp/kG4W0hBy5px N/vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cs.washington.edu header.s=goo201206 header.b=lOFXls3F; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v62si2536915pgv.126.2019.06.28.10.41.49; Fri, 28 Jun 2019 10:42:04 -0700 (PDT) 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=@cs.washington.edu header.s=goo201206 header.b=lOFXls3F; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfF1Rlb (ORCPT + 99 others); Fri, 28 Jun 2019 13:41:31 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:40045 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726892AbfF1Rla (ORCPT ); Fri, 28 Jun 2019 13:41:30 -0400 Received: by mail-io1-f65.google.com with SMTP id n5so14213215ioc.7 for ; Fri, 28 Jun 2019 10:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.washington.edu; s=goo201206; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uqJ6r1Mjakiqpd0ZD9iGpyAkpv+xSUcUqESly9SnS30=; b=lOFXls3FkwUg97CyPjvyXgrcjW6i3Y09TjD9O1sKjz+4VVLO0kGXwLk7Lh5Ks/8aAW JijWwpKYFieazAh57d6dT1oO3AO01TZnC7WoBmE1OSNdS8W3PrRrtsH2CbmHSwhjVWw+ zeSbiFOvp9Kpu25n4n1vGhIUhGVzJdYcNha8A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uqJ6r1Mjakiqpd0ZD9iGpyAkpv+xSUcUqESly9SnS30=; b=RtrlwvMN0CndXBEsmS816KtvhJMZSoRXOk0yF87TMNDV6ByVJcTjn77uqU4soez2ji kDFCQoBic3brQvhLl9U5HIh0+GFKktR/47mV799fo8vagWc5qVSsybg76id6c2W/aZVR SNiguKpxdUeYWwtcHtiXijgFb0RuSSUlJ8AI9o/i51I3AE+SyGKYLedVBcjtsemv81Oz lg91yz+IIBdop1cPA1Jw3ibQqIi+EsoPO2e8vjfLt20BZtNmxkRVeH87QGoAR+QH7Ia0 YcQkLtfPtFcw2S15lP4jUDIxWpUQ4QB/TvenNH+Nr1AK/M9QQqmGqY4Rtf0GKZLwXE7U 03oA== X-Gm-Message-State: APjAAAX9s4pwwu9tMgpPrx781JaC15HCWCdczzkgqDyyqdJCNcBaHglH /H+Ck9UNRopmu3Nxj72aL1vND1UPYrTEm89nsh3uwA== X-Received: by 2002:a6b:f90f:: with SMTP id j15mr12016235iog.43.1561743689556; Fri, 28 Jun 2019 10:41:29 -0700 (PDT) MIME-Version: 1.0 References: <20190626231257.14495-1-lukenels@cs.washington.edu> <87y31nuspw.fsf@netronome.com> In-Reply-To: <87y31nuspw.fsf@netronome.com> From: Luke Nelson Date: Fri, 28 Jun 2019 10:41:18 -0700 Message-ID: Subject: Re: [PATCH v2 bpf-next] RV32G eBPF JIT To: Jiong Wang Cc: LKML , Luke Nelson , Xi Wang , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , linux-riscv@lists.infradead.org, Netdev , bpf 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 Thu, Jun 27, 2019 at 5:18 AM Jiong Wang wrote: > > #define BPF_ZEXT_REG(DST) > ((struct bpf_insn) { > .code = BPF_ALU | BPF_MOV | BPF_X > > So it can't be BPF_ALU64. It is safe to remove this chunk of code. > Thanks! I'll fix this in the next revision. - Luke