Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp181219pxp; Wed, 16 Mar 2022 03:29:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ+uxDx2a4M8KuqK8lj0uZewFcJ1J6RixIoJH0jjet5ksGMcXGEvwVWyy0DZyx6Vhk3c1e X-Received: by 2002:a63:235b:0:b0:380:5d91:6cc with SMTP id u27-20020a63235b000000b003805d9106ccmr27748665pgm.183.1647426558923; Wed, 16 Mar 2022 03:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647426558; cv=none; d=google.com; s=arc-20160816; b=u6/8BNEAHJodLvjRrqQsj7XLLbdqhtMG9ZJO91aVOrcN1BEPM4XEaxdwOSBTRsIVtB g835Mh5tDikSSJSAAgJ22WE0cOse+cSjBwS6fcQTJb1tkJgaMMz4W72C6tidKCVenxTs 0YNI087CdKl9TBPSkVSbG3CxhBUddqRQUBLuLdL/ywz4fwfVEWQmLyJlFYgGvZH5vP69 SrQATDmVm3yv0NeyTdOHTBWCAeQmhmEkROXd4/xnURLnElZJkJY1syhZGtRHwEhQ6EXW 4ebg4kx7ClpUCvSFLdQSAqV8cesjl70ja7MwZR/frB20buiKlz0HhcMpwsv/Zu9vMOQz p14w== 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=1JxXCLRRx9EmLaXlGQy1h++6/IueE36Jv1DWaZM2tjg=; b=Ttm6ptem9CtuSYTB08hq5DemMpcbpHQHN1U0zfPQdW2ggIgcOT8RAn/NFHGVc3n6mc j/8XP6wksnjcopS16UHIg8d0frYhf/jJPS+zNwJ8yHeIujJCE+NYiOeELY/0OcUO9Lnk 624/9pgLrIHurmtEldVX659WdbnBfpvldxuo7BxEjgLLDWFuIE5UkdsUc/T0mcGkp3LY JUea9OEG/Hn3puZkDqbPbj5B3/sSA11KSr4uK4k0sMfi6MbGQ4OaniCjMytUJzTi/VNi H6v1wnRHymk7qTZ4aXfMAcIijlJ/6PsX/nq7f6aAa41b3bSYKiKgBKHt3FmQoxvjm/W9 K0hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="AT/LI771"; 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 g14-20020a63564e000000b0035dc2c65f0csi1689358pgm.364.2022.03.16.03.29.05; Wed, 16 Mar 2022 03:29:18 -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=desiato.20200630 header.b="AT/LI771"; 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 S1347159AbiCOKlI (ORCPT + 99 others); Tue, 15 Mar 2022 06:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346276AbiCOKlH (ORCPT ); Tue, 15 Mar 2022 06:41:07 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46A924F45E; Tue, 15 Mar 2022 03:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=1JxXCLRRx9EmLaXlGQy1h++6/IueE36Jv1DWaZM2tjg=; b=AT/LI771Q4OcRgJCZ7lfp2BISN 8QrmadvMef20IywRDxwvQX95A3BEXpfuKZJ5m6VMqSvOpWH4T/E9c+fXvQwoMGZnCWJaNhP/X8l+C jTrxLBdNzRLaPh0Ga79wjQrtct+LivoeKFpsWPXLginu6r6zcArvAIsToWhpxrMogrOfNs7OIc6hq dzfbVzBJ1y8hAQ6heg41OVBMhIQ4r0+GtYjHbdYj3GPMmTazKH7RcUTje8i9Sc4pi+XME9026UhDO Q8110wB7ry4qsMi4KhS6yzfK5cVVOi9n/33LrXOBBw38ca0ESj2XsW2Ckd9RxCaui+aKFYEd45/tS uA6mOuCw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nU4aN-001Bts-Gm; Tue, 15 Mar 2022 10:39:27 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 73C5098620D; Tue, 15 Mar 2022 11:39:25 +0100 (CET) Date: Tue, 15 Mar 2022 11:39:25 +0100 From: Peter Zijlstra To: Kumar Kartikeya Dwivedi Cc: Alexei Starovoitov , 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: <20220315103925.GB14330@worktop.programming.kicks-ass.net> References: <20220312154407.GF28057@worktop.programming.kicks-ass.net> <20220314204402.rpd5hqzzev4ugtdt@apollo> <20220315090043.GB8939@worktop.programming.kicks-ass.net> <20220315100706.GA14330@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315100706.GA14330@worktop.programming.kicks-ass.net> 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 Tue, Mar 15, 2022 at 11:07:06AM +0100, Peter Zijlstra wrote: > On Tue, Mar 15, 2022 at 10:00:43AM +0100, Peter Zijlstra wrote: > > I don't seem able to run this mod_race test, it keeps saying: > > > > tgl-build# ./test_progs -v -t mod_race > > bpf_testmod.ko is already unloaded. > > Loading bpf_testmod.ko... > > Successfully loaded bpf_testmod.ko. > > Summary: 0/0 PASSED, 0 SKIPPED, 0 FAILED > > Successfully unloaded bpf_testmod.ko. > > > > Which I'm taking to mean I'm doing it wrong... > > That.. I was building the wrong tree, mod_race comes from bpf-next and I > was building a tree without that merged in... let me to see what it does > now. I can confirm, crashes without, fixed with. Thanks! I've forced pushed a cleaned up tip/x86/core. Also: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/ibt.bpf is a merge of that and bpf-next