Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1299822ybh; Thu, 16 Jul 2020 08:25:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS9VWmbif3ZvSUqy5uhRa/l8vb6FnPv5O3Cb6y0lDWddk42X9EO1kkVq4sfXSyDjZa8TTy X-Received: by 2002:a05:6402:1841:: with SMTP id v1mr4953939edy.198.1594913156478; Thu, 16 Jul 2020 08:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594913156; cv=none; d=google.com; s=arc-20160816; b=gXCAIs6n0YZIKxbAz+EsNse9HF/SSxprEa+zo5xfHIE2in8VIcN8Wh1KMQWmXXA3nG X4bUeUQNH9MyGij1XZpp+qZ7WB/Q0+aU+yPyYLAR2ZuxZxs/1l5Pf7F+CR8/yCGH5v/1 KnYb9uqB2tZiB7Tno2qko0GuNGCpMlOzkdktV8/B9ufasGlcN18Hqh1cYea5/ndK9dLd e9Qg/hGe7JRm8EBw99BNpaPEhXAMB7HeDiNEBYs8ZdxejQ7U5hUSDnEvfj1vMyTNWXrP NbvhuFRngboulOn5ABTXX/aWZ1W6I3/ewYXM1OV1Pf5FYUAIWIOdgqaz/MAMoLr56TCJ 4plg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=1/qolDFvhpKVU/laUVqhlu2vl5yv7xqj8R5RCMHuoAE=; b=h7fPCeD9AusGwpSYdB86KnBgIQHLXqA7JSj3ADQ3vzPyGo/a84zG1KJTiNpuf6bZw7 4KIbi0NoOvFAWjY83LpUSEi1ORKlq0nLAmvjE6PZiIX/zwTgP1p7GY6BfFnhA6+cMID/ TyyhINj3fh04+c5N/+zKbmLeoCZji+NyMijiKkP8I6xKXXW2472XWdybeE70mVOQqQZZ /p0OB4uzoqAnHW0020zAjcVSTzIBxs62TBez4QXbl/3LF/ew5b5++aHES4jQkSBltbir YXevI81oZc7oO1ZG9T8cAy7o44YlcLn0wFqLQM5iQF5AeYX/zJo0H0SyIAwDbD8O9/8K lyhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si3519480edr.244.2020.07.16.08.25.33; Thu, 16 Jul 2020 08:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729175AbgGPPXL (ORCPT + 99 others); Thu, 16 Jul 2020 11:23:11 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59833 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729038AbgGPPXL (ORCPT ); Thu, 16 Jul 2020 11:23:11 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jw5j3-0003HS-0a for linux-kernel@vger.kernel.org; Thu, 16 Jul 2020 15:23:09 +0000 Received: by mail-io1-f69.google.com with SMTP id r19so3788497iod.6 for ; Thu, 16 Jul 2020 08:23:08 -0700 (PDT) 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:mime-version :content-disposition; bh=1/qolDFvhpKVU/laUVqhlu2vl5yv7xqj8R5RCMHuoAE=; b=AXczgPL7HMGhYuhaPsje1KwgXIflhG93B7hz+wjmheyZ9KSxP52bxDQeHxryoIkLqk nvMaAQEhU9/R1qW40IFVntDKGeKA8Q31IKKh2qttFJ087glZNWaejMODeoummvgSb8BB MyFbOaMa3Ih3SaeRP8ajaUmWgZi2DmCsQvgqXHE/8KTsYo25Y6oFrMh76A9BTSHoNFbt GAgZ4PYqn0BUVoLPNUvp/6nVBZxfolRZsWFLGNbB0zqRKisAf3ALbjeTib5WUiZGBsTs Zp8ELvLep1iYV8sBSClu9dXLxqLzshOwBhfrpWzBw9hpu6CPFI15LfELIBeXYA+Riv3A z5xw== X-Gm-Message-State: AOAM533+vyn0ICOTLvfaggijyrEZc1yzsO44oicC5CQKt+cg5QuIlFOZ VIZIfzuR8VnKjprBxKSrKiyc2yw2d/CnOrsMMrjLDhDXIrJZ6ayJqmdkv10bO9iolfyTeL7vT+j WrX7qRJOAYNgcAA4vPpngKOv24hn/x+UcEIoqIXoztw== X-Received: by 2002:a92:9144:: with SMTP id t65mr4972489ild.157.1594912987980; Thu, 16 Jul 2020 08:23:07 -0700 (PDT) X-Received: by 2002:a92:9144:: with SMTP id t65mr4972471ild.157.1594912987705; Thu, 16 Jul 2020 08:23:07 -0700 (PDT) Received: from localhost ([2605:a601:ac0f:820:90fa:132a:bf3e:99a1]) by smtp.gmail.com with ESMTPSA id o67sm2764824ila.25.2020.07.16.08.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 08:23:07 -0700 (PDT) Date: Thu, 16 Jul 2020 10:23:06 -0500 From: seth.forshee@canonical.com To: Ilya Leoshkevich , Heiko Carstens , Vasily Gorbik Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: test_bpf regressions on s390 since 5.4 Message-ID: <20200716152306.GH3644@ubuntu-x1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The tests in lib/test_bpf.c were all passing in 5.4 when using the JIT, but some are failing in 5.7/5.8. Some of the failures are due to the removal of BPF_SIZE_MAX causing some expected failures to pass, which I have already send a patch for [1]. The remaining failures appear to be regressions. I haven't tried 5.5 or 5.6, so I'm not sure exactly when they first appeared. These are the tests which currently fail: test_bpf: #37 INT: MUL_X jited:1 ret -1 != 1 FAIL (1 times) test_bpf: #42 INT: SUB jited:1 ret -55 != 11 FAIL (1 times) test_bpf: #44 INT: MUL jited:1 ret 439084800 != 903446258 FAIL (1 times) test_bpf: #49 INT: shifts by register jited:1 ret -617 != -1 FAIL (1 times) test_bpf: #371 JNE signed compare, test 1 jited:1 ret 2 != 1 FAIL (1 times) test_bpf: #372 JNE signed compare, test 2 jited:1 ret 2 != 1 FAIL (1 times) test_bpf: #374 JNE signed compare, test 4 jited:1 ret 1 != 2 FAIL (1 times) test_bpf: #375 JNE signed compare, test 5 jited:1 ret 2 != 1 FAIL (1 times) Thanks, Seth [1] https://lore.kernel.org/lkml/20200716143931.330122-1-seth.forshee@canonical.com/