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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 95440C433E2 for ; Mon, 14 Sep 2020 17:04:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0BBCB20770 for ; Mon, 14 Sep 2020 17:04:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nBFR5TxP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H262Havf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BBCB20770 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JUIrE2fTHP+6OB5uYPjjM/LzOYw48FGROSjnSjrDvaI=; b=nBFR5TxPYgO4xvsqfUlupk2RU AabaEdDLCo9wsK/GGStmEGnPtQzY4tLO9PI33HKDKvFb1qZN4tIveTyAcfBwFlegAIzgOItrNiYei XZJ9duQi/XowHrvHhqCutMItb4Vn96Gt3e4FrYpzlTVlFrNIEsPZIvL30QQLzTEjqT268DEeTm4kt QQ5IVivn6m/swCoOTk/nE1t4PzJWX64HQHopHcdUzAF0/uBon1849/AsgopK3eKbA77lzbWIe5dyN E/Tk8J+vzr/+RaAqHONYrsa92zZ+uXR+/6gMMW49BzqY4zbtPk810cib0UYKk4MYJcb+FwG30qMfa 6I2eMckxg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHrrq-0006mB-B9; Mon, 14 Sep 2020 17:02:14 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHrrn-0006lp-MJ for linux-arm-kernel@lists.infradead.org; Mon, 14 Sep 2020 17:02:12 +0000 Received: by mail-wr1-x442.google.com with SMTP id j2so419180wrx.7 for ; Mon, 14 Sep 2020 10:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8phrXHPm9iOawTdsaIPnylRsltNcVb5/pPjRLSqXyMk=; b=H262HavfjAMKUr1v/sUjYJPhhhCjLTriI/M7rKKaiYnuzgf9T0ia46nZNeoILPihEq dmOPrBGWckaIU5DFj3jeSForb8LDfCEAHv7n/nkdye++p73LHuzDnAGBOgBj0tRwKBC+ APVbeMAbByOfNr3qSAr75PjjgJnTm2wpekcBzsUelMXk6W+z9Zf2tJz190MrinY9zjQi CHk5udFpGgosByJSnpFSaZ12OUSBvyBIhYjZMhAOBHoqFu+eJf5gCU8ljlLSt3Cb4orW Jxi5563V/3+whieCptlduy6v88dwV7BYNs9AZ2fdY+Ps2ekXDXNu1WoCb3Kcaq36tm85 ETtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8phrXHPm9iOawTdsaIPnylRsltNcVb5/pPjRLSqXyMk=; b=D5PTriNAHPjtxvsaDuBQrpI4g6oE1P1FumyAePW4ZCoht/UTFEoPlt7tj53oNQ2DLC 2trYBXjWjIaDHvjXlo5sN2G/ZePeBw4rRmxHMwQqmp1v8HkhQqnoEq1X1h+n9AMPK6yo BhK4eV40OD4dWBiMyuVzwR2FRbdghx77gB21X7EkATaEiTHpLBM812N35yyjFo6pDZgw 7m++adVhklOCDFojVt+cT75jfXUS66e0bdueV7OyeVJCW50xydZ4jZuXh0Ci1oNqiasl CFmPeWZDg7kIFxqxd0/ZFhpAlY2tVRDk0LnwMSxxzCjStR1N9t0PPeUODoNGTbxKWU5U aMAg== X-Gm-Message-State: AOAM530xqC7dZKuUTHzwyoZnO1VonrY+rzZsgG6/c9PKYEhymlV+BH0X HQvlU/6vuyT7mqdusWh5BlCkrA== X-Google-Smtp-Source: ABdhPJwAa55HftLb6r7Iwk0ni2ORg7ecloANTsssVyBu6gm2nFHsVbTL9FHc8yFemg38gD48gj5mMw== X-Received: by 2002:adf:e80b:: with SMTP id o11mr14005546wrm.118.1600102930108; Mon, 14 Sep 2020 10:02:10 -0700 (PDT) Received: from apalos.home (athedsl-246545.home.otenet.gr. [85.73.10.175]) by smtp.gmail.com with ESMTPSA id y5sm20313641wmg.21.2020.09.14.10.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 10:02:09 -0700 (PDT) Date: Mon, 14 Sep 2020 20:02:05 +0300 From: Ilias Apalodimas To: Jesper Dangaard Brouer Subject: Re: [PATCH] arm64: bpf: Fix branch offset in JIT Message-ID: <20200914170205.GA20549@apalos.home> References: <20200914083622.116554-1-ilias.apalodimas@linaro.org> <20200914122042.GA24441@willie-the-truck> <20200914123504.GA124316@apalos.home> <20200914132350.GA126552@apalos.home> <20200914140114.GG24441@willie-the-truck> <20200914181234.0f1df8ba@carbon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200914181234.0f1df8ba@carbon> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200914_130212_009038_3DA1AAB5 X-CRM114-Status: GOOD ( 18.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Song Liu , Zi Shen Lim , Alexei Starovoitov , Will Deacon , ardb@kernel.org, Jean-Philippe Brucker , Anders Roxell , Daniel Borkmann , naresh.kamboju@linaro.org, John Fastabend , Catalin Marinas , Jakub Kicinski , Andrii Nakryiko , Jesper Dangaard Brouer , Yonghong Song , KP Singh , linux-arm-kernel@lists.infradead.org, Yauheni Kaliuta , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , bpf@vger.kernel.org, Martin KaFai Lau Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Sep 14, 2020 at 06:12:34PM +0200, Jesper Dangaard Brouer wrote: > > On Mon, 14 Sep 2020 15:01:15 +0100 Will Deacon wrote: > > > Hi Ilias, > > > > On Mon, Sep 14, 2020 at 04:23:50PM +0300, Ilias Apalodimas wrote: > > > On Mon, Sep 14, 2020 at 03:35:04PM +0300, Ilias Apalodimas wrote: > > > > On Mon, Sep 14, 2020 at 01:20:43PM +0100, Will Deacon wrote: > > > > > On Mon, Sep 14, 2020 at 11:36:21AM +0300, Ilias Apalodimas wrote: > > > > > > Running the eBPF test_verifier leads to random errors looking like this: > > > > [...] > > > > > > > Any suggestion on any Fixes I should apply? The original code was 'correct' and > > > broke only when bounded loops and their self-tests were introduced. > > > > Ouch, that's pretty bad as it means nobody is regression testing BPF on > > arm64 with mainline. Damn. > > Yes, it unfortunately seems that upstream is lacking BPF regression > testing for ARM64 :-( > > This bug surfaced when Red Hat QA tested our kernel backports, on > different archs. Naresh from Linaro reported it during his tests on 5.8-rc1 as well [1]. I've included both Jiri and him on the v2 as reporters. [1] https://lkml.org/lkml/2020/8/11/58 > > -- > Best regards, > Jesper Dangaard Brouer > MSc.CS, Principal Kernel Engineer at Red Hat > LinkedIn: http://www.linkedin.com/in/brouer > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel