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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 387B4C3A5A3 for ; Tue, 27 Aug 2019 13:56:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1603C2070B for ; Tue, 27 Aug 2019 13:56:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbfH0N45 convert rfc822-to-8bit (ORCPT ); Tue, 27 Aug 2019 09:56:57 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:28482 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfH0N45 (ORCPT ); Tue, 27 Aug 2019 09:56:57 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7RDte0S113122 for ; Tue, 27 Aug 2019 09:56:56 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2un5afhqqj-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 Aug 2019 09:56:56 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Aug 2019 14:46:47 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 27 Aug 2019 14:46:44 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7RDkhkS54853648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Aug 2019 13:46:43 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B24284204C; Tue, 27 Aug 2019 13:46:43 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 827D742041; Tue, 27 Aug 2019 13:46:43 +0000 (GMT) Received: from dyn-9-152-98-121.boeblingen.de.ibm.com (unknown [9.152.98.121]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 27 Aug 2019 13:46:43 +0000 (GMT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [RFC PATCH] bpf: s390: add JIT support for multi-function programs From: Ilya Leoshkevich In-Reply-To: <3F7BF2AC-E27D-4E69-90D6-07B36C7D7598@linux.ibm.com> Date: Tue, 27 Aug 2019 15:46:43 +0200 Cc: bpf@vger.kernel.org, daniel@iogearbox.net, jolsa@redhat.com Content-Transfer-Encoding: 8BIT References: <20190826182036.17456-1-yauheni.kaliuta@redhat.com> <3F7BF2AC-E27D-4E69-90D6-07B36C7D7598@linux.ibm.com> To: Yauheni Kaliuta X-Mailer: Apple Mail (2.3445.9.1) X-TM-AS-GCONF: 00 x-cbid: 19082713-0012-0000-0000-000003437DCA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19082713-0013-0000-0000-0000217DB6B8 Message-Id: <3DC02E46-160A-420E-B15F-1D68F7639851@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-27_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908270150 Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org > Am 27.08.2019 um 15:21 schrieb Ilya Leoshkevich : > >> Am 26.08.2019 um 20:20 schrieb Yauheni Kaliuta : >> >> test_verifier (5.3-rc6): >> >> without patch: >> Summary: 1501 PASSED, 0 SKIPPED, 47 FAILED >> >> with patch: >> Summary: 1540 PASSED, 0 SKIPPED, 8 FAILED > > Are you per chance running with a testsuite patch like this one? > > --- a/tools/testing/selftests/bpf/test_verifier.c > +++ b/tools/testing/selftests/bpf/test_verifier.c > @@ -846,7 +846,7 @@ static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, > tmp, &size_tmp, &retval, NULL); > if (unpriv) > set_admin(false); > - if (err && errno != 524/*ENOTSUPP*/ && errno != EPERM) { > + if (err && errno != EPERM) { > printf("Unexpected bpf_prog_test_run error "); > return err; > } > > Without it, all the failures appear to be masked for me. Hmm, I'm sorry, I thought about it a bit more, and the patch I posted above doesn't make any sense, because the failures you fixed are during load, and not run time. Now I think you are using CONFIG_BPF_JIT_ALWAYS_ON for your testing, is that right? If yes, it would be nice to mention this in the commit message.