From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FC24C433DB for ; Sun, 7 Feb 2021 22:47:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C31EC64DC3 for ; Sun, 7 Feb 2021 22:47:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbhBGWrQ (ORCPT ); Sun, 7 Feb 2021 17:47:16 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50223 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbhBGWrO (ORCPT ); Sun, 7 Feb 2021 17:47:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612737948; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sbR2pEZXk4sZagvbCH5bkb/zHfvRMOjXS1EeVl71tZQ=; b=Z2o22EyqO52LhPemYDjp9Vj+A2vIqjCb8JJYfZn+g3rzMHjNUshzfvKGCz+/YmgaEVVUPo uQz4YrH86dRiYxBn2hCspDmIezgSk7m139jNaBmjAZq3p/cdZc9quxJMCeZtOP2UFxy8Qv VWqs3m2Q7tmUaHCxpCb7dPi0oWfziEY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-111-zTIFVMTcOCayukN4xCbqVQ-1; Sun, 07 Feb 2021 17:45:46 -0500 X-MC-Unique: zTIFVMTcOCayukN4xCbqVQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 54AFA107ACE4; Sun, 7 Feb 2021 22:45:44 +0000 (UTC) Received: from treble (ovpn-113-27.rdu2.redhat.com [10.10.113.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BF8DD1010F53; Sun, 7 Feb 2021 22:45:42 +0000 (UTC) Date: Sun, 7 Feb 2021 16:45:40 -0600 From: Josh Poimboeuf To: Linus Torvalds Cc: Borislav Petkov , Dave Hansen , Steven Rostedt , x86-ml , lkml , Alexei Starovoitov Subject: Re: [GIT PULL] x86/urgent for v5.11-rc7 Message-ID: <20210207224540.ercf5657pftibyaw@treble> References: <20210207104022.GA32127@zn.tnic> <20210207175814.GF32127@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 07, 2021 at 10:15:49AM -0800, Linus Torvalds wrote: > On Sun, Feb 7, 2021 at 9:58 AM Borislav Petkov wrote: > > > > It probably is an item on some Intel manager's to-enable list. So far, > > the CET enablement concentrates only on userspace but dhansen might know > > more about future plans. CCed. > > I think the new Ryzen 5000 series also supports CET, but I don't have > any machines to check. > > Hopefully somebody ends up with hardware that supports it and a urge > to try to make it work in kernel land too. > > I do suspect involved people should start thinking about how they want > to deal with functions starting with > > endbr64 > call __fentry__ > > instead of the call being at the very top of the function. FWIW, objtool's already fine with it (otherwise we would have discovered the need to disable fcf-protection much sooner). -- Josh