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 78800C10F1B for ; Wed, 21 Dec 2022 10:32:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234623AbiLUKcm (ORCPT ); Wed, 21 Dec 2022 05:32:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232082AbiLUKbX (ORCPT ); Wed, 21 Dec 2022 05:31:23 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4F72B84E; Wed, 21 Dec 2022 02:31:21 -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 ADDC91EC0138; Wed, 21 Dec 2022 11:31:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1671618678; 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=0vyAl/OQNsmvYQ1ViGqGwGbOz44puDCSVKs7c/3SWxc=; b=QIo/rrF3Ka6GKTShQGfQKUvHgifveAu92v6IJDHp7kcB+NontSnz7wDG9zFSWWBZvzwp00 x0yntA5waUK4ttybjtzJLtajp22Ca28lx1D6ydp/OwRIf87/FdyBu1/c6gp0LwmGnE1BuM VhjJBZyviH8kSLLtz1BGKlgnG7WHQoY= Date: Wed, 21 Dec 2022 11:31:14 +0100 From: Borislav Petkov To: "Edgecombe, Rick P" Cc: "akpm@linux-foundation.org" , "tglx@linutronix.de" , "linux-arch@vger.kernel.org" , "kcc@google.com" , "Lutomirski, Andy" , "nadav.amit@gmail.com" , "kirill.shutemov@linux.intel.com" , "Schimpe, Christina" , "peterz@infradead.org" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "jannh@google.com" , "dethoma@microsoft.com" , "x86@kernel.org" , "pavel@ucw.cz" , "rdunlap@infradead.org" , "linux-api@vger.kernel.org" , "john.allen@amd.com" , "arnd@arndb.de" , "jamorris@linux.microsoft.com" , "rppt@kernel.org" , "bsingharora@gmail.com" , "mike.kravetz@oracle.com" , "oleg@redhat.com" , "fweimer@redhat.com" , "keescook@chromium.org" , "gorcunov@gmail.com" , "andrew.cooper3@citrix.com" , "hpa@zytor.com" , "mingo@redhat.com" , "hjl.tools@gmail.com" , "linux-mm@kvack.org" , "Syromiatnikov, Eugene" , "Yang, Weijiang" , "linux-doc@vger.kernel.org" , "dave.hansen@linux.intel.com" , "Eranian, Stephane" Subject: Re: [PATCH v4 06/39] x86/fpu: Add helper for modifying xstate Message-ID: References: <20221203003606.6838-1-rick.p.edgecombe@intel.com> <20221203003606.6838-7-rick.p.edgecombe@intel.com> <25b0158a998a280b508200fa50995aad657ef520.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <25b0158a998a280b508200fa50995aad657ef520.camel@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Wed, Dec 21, 2022 at 12:03:39AM +0000, Edgecombe, Rick P wrote: > Sorry about this and the others. I get spelling errors in checkpatch, > so I must have dictionary issues or something. No worries, happens to everyone. > Yes, the KVM series needed it. Part of the reasoning here was to > provide some helpers to avoid mistakes in modifying xstate, so the > general idea was that it should be available. I suppose that series > could add the export though? Yeah, you do have a point. Preemptive exposure of functionality is not really needed, so yeah, let's add it when actually really needed. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette