From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 617D1C2D0C9 for ; Thu, 12 Dec 2019 16:19:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 38EF0227BF for ; Thu, 12 Dec 2019 16:19:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729875AbfLLQTa (ORCPT ); Thu, 12 Dec 2019 11:19:30 -0500 Received: from www62.your-server.de ([213.133.104.62]:57736 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbfLLQTa (ORCPT ); Thu, 12 Dec 2019 11:19:30 -0500 Received: from [194.230.159.122] (helo=localhost) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1ifRBS-0007Ab-RJ; Thu, 12 Dec 2019 17:19:23 +0100 Date: Thu, 12 Dec 2019 17:19:22 +0100 From: Daniel Borkmann To: Paul Burton Cc: Paul Chaignon , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Mahshid Khezri , paul.chaignon@gmail.com, bpf@vger.kernel.org, netdev@vger.kernel.org, Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko Subject: Re: [PATCH bpf 2/2] bpf, mips: limit to 33 tail calls Message-ID: <20191212161922.GA1264@localhost.localdomain> References: <20191210232316.aastpgbirqp4yaoi@lantea.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191210232316.aastpgbirqp4yaoi@lantea.localdomain> User-Agent: Mutt/1.12.1 (2019-06-15) X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25661/Thu Dec 12 10:47:42 2019) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Dec 10, 2019 at 03:23:16PM -0800, Paul Burton wrote: > On Mon, Dec 09, 2019 at 07:52:52PM +0100, Paul Chaignon wrote: > > All BPF JIT compilers except RISC-V's and MIPS' enforce a 33-tail calls > > limit at runtime. In addition, a test was recently added, in tailcalls2, > > to check this limit. > > > > This patch updates the tail call limit in MIPS' JIT compiler to allow > > 33 tail calls. > > > > Fixes: b6bd53f9c4e8 ("MIPS: Add missing file for eBPF JIT.") > > Reported-by: Mahshid Khezri > > Signed-off-by: Paul Chaignon > > I'd be happy to take this through mips-fixes, but equally happy for it > to go through the BPF/net trees in which case: We took the series via bpf, thanks!