Received: by 10.213.65.68 with SMTP id h4csp540181imn; Tue, 20 Mar 2018 09:09:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELs0rgfGkyp+rclWirWF//mTFw/ZN1bVMNmNZliKd60JCrvP2eQVwKf4cHMRUAR3Jhg5ZWWG X-Received: by 10.98.32.89 with SMTP id g86mr14273873pfg.35.1521562172407; Tue, 20 Mar 2018 09:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521562172; cv=none; d=google.com; s=arc-20160816; b=CN5smeAMkbwADKm09xmTBtiYytnCVMax/HXuPOef/xaSHwCrw9mBwRQfJucZ6xOInE DMotHG5LKFOrL5j7rs/S7R4AXqzrfINcotteUm3Ep15ycMfIZdOgO49GAh40yMKZfcyn lS23NnwjtqOX4d9ruK8GNJ9skGXzlMTRlxh9i7CAL/f+C6jgHWHwbK16fZiQVeOHRFvh uBLjMk4tc/HnGsXPh/iJXOOYB79nYwCEUQZiGn9jEIyaCelZ0EwWR/7SO0e3xQDjuDtY syD0Wj8Z2GjQg2JfdQcZ1pbCqFaTi9fwNkou3eH1BQNMyUFfZ00CxIs7AnFdDRy2DTdI uSdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature :arc-authentication-results; bh=7K5eKirGb9NHu6VBdfDbBx8o+XeCHrlKWYkCgSjRDKs=; b=Q7olai137XqKZ2wzWcI7oHu5h0IFFAjLU4eiHCfj9y8xWAAcFOUyR+p5wFxHKs5mRb xfqufsP+sAj2mw3BIGUGPOIp5yt55YS31vUD8+qhNajuyonLUI9BkkOmtKXZ3f65y5NU nNElbgh6M6P0AeX3Uca6q3ogYKUw0sWrom6eZosHtxmO4t/cOkfzgNjj9NTc9+8l0f8M lj+/CdheBdUchsXbPBskFUzB2uBQt7GE49yyqAftPIJGSgMHjVB13tBihKEwTpOgFhQq Fn72+Kkfz61HgoQ1HxP8cB8+bgRI0/4OeWhmkj4Oxds17FTwIiow/hG8EgiJzLVyzKQD jQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=Ht/hPF26; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=S7HsQ5l7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si1370627pgq.168.2018.03.20.09.08.55; Tue, 20 Mar 2018 09:09:32 -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=@fb.com header.s=facebook header.b=Ht/hPF26; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=S7HsQ5l7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751796AbeCTQGN (ORCPT + 99 others); Tue, 20 Mar 2018 12:06:13 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:40314 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448AbeCTQGI (ORCPT ); Tue, 20 Mar 2018 12:06:08 -0400 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2KG1h9R015914; Tue, 20 Mar 2018 09:05:44 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=facebook; bh=7K5eKirGb9NHu6VBdfDbBx8o+XeCHrlKWYkCgSjRDKs=; b=Ht/hPF26kiO6vob3rDGqTP8doshe1GaZvCwUz5+Bx7b342Yti798V1A8CJGAmoJjrOsa R5bgCcUv1pzpcPX/jZkEkDDCYH5CGHtTVLh03HYmWBwJMHbAK1C3KoZRSH4+ZE9YSkkh mr1JdmklDP55tF9eqwHW7CN8wIqDeMs9mDQ= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2gu3fu0dfv-7 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 20 Mar 2018 09:05:42 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.24) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 20 Mar 2018 09:05:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7K5eKirGb9NHu6VBdfDbBx8o+XeCHrlKWYkCgSjRDKs=; b=S7HsQ5l7vCP5ZYQWstk2PJqq8XLT80Yt8frPdWKRbju4wkJjaE2uAtRL6hYvJXlDSP3QyHaOawLaLB4IJ/mfGI3ZLUCnISOfMYZm7trOEWAUI1H0HwsLfxzX4EY19GrhXST3w4j7ovmYG48NeBnh/r5L5leWGZ4e3vgrDlLyrCU= Received: from MacBook-Pro-52.local (2620:10d:c090:200::5:ba97) by BY1PR15MB0069.namprd15.prod.outlook.com (2a01:111:e400:507c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Tue, 20 Mar 2018 16:05:19 +0000 Subject: Re: [PATCH] test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other arches To: Thadeu Lima de Souza Cascardo , CC: , Daniel Borkmann , Alexei Starovoitov References: <20180320125851.19650-1-cascardo@canonical.com> From: Yonghong Song Message-ID: <4a497245-1864-3036-074e-107134e4b9b5@fb.com> Date: Tue, 20 Mar 2018 09:05:15 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180320125851.19650-1-cascardo@canonical.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [2620:10d:c090:200::5:ba97] X-ClientProxiedBy: BN6PR11CA0008.namprd11.prod.outlook.com (2603:10b6:405:2::18) To BY1PR15MB0069.namprd15.prod.outlook.com (2a01:111:e400:507c::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24d41c9f-8c61-449e-3a64-08d58e7c61c0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BY1PR15MB0069; X-Microsoft-Exchange-Diagnostics: 1;BY1PR15MB0069;3:ch2fD7JNQ4rQCzm+A42H8WgLLb6CbBWBmJqRjd89jsfznGsz2s2flx8l7e6zCh7UKkYKcXqpiSl3b/sLtvFnLhJF38CE7W2fzPzN8cvaidLZH/n/n4BYmg2/VZlvkouznShir6a4HdFnzjWdDQftIGku+EdkqgrJdsLk32SDucAr72cXqXatlAXbl4SCzaCq1VD7IVGfVIh+C6U7pnJhoGdjd+k3SOzcONfVnOutzB/l/OfTW/tZa+hKAV90LIFl;25:odYy1ldZx5QBhHxmMbexkJXWjhp22lHMrVMseAsIiGrQJuEgPRwJWjz9kzk6ASfiIAvCJ9CGKuoFyiZ3SkDb77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MnUZJtzGtiU4FpSx+;4:Xj/7uxWptcjkdOCodeRQP0hAyq+uHcz/QmG3LsUmuCbv6KVATF5IAKJe4YSfR7Y+F7IviyKheAoROimlLI5zusOGwnfHkEWM2mpeMhIkztaxWNzSfCrlZWvETosxMBO4uu5FN9d+UcofIyhL5ZEtbhwVjRk5UqqmEMdg/vP2xTX3mZU/ggEP3eBQodSEDRoT9SQHVOgoSSv489fJWsCE08D2NXO3/ziAwd8C8hfvZgpih4hw6SH7xLUsALuPUlBa0kJ5lKlazWkb4OXjOH0lLvabpX8UplU2F9ZI0njBrJ9vjjMYlk52/0Zs5pO1cuvl X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(198206253151910); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231221)(11241501184)(944501244)(52105095)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:BY1PR15MB0069;BCL:0;PCL:0;RULEID:;SRVR:BY1PR15MB0069; X-Forefront-PRVS: 061725F016 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(366004)(376002)(346002)(396003)(199004)(189003)(186003)(36756003)(230700001)(6116002)(86362001)(6666003)(386003)(53546011)(5660300001)(6486002)(52396003)(97736004)(23676004)(52116002)(106356001)(229853002)(6506007)(59450400001)(31686004)(54906003)(2950100002)(52146003)(2486003)(67846002)(65956001)(81156014)(7736002)(6512007)(46003)(53936002)(65826007)(76176011)(58126008)(64126003)(50466002)(6246003)(105586002)(65806001)(47776003)(2906002)(31696002)(305945005)(478600001)(8936002)(81166006)(68736007)(25786009)(8676002)(16526019)(316002)(4326008)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR15MB0069;H:MacBook-Pro-52.local;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTFQUjE1TUIwMDY5OzIzOk54a29sNEZUaklmblRtVjlGeElqWVFva3Z6?= =?utf-8?B?bkM0SldJTGMrK3VMbHdOODhrZWdLa1dSWmhnMzlraWlKWVJBb3VzVGI5MmxB?= =?utf-8?B?Tzd0S3AxZHhxWCtpaGRzd0k0dFJsaXl1a1FINVBOL3N1TzJrbEZXNmVNbXVo?= =?utf-8?B?N2dtSW5lbTlxdmVrY3U1YkxicWRhM1h1d3FGQk9Mcm9pWTQ3aXYyNzFYVnJq?= =?utf-8?B?bkxzTW9pNkFhZDZBc1BSTWxhMkR3THM2bC92aXFodnZTbEJhczdTRDRYS3hn?= =?utf-8?B?K2V2bmFQL1I2Ylo0NW1vN0QvajZwRVhid3FuOEpNUUxiWmI1RHVaOTRyak9N?= =?utf-8?B?WnBBVWtPTWZpd1dsZWJONVVqRDhyelYxcjRQbE5xdXFDSS9VZ2NBL0ZXN21t?= =?utf-8?B?S0hZcUNvUTVDMi9zVXBLUHBsLzRvMFNjOWlwaWxrb0wwcUtSekgyd1RVZ2Nu?= =?utf-8?B?Q1l5ZWpCVEFXaE44L01RM2ZYYzVOejRwR21sWmdtVWJwZm1OSmpnTEVZMHNo?= =?utf-8?B?RXJjZ0ZaOFpBMW1WYWFINVN6N3BvaDFQME51dUN4Ky91SHR3Y281N3RYaXhk?= =?utf-8?B?R1l1UDdNaGRZTkd4eDREK25Xd0JCS1FWeWNtVSt0SWJNUE5sRFA3eDJGbGhj?= =?utf-8?B?elozcVpnbmFuVHMzTTRKclU1NHI1ZXV0MHBlcGxabC9WQUtQWEppcmdJbmRI?= =?utf-8?B?KzdZRkdic1FVd2FraFc0cXpXdW5tTlJraXg1dVBualNTeE9NZFBEL1UrUHJq?= =?utf-8?B?alJOYm8zWDVBOEVTS0NBYnVFL24xZlVLUnhNdGNWU1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wWZrLJLEIgZ9j56Eiw9UChelU9E1G0MG7tKtSYlpdeR8OInbruIjUbz0treY9j8pUFEnSpGKOQI7+zR2HprubEPVPTC4fvf78o0mJt1R0ZX/gKSpMBKNUxQ77ezjwdxSngX1fEckA2KZRhomc/KxNCdwA3SWyk7HDrY0Wp4JPT2eIdhu98aAN5y5gU41eX5G72a4WDgRDzwhnIZZEemWed626KEeWWxb8GWm3kdZqbVZXUP8B5KihZkNp SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR15MB0069;20:huRz/0rYmNgiEzLfsYMOBL8u0fpxaIi2NBq82+FnPW89XoTPdtWEAVMkkHE2Ur7Fs9T90h5GeVuJb22+mBLXw1UbotZNUpDzhycIVMNVSQhP9XL+j8/TmDH635vxVRmAsni9cuyMqJIIfJyLy47SLWWg4LXjxueDXN8o7HsEQG4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2018 16:05:19.8619 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24d41c9f-8c61-449e-3a64-08d58e7c61c0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR15MB0069 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-20_06:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/20/18 5:58 AM, Thadeu Lima de Souza Cascardo wrote: > Function bpf_fill_maxinsns11 is designed to not be able to be JITed on > x86_64. So, it fails when CONFIG_BPF_JIT_ALWAYS_ON=y, and > commit 09584b406742 ("bpf: fix selftests/bpf test_kmod.sh failure when > CONFIG_BPF_JIT_ALWAYS_ON=y") makes sure that failure is detected on that > case. > > However, it does not fail on other architectures, which have a different > JIT compiler design. So, test_bpf has started to fail to load on those. Here, you mentioned that it did not fail on other architectures. Have you verified all of them or just looked through the algorithm. Could you give a little bit details about other architectures are okay while x86 is not? Maybe, x86 JIT can be improved some how? Thanks! > > After this fix, test_bpf loads fine on both x86_64 and ppc64el. > > Fixes: 09584b406742 ("bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y") > Signed-off-by: Thadeu Lima de Souza Cascardo > --- > lib/test_bpf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/test_bpf.c b/lib/test_bpf.c > index 2efb213716faa..3e9335493fe49 100644 > --- a/lib/test_bpf.c > +++ b/lib/test_bpf.c > @@ -5467,7 +5467,7 @@ static struct bpf_test tests[] = { > { > "BPF_MAXINSNS: Jump, gap, jump, ...", > { }, > -#ifdef CONFIG_BPF_JIT_ALWAYS_ON > +#if defined(CONFIG_BPF_JIT_ALWAYS_ON) && defined(CONFIG_X86) > CLASSIC | FLAG_NO_DATA | FLAG_EXPECTED_FAIL, > #else > CLASSIC | FLAG_NO_DATA, >