Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3576636pxb; Sun, 7 Feb 2021 14:50:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8OP9xmcBh2HyvJtTyaBdL3JNKAi21BzmP/xuPlEMTMoY2peKFrlpGzVHGs0K+OyKLLpSs X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr14937305edc.102.1612738222390; Sun, 07 Feb 2021 14:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612738222; cv=none; d=google.com; s=arc-20160816; b=E6ro3m6p4t8GUQaHnBKn2Ib1pt8x7VFesHmFQuUxCISxX5HDyu8Li+PYi/G+mPHr4a s4jQZXyO1NHjkEaBURKjuMIdgEKjDAsbbET3xVG6gBQfBg0n1TOKnazqOoVsN9rB5hNf h3lVXlgmfzn46UzIiKjl92PrztBQE9VXz8UbcpdI4dGl+6gMPkg3wmnu9mjz+GBrP42J TyMVVADwoOqAg/Xb2Bp5MzNj2tJakdqYbHpTDHPlxDfkNxN+uRrnd0LpxMmjx7TCPb7s IViCISqATwO963tc+2it49iQtA5Ye+HMDwI6ACra8atGdMH3HD8gasz2qEhuAm8P6DIA 0AiA== 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=sbR2pEZXk4sZagvbCH5bkb/zHfvRMOjXS1EeVl71tZQ=; b=0b4uiT2iOU0pDaonZS8VrhIVmTzUofAxJE+r/eYh+OAj3VOx8QTabZk8ZDE8fbSJFb S3PPsexAV/wstiTriI76Xg6azcuElj28mo4s1aaFVJ/KLLLSNElXOaQVlcX+0Rv9vG5P FcGkzmH3nFk+mBCbGxM3UpAdAg5QJx1cFrM7dfXYcrUHvYRaZGbClTLSwnZ4CDu6zCq0 Pd3ia5nIcZL2o10vc03+9KBok+4d61cpjxcu1uatGPn2d/rYmjAAirzedMgaKs/WXQ+c uB19B3Yrsujv3J4Swsj8zqAzkiDECObH75RfngywFSY0dK7BlNkEpi07V777arGxsk4h hycg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Z2o22Eyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si12285458ejc.616.2021.02.07.14.49.59; Sun, 07 Feb 2021 14:50:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Z2o22Eyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbhBGWrP (ORCPT + 99 others); Sun, 7 Feb 2021 17:47:15 -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