Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp749262pxp; Fri, 11 Mar 2022 14:07:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+sx2lf8+a652QWfV+aZNU6zECpGQsJokI5ABf/jfyCFb48vtfzczlZ/TpJ0dIxbbl2SLn X-Received: by 2002:aa7:88cf:0:b0:4f7:78b1:2f62 with SMTP id k15-20020aa788cf000000b004f778b12f62mr9535919pff.22.1647036442020; Fri, 11 Mar 2022 14:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647036442; cv=none; d=google.com; s=arc-20160816; b=xNoD31IZIfQTX+IXTpeHwhVV33x81uQpmmiXUQAmyTMiIWEK8rEI+Z6LfssJ24pInG MNz1aItV0UMsC6LL8em7FXvlQqO6zlXpMhY3Xuz7cmoswDWimacKf4X8RUn3TpCAjkCn I7hCdwoxbe9k+jeM7X5fexsDe578BTR425jsNumX1SdFoHdqpo+RWDEkolCwQQlbzFVa gXGarSONluR2mrWsyUAbz5nI5bDqeqU7lskldS4BE21QubSfsEY1mLgXm3K7XeBUGV5S kIBhQLbP3j2YykcHNOteqNKBqY31SRNGZirThPKrBSXBRW4+2Djp7diHKlyfjcjKxh/4 ommg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rIifNEL223B4Q2cC9Cr3V2sE1A970stkqMVY6Ytp1f0=; b=zsONuW+esgi3M7RxP+Ht0jX5ouFne31Iev5CnHUmJRUGJ5y07QAGQLHKlE174IPDgZ 4WonZhHdsSNFGudIjtCoWF/oiRttLmiHiVmAZ1ZJgKkFy7GRkKr/MzQtKgeVMNq0KU2A 2sS4Qk4aowgFDxSg02hbIfZx+8mcq/JBuqakTHE1fskjKTFBI0FXaE3aFnSTGJDoNptg K9BV51ld5dkJCx0DcW6BrxQWnQ1igVDE1H6kG2m2+AmM5qMVQxg7017+8RKF6Jm+YlME k2Lfnu+HUhO2wydQxiRVXNpxKOaNFL4qeanGFHslcWPL06OeYVD3Tznk6JexeMvaq6WT Hbaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H8iikbdM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q9-20020a170902bd8900b0014fa3a3ad86si8550747pls.272.2022.03.11.14.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:07:22 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H8iikbdM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4C85828145F; Fri, 11 Mar 2022 13:20:18 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350591AbiCKRKx (ORCPT + 99 others); Fri, 11 Mar 2022 12:10:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349007AbiCKRKw (ORCPT ); Fri, 11 Mar 2022 12:10:52 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9F17D444E; Fri, 11 Mar 2022 09:09:49 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id f8so8361725pfj.5; Fri, 11 Mar 2022 09:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rIifNEL223B4Q2cC9Cr3V2sE1A970stkqMVY6Ytp1f0=; b=H8iikbdM7qPlNb22UcDTD2aGwWXFDeRZbdCezuETwBJIwTXE5G7rICTtFqWpEnqJMy dv8/hW5OepQoLY8trtjVjtlXIA2Aa1MiooCruVm9NDVxwCfqJFPVK40u5bvfmh7lHFRA 5JL1gBsT7txcofpgktrMYPf4P5g3/vU5guoLLzWR0bVMpoKmFDsofXxhn6rM1iX9RBMX zOs6Fx/qbKFsTxeFjfjAnFxZdrAWKY4MlLiTt1AmnkUIQBf3Razrr3Vt2iL6esw1NXmA hlELyJsD7A4fWA/47ag17Swoe+KHwo533y7A+dxXL4sskpqs+A3vqNVuZmJHk5o5uNKZ xyEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rIifNEL223B4Q2cC9Cr3V2sE1A970stkqMVY6Ytp1f0=; b=2cN4IBIptN82IvOqE8pD9OOXiW9QpmQf8uzS5Nh4m8Xrjn19nxtG8Dqr/bgCf8fUtX dIxOs7/BV49SDdvZ6v88Ma3QCiJZQoJNMah+uP7lsRe2di4r+eH8qNpFHrn6wfuvSOtz bs1trxwHLRSKrP/MuPWc912HaXwsT+DuSdIkUluzEYVbu8V9yp6DI3MKBmQVCEebUUM2 MCGK0GgQPThPHQzg/A4UoSdvNX+BSF7YKK50G8rfM+sZHxr7LiMJrNqAl2K2Ht8jIZvS Fw/yubJcJBL+ctzPEz+5KobPpmG7ihAr076Ar3ePG0ygi4Hhyo+gBBkU94Lq3u9uHqHr dVeA== X-Gm-Message-State: AOAM532TSPKS1wjVR0P1QozU65siT0zUgK5qFrzr6wLwuRhTNw6xJlel 12gWbrbGd4C86+/9/iimpd04jeEWUDVHu3BBgbk= X-Received: by 2002:a63:6809:0:b0:37c:68d3:1224 with SMTP id d9-20020a636809000000b0037c68d31224mr9049808pgc.287.1647018589126; Fri, 11 Mar 2022 09:09:49 -0800 (PST) MIME-Version: 1.0 References: <20220308153011.021123062@infradead.org> <20220308200052.rpr4vkxppnxguirg@ast-mbp.dhcp.thefacebook.com> <20220309190917.w3tq72alughslanq@ast-mbp.dhcp.thefacebook.com> In-Reply-To: From: Alexei Starovoitov Date: Fri, 11 Mar 2022 09:09:38 -0800 Message-ID: Subject: Re: [PATCH v4 00/45] x86: Kernel IBT To: Peter Zijlstra 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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?