Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1927095pxb; Fri, 29 Jan 2021 08:35:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXf2Uk9AUkhB7dWteDgoxQghKVYsVmlgoF0/PljPNRh4dalY8VtXQnvl6j5V4qIbC4tjid X-Received: by 2002:aa7:dc4e:: with SMTP id g14mr6171046edu.293.1611938110432; Fri, 29 Jan 2021 08:35:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611938110; cv=none; d=google.com; s=arc-20160816; b=q3kEeR+JMeJgzTYeFakIAJu5cpfRivAqn3BooyzrDHj3N2GpqBgjZLx64OzAdhqZa+ gjBGs2Jldbpzp+2ev5d4SgwEaPkqdUy/iLIiGSA8JpPbl1BS7dnhxWTBjRejdWWtkI/j UfnTdagTn3vyoZsXUAfDjlzruwKUarTbFd04sxiGjBxItC5N1lzMycPJMwrZl5vGHI2j t9uzAhHNYIPDV5U/9WXF6KE8B+nP+K5EPJM5X6jaO4ZO5MOJjwg8/swkdmz4SaDvFOxG RoorciMTkeS85H3PKxJjWo6VyBlMV1/3M8CAR304hyQx+q4lcYi9cqlV8o4RkIX1NrXk Tvcg== 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=37ypfY0hcyBwq6ff9BIdbEdz5BSxq7t0VPLakd3OmOU=; b=VacF9GDDY7dWET31u6IUdOLJYmtjYTRoQb9saP9EVSqZ3uhbVzkptM09Xx/r6mzCZk 7a6BwaAOQLjG6VTnw3sMsj8An1XWdtp3ubjT3xrxHhCU/rBSwq+j6H0AzRvx6RQJriIm MjuMmaH1IdmbGg3v8hAMnxg5jnbUmrLP+Jt0kd+SyD/9fBgIkI9uIKXys73cbInCuE51 YIFehOwgmpUZFP0+GJfw85wM6y64XbwzbyBC0LxbhoknmgXa06tbgo++pQH6qNr7Vi53 ZXEFPyrlOoryMqIKvLYPvLbaisIhkp7e5+o1QvoNJ/IRg07OrIKqUOyC0vbr+sxumBJ7 XLNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=J+YLSW9E; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r23si6383443edy.113.2021.01.29.08.34.45; Fri, 29 Jan 2021 08:35:10 -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=@alien8.de header.s=dkim header.b=J+YLSW9E; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231307AbhA2Qbj (ORCPT + 99 others); Fri, 29 Jan 2021 11:31:39 -0500 Received: from mail.skyhub.de ([5.9.137.197]:43504 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230009AbhA2Qb2 (ORCPT ); Fri, 29 Jan 2021 11:31:28 -0500 Received: from zn.tnic (p200300ec2f0c9a00bc6c1bcbdaab9684.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:9a00:bc6c:1bcb:daab:9684]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5929D1EC01B7; Fri, 29 Jan 2021 17:30:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1611937847; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=37ypfY0hcyBwq6ff9BIdbEdz5BSxq7t0VPLakd3OmOU=; b=J+YLSW9EWKGY6If2T9zKyjHGgY6x4bYBPaNCW9sNx/PtVhqqhiGAfvxNOSNuRcFYqdcK10 HuXbSkVfhEn6EvOkb5GfGAkJ5uuQD34uOlfsZSEYuMtE0wqUcZpzrDldn223q7LVeN34Sx RUOmrLP+mvIAAb/hqyJqZf8kdNsctoI= Date: Fri, 29 Jan 2021 17:30:48 +0100 From: Borislav Petkov To: Josh Poimboeuf 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: <20210129163048.GD27841@zn.tnic> References: <20210128002452.a79714c236b69ab9acfa986c@kernel.org> <20210128103415.d90be51ec607bb6123b2843c@kernel.org> <20210128123842.c9e33949e62f504b84bfadf5@gmail.com> <20210128165014.xc77qtun6fl2qfun@treble> <20210128215219.6kct3h2eiustncws@treble> <20210129102105.GA27841@zn.tnic> <20210129151034.iba4eaa2fuxsipqa@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210129151034.iba4eaa2fuxsipqa@treble> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette