Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1655649pxp; Thu, 10 Mar 2022 09:28:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNVF3D06mvClzIPChpNKkCHubMROmmnIUhg1HHHw028zolAmNuosFlp5Ly5P6B15Dv0Kxt X-Received: by 2002:a05:6402:14d1:b0:415:8df3:bfa4 with SMTP id f17-20020a05640214d100b004158df3bfa4mr5309029edx.344.1646933295163; Thu, 10 Mar 2022 09:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646933295; cv=none; d=google.com; s=arc-20160816; b=eZKxrDqYDC+U5p5wSsoJ5i/82yMalFUHwAnnZ9N9pTN7sYfG/N5sbuwtFE3NbVsLMD sdhMKtzif/T7p7XeQB/bxvKyN3tZw/BFWzGDfI3/PP98Tk/5He66sfxs8QzXq9lGyUUx UNBp1blX/ydDAIQQ4PYRvhnNklpLpEHx6Z8b60LopABXU1hnFawNvJ1HRUbsBjgG0wfq kBav7vu+tfQVZMnTHyROk1r86Cm8FS6RGQ4wepsZYqpqy60VCaXy0XHi4syffvUF5uPE RnWWBnCu59IFGBzHwN388xWWKE3E4fGAK6xFL13x/ltzMTv01wWOrUyOcl2f0EuzFK1Y z3Jw== 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=UoLoMSr1L4PiQxwJzNXgnjqeiV5XbOR73wyZICR4kL0=; b=Op0KsS+e/fa8kYqYdw5RKHl+3GOMP9kqYdmbi+6zyL6R1WwtZHKwYHeVeLUx71dVvZ OQkvJddYGimNIH7mbwkUbBSFVcD57mkZJ3lXQDQVXnhWN9Dge2QMRcf/MrnVd5LNkZLw 3J5PkXr3BDECyLznyRoDzZyXJHuZgqvjmEuM3WvosnUq02SXVvCe6bh2DjkGIzAlQboV X0ng5bistwU2ZS8503cI1TPd+GKw9aIo+Zyq0TZp+RCqgATOmX9P2dddMJ3ebEEynNAm AKsBB14St9Ph9S0FSQVO3aBONy27aj0mZnpnnu8vUmkqKnnR7ZnYsDIO9YlD8ggO7qat fggA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Lr6akouq; 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 jr6-20020a170906a98600b006cf654147f9si3288625ejb.96.2022.03.10.09.27.50; Thu, 10 Mar 2022 09:28:15 -0800 (PST) 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=Lr6akouq; 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 S1346212AbiCJOmq (ORCPT + 99 others); Thu, 10 Mar 2022 09:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343922AbiCJOb3 (ORCPT ); Thu, 10 Mar 2022 09:31:29 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0744AD5DCC for ; Thu, 10 Mar 2022 06:28:25 -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=UoLoMSr1L4PiQxwJzNXgnjqeiV5XbOR73wyZICR4kL0=; b=Lr6akouqn7YW5NjwJwQCt55gBL N+eHZT6DyUTmjU4aB51d1uEGSHkNUg9PzFLOI4KCujoYfFQzLMvBz8sQPSosVZ8VhYRB2/D2uT6iy Fuht3Bb+ZAfmzGY9OYhTKoPRPn36QAmgwW+AF7vW7sQ5lSaW2aGbKxkOXBrnR7YWcFJvejamAMKcX 0jlcPDsDI1T0yUkEtzsdJtdHckBXXD/2MgWIEiTxI0fJEDIADbqMhMRMSGhO4Q/LzBqN3lgBFClWK Pf0YVSTcexMJGfP/U5CQ7isfsCM/e9VRnTbpn5dDj1ftuxvOLgxjo27gQebFtmM4ve1QJ7lcR9ZuG NiAhAIMA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSJlo-000biS-0H; Thu, 10 Mar 2022 14:28:00 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 089FC3000E6; Thu, 10 Mar 2022 15:27:58 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D03752B52E237; Thu, 10 Mar 2022 15:27:58 +0100 (CET) Date: Thu, 10 Mar 2022 15:27:58 +0100 From: Peter Zijlstra To: David Laight Cc: 'Josh Poimboeuf' , "x86@kernel.org" , "joao@overdrivepizza.com" , "hjl.tools@gmail.com" , "andrew.cooper3@citrix.com" , "linux-kernel@vger.kernel.org" , "ndesaulniers@google.com" , "keescook@chromium.org" , "samitolvanen@google.com" , "mark.rutland@arm.com" , "alyssa.milburn@intel.com" , "mbenes@suse.cz" , "rostedt@goodmis.org" , "mhiramat@kernel.org" , "alexei.starovoitov@gmail.com" Subject: Re: [PATCH v4 00/45] x86: Kernel IBT Message-ID: References: <20220308153011.021123062@infradead.org> <20220308200614.gyhp657bdq3rxapl@treble> <20220309065718.e4k2el2mlqn23yh2@treble> 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 Wed, Mar 09, 2022 at 01:37:50PM +0000, David Laight wrote: > I'm wondering what actually happens to loadable modules? They work just fine.. > Especially those built 'out of tree', > potentially with a different compiler, > and maybe containing binary 'blobs'. -EDONTCARE, you're on your own and get to keep whatever pieces. In fact, the more pieces I can get you, the better I feel about it. > The requirement to run programs on old distributions means > that things get compiled with quite old versions of gcc. > For instance RHEL7 is gcc 4.8.5. Min GCC is 5.1. If you want Kernel IBT you get to use GCC-9 (or 8 with backports) but I'd recommend using GCC-10 or later since before that the IBT code-gen is pretty stupid. If you build modules using another compiler than the main kernel, you again get to keep the pieces.