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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93953C7EE36 for ; Wed, 1 Mar 2023 15:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbjCAPjV (ORCPT ); Wed, 1 Mar 2023 10:39:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjCAPjU (ORCPT ); Wed, 1 Mar 2023 10:39:20 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0232144B5; Wed, 1 Mar 2023 07:39:16 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (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 7AE161EC06A7; Wed, 1 Mar 2023 16:39:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1677685155; 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=zwauO6ZwWCrr/ENys5NDkFyKsKH0gkc7FG5C1Rlq5rM=; b=Gbv+lMACxtNs7UhbxjaMG6wDGYF24K6ksxF42nDvOdrBVTbtadt/UrnMAXcXROpNhdjhKQ yHJGCbD155vIlTHoiUx6721jy6UEwUU+58dgDBMN/RXwSa4GqxzhRVtKLldUM4esX89B1I l6AHc1xwgy0OGh4S7lHsV7ogEK37H0g= Date: Wed, 1 Mar 2023 16:38:53 +0100 From: Borislav Petkov To: Rick Edgecombe Cc: x86@kernel.org, "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H . J . Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , Weijiang Yang , "Kirill A . Shutemov" , John Allen , kcc@google.com, eranian@google.com, rppt@kernel.org, jamorris@linux.microsoft.com, dethoma@microsoft.com, akpm@linux-foundation.org, Andrew.Cooper3@citrix.com, christina.schimpe@intel.com, david@redhat.com, debug@rivosinc.com Subject: Re: [PATCH v7 07/41] x86: Move control protection handler to separate file Message-ID: References: <20230227222957.24501-1-rick.p.edgecombe@intel.com> <20230227222957.24501-8-rick.p.edgecombe@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230227222957.24501-8-rick.p.edgecombe@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Mon, Feb 27, 2023 at 02:29:23PM -0800, Rick Edgecombe wrote: > Subject: Re: [PATCH v7 07/41] x86: Move control protection handler to separate file x86/traps: ... but that can be fixed while committing. > Today the control protection handler is defined in traps.c and used only > for the kernel IBT feature. To reduce ifdeffery, move it to it's own file. > In future patches, functionality will be added to make this handler also > handle user shadow stack faults. So name the file cet.c. > > No functional change. ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette