Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2567204pxp; Sun, 13 Mar 2022 23:00:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0cNXQarE9OsaKvZFy4gbpx8dBsNwAeZWJQkeclhCLhhW4M0bqlmRf6JJtUdCXxe6wIho4 X-Received: by 2002:a17:902:e5c2:b0:151:cc18:9ea9 with SMTP id u2-20020a170902e5c200b00151cc189ea9mr21230767plf.24.1647237634152; Sun, 13 Mar 2022 23:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647237634; cv=none; d=google.com; s=arc-20160816; b=eTVD64IPm2yL2Fvu86qrN6MMCKJOQBQ0FSX6RzkmXyh+cVx4WMFkt+sdGLeOSt6M3r 7IpkzoJbIoveS61kBONuqfOR7owDEM7jR7p5pTuDwxWJXb5bzf5a0GO58BLb1p9atciC LVb5GlVjGxS8fM5ejTl+/riYDh8va9i/jR/iIcLjKLJVy3bddiHDGlvWNTSNb8WlAyLI woBQk2RWkGXawDixOlEpGge41xJnpeiiWpxqWB16QFAVQ9JqW0pyu+MWqbCzUzaxX1uM 5ainrkg8gu8/UxNMd+O3Jer9caNMw2lV0ra1UOD5l8MM29q7cXw5s76QpyhZ/qFu/927 6qpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l4QEBebUaifZcj/TbJPAnWkVaUA1yr6/N7uY1h3AI5c=; b=om2T3CoVLT1X6KwuOxOSWtKBoLShYOqouXpJKyP0GFQtRc+B17toF/KWfHJHSOqCso dB8UBVIZqedNpVSpIyM8iVJsMHV9zuX0/V57RylneVQ5pBW/L2jX2Fqr1b0955tmjcMK +7Ua+3E4A0o2nN2IsVMpBkUlTzpYdHwqjNHZW+gAz1braXBHReWcwdSnP3bUXm0MhEci RC72F33NVRRSARBJCjvT0X0LJRVvXrXv/U6zCW49Ai0vFdug9B1aHLmK5xnZLBARmMc0 FCI+OSlHPBLdSxGjtZ2U7l9EPyBrXKr0z86DjaeFWk2nDhBCILcN5oe1dpNRUKsTOn0d Jbrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Fg2Yg7p5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l189-20020a6388c6000000b00380c8be0255si12046822pgd.780.2022.03.13.23.00.20; Sun, 13 Mar 2022 23:00:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Fg2Yg7p5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232045AbiCLPpo (ORCPT + 99 others); Sat, 12 Mar 2022 10:45:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbiCLPpn (ORCPT ); Sat, 12 Mar 2022 10:45:43 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62B813CA67; Sat, 12 Mar 2022 07:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=l4QEBebUaifZcj/TbJPAnWkVaUA1yr6/N7uY1h3AI5c=; b=Fg2Yg7p5QIHUfT85fRxcArBEjw bqeKPYLrLU2OIIlPlzsfVVCUoEQT6XofF+v4HECm3I8/zRbDVWjAseHRCUxu5e4UXLJ3DqTpfjuJf rsOQ1/1NpB3iKlKU62G7gZX4foThloIu5ECK892g8VKeQIfoDGvuWTbIGqNnjZ7aQAW5FWT+ga8Qj wb+Df/rx9JW5QZIISJ8olPEfTr/zchhGx1m/If4XxsB4bfKgwESm7UgfbzANW56G/R9ETMbrRNyue 7S2YJAS1iekYHhhW5FBqs0VAupXGds00vOdMDKlZ4zsGgUcWYdByJaBOfGkr6H42JjzO+nJZ3DeIC LKYl6q9Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nT3ub-002Vd3-ET; Sat, 12 Mar 2022 15:44:09 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id CB954987D0D; Sat, 12 Mar 2022 16:44:07 +0100 (CET) Date: Sat, 12 Mar 2022 16:44:07 +0100 From: Peter Zijlstra To: Alexei Starovoitov Cc: X86 ML , joao@overdrivepizza.com, hjl.tools@gmail.com, Josh Poimboeuf , Andrew Cooper , LKML , Nick Desaulniers , Kees Cook , Sami Tolvanen , Mark Rutland , alyssa.milburn@intel.com, Miroslav Benes , Steven Rostedt , Masami Hiramatsu , Daniel Borkmann , Andrii Nakryiko , bpf Subject: Re: [PATCH v4 00/45] x86: Kernel IBT Message-ID: <20220312154407.GF28057@worktop.programming.kicks-ass.net> References: <20220308200052.rpr4vkxppnxguirg@ast-mbp.dhcp.thefacebook.com> <20220309190917.w3tq72alughslanq@ast-mbp.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 11, 2022 at 09:09:38AM -0800, Alexei Starovoitov wrote: > On Fri, Mar 11, 2022 at 2:40 AM Peter Zijlstra wrote: > > > > On Thu, Mar 10, 2022 at 05:29:11PM +0100, Peter Zijlstra wrote: > > > > > This seems to cure most of the rest. I'm still seeing one failure: > > > > > > libbpf: prog 'connect_v4_prog': BPF program load failed: Invalid argument > > > libbpf: failed to load program 'connect_v4_prog' > > > libbpf: failed to load object './connect4_prog.o' > > > test_fexit_bpf2bpf_common:FAIL:tgt_prog_load unexpected error: -22 (errno 22) > > > #48/4 fexit_bpf2bpf/func_replace_verify:FAIL > > > > > > Hmm, with those two patches on I get: > > > > root@tigerlake:/usr/src/linux-2.6/tgl-build# ./test_progs -t fexit > > #46 fentry_fexit:OK > > #48 fexit_bpf2bpf:OK > > #49 fexit_sleep:OK > > #50 fexit_stress:OK > > #51 fexit_test:OK > > Summary: 5/9 PASSED, 0 SKIPPED, 0 FAILED > > > > On the tigerlake, I suppose I'm doing something wrong on the other > > machine because there it's even failing on the pre-ibt kernel image. > > > > I'll go write up changelogs and stick these on. > > What is the latest branch I can use to test it? git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt that also include bpf-next. Thanks!