Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1939655pxb; Fri, 29 Jan 2021 08:54:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQKfFk+GWuaM6zjBcAVFQzMgKBbMN9NSd+Ac5xPWiSJqn8ZjnS0ZvEb30SnnXmvCp7xgI2 X-Received: by 2002:a05:6402:94f:: with SMTP id h15mr6089998edz.106.1611939246846; Fri, 29 Jan 2021 08:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611939246; cv=none; d=google.com; s=arc-20160816; b=CDKz0AkO496YpCvtLnoAPObs0uH9nFM4Dm+hFtB7qfyieTeI+637qVS81cvYV+RNuB Ir4UYbAGwMI0x71YKDYjBCWfj0dmJyjdO/r3Q7tr8Eofb7knG7J1maS6RQ+NP2G4FFTJ sIypFoevoqT25UbyHHCY/HiOU1Et066zB3z5aAdGpSQZt58ylBEEpQi+U7A+9SZyR79p 4bkzZLqWON9W+qwZIbqEWB1ujsaMJOWPgSPFUC5ScdRUCOt+xXxb+yqoosbdyImHojZC ZnsRNh1WZ8WVtKGO8iJzy/o3S2C+jOm0kMpFEK9pnLA+AwI47P1wy1heN0yqAbBKvp+x 3Rfw== 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=0LJVECpOlUE7iCohzUD34pw4c+hMPt6DfdyYZYLmTpM=; b=ySmTj3ELImXyX3DUxaJmgdxqNDSPG4WDdBRxzSPuhTT9BViCk/7JKn/b6kjI9AATfD xssjtHF0X23L1eBoG+lerowATrDPds+kKuXhdpdnob+7ld06ZKfO8HDBzQRBuIm/8nFg evbelyGdptxUedJ/YVJ9FZJJdmDgRH2vZmgLc0xr9VOmpQ3HB8P/Lt2rx8fBk/la7uZ8 kJFBGdyBSF378rGSErgNd7N6bMi57uorSXnayGLgnvjQexP53zXz+FlBggZaVwT2CJOc yNx37d7cU6K1BrutHbRgzwIj9c7RLfdKqyY9CkKnNnUTZknkkJ5eewiK57oJNKksP/ax eJrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EUWEf1MA; 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 y13si5782804edv.304.2021.01.29.08.53.41; Fri, 29 Jan 2021 08:54:06 -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=EUWEf1MA; 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 S231694AbhA2QwV (ORCPT + 99 others); Fri, 29 Jan 2021 11:52:21 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22711 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231582AbhA2QvQ (ORCPT ); Fri, 29 Jan 2021 11:51:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611938981; 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=0LJVECpOlUE7iCohzUD34pw4c+hMPt6DfdyYZYLmTpM=; b=EUWEf1MA2g3Kmlm24txXD+FxDwjHAe2+FFlH4xDj30EKiGC+Mgsa+siGcTrAJ03CkEAtUG 2ajo42zQCLM7nnPlHmQEoFGfqWLuMUKX2u9FpFNzr9q7LHYVVK7+rOI/wXju20T7h6yo97 aSuevpEWpuXejIRWFtyTB7BVmFuAJJU= 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-419-6-5jlf43MqeSlS5NRiJL6g-1; Fri, 29 Jan 2021 11:49:37 -0500 X-MC-Unique: 6-5jlf43MqeSlS5NRiJL6g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9606BBBEEC; Fri, 29 Jan 2021 16:49:35 +0000 (UTC) Received: from treble (ovpn-120-118.rdu2.redhat.com [10.10.120.118]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 82A9419C66; Fri, 29 Jan 2021 16:49:34 +0000 (UTC) Date: Fri, 29 Jan 2021 10:49:32 -0600 From: Josh Poimboeuf To: Borislav Petkov Cc: x86@kernel.org, Masami Hiramatsu , Masami Hiramatsu , Peter Zijlstra , LKML , Alexei Starovoitov , bpf@vger.kernel.org, Steven Rostedt , Nikolay Borisov Subject: Re: [PATCH] x86: Disable CET instrumentation in the kernel Message-ID: <20210129164932.qt7hhmb7x4ehomfr@treble> References: <20210128103415.d90be51ec607bb6123b2843c@kernel.org> <20210128123842.c9e33949e62f504b84bfadf5@gmail.com> <20210128165014.xc77qtun6fl2qfun@treble> <20210128215219.6kct3h2eiustncws@treble> <20210129102105.GA27841@zn.tnic> <20210129151034.iba4eaa2fuxsipqa@treble> <20210129163048.GD27841@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210129163048.GD27841@zn.tnic> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 05:30:48PM +0100, Borislav Petkov wrote: > On Fri, Jan 29, 2021 at 09:10:34AM -0600, Josh Poimboeuf wrote: > > Maybe eventually. But the enablement (actually enabling CET/CFI/etc) > > happens in the arch code anyway, right? So it could be a per-arch > > decision. > > Right. > > Ok, for this one, what about > > Cc: > > ? > > What are "some configurations of GCC"? If it can be reproduced with > what's released out there, maybe that should go in now, even for 5.11? > > Hmm? Agreed, stable is a good idea. I think Nikolay saw it with GCC 9. -- Josh