Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5449526pxb; Mon, 7 Feb 2022 02:11:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyp/2FEl/FbT1KwFmBRpUda5mZJ4PGwQqMDid1FHmolwQkU8G0iKW/K7bKHdG5yUE6WCoMc X-Received: by 2002:a17:907:2d25:: with SMTP id gs37mr9521241ejc.102.1644228685576; Mon, 07 Feb 2022 02:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644228685; cv=none; d=google.com; s=arc-20160816; b=XZdUaa3RP3bEiH/njPYpIQpqWabKWaNHsF0UNP52kl9Orav0elRgzJwTyw3JTg5Crd KO3duVJkYWgMk6Ts7HZAK8NN3TVxFBSf1KM3GbGb34HO587gd87fvg51t1fjVGWfI9qk dCDnMC0SBaedXcXEEXByyN/vwbKZHBYs+cpSWfmDdGnfJCXPX8AJDqvMi2/8GC0PZN6s fhBRrI1uJXSYjyuJjTes7ZhU8taApDFqeF3UJ2afSdErxmMjLGx2GI5ecRHDhbdULQo+ J5KutiuIHwhBPvVoh/d0ulNXrRgpXcrIjqA0dUt+/xk6E36YAh/O2Zvc8JZhV5cfqYlu dzvw== 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=fz8mGn5BOy2DieOoSZMrMULfKn9aZV+hq3dOFBMU7OA=; b=mpUG/GgA+0s/7jNegHGBGwQq7HoTIttK8BVQb8k3ZMg5PRE/+GopJi1NS/DS5mRB6z 9adkz8JgpZ+y8VRlepHRZ/D33BfXcMzHcHUtE3Fma0uJSLY77VHr5lbLmyAcal+u3lDJ clNPybRF9RgYP900kuOOevUnRl5WQj16E3rrN2H0gstzdR0pbyNzYKYZRcudgDwICpch 895NbT1HScJdDN5RE19UeFDYOV9y3j6PGq24HIOYFqGamLRyOtprnoKEBHYCA98kKE96 /xyWD+ql6TO8lDP3Cs6/20wMYvR/JuzPwq0nuLF+72JHFmNuggoMK5YUUIC43SDiOeq2 SBYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=AYwZQgPX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8si9020553edw.248.2022.02.07.02.10.47; Mon, 07 Feb 2022 02:11:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=AYwZQgPX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S244336AbiBDVt7 (ORCPT + 99 others); Fri, 4 Feb 2022 16:49:59 -0500 Received: from mail.skyhub.de ([5.9.137.197]:41484 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238679AbiBDVt4 (ORCPT ); Fri, 4 Feb 2022 16:49:56 -0500 Received: from zn.tnic (dslb-088-067-221-104.088.067.pools.vodafone-ip.de [88.67.221.104]) (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 1F4B01EC051E; Fri, 4 Feb 2022 22:49:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1644011391; 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=fz8mGn5BOy2DieOoSZMrMULfKn9aZV+hq3dOFBMU7OA=; b=AYwZQgPXEHeM4bHXv25Qg14ii4tf7Laou46fjqMj+JVnEHviTt8tqubc2/KSU25dwtVnoY hzYyVOFebfDcF3xB+Ez7pVEFVzlGdmcDymFYvU53Zrf2t799+2qhidiVLCHDwnYFqIaz/J +iG1VLnhpmLRrrszSsmV3YFa0CdONcw= Date: Fri, 4 Feb 2022 22:49:46 +0100 From: Borislav Petkov To: Tom Lendacky Cc: "Limonciello, Mario" , Martin Fernandez , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ardb@kernel.org, dvhart@infradead.org, andy@infradead.org, gregkh@linuxfoundation.org, rafael@kernel.org, rppt@kernel.org, akpm@linux-foundation.org, daniel.gutson@eclypsium.com, hughsient@gmail.com, alex.bazhaniuk@eclypsium.com, alison.schofield@intel.com, keescook@chromium.org Subject: Re: [PATCH v6 6/6] drivers/node: Show in sysfs node's crypto capabilities Message-ID: References: <20220203164328.203629-1-martin.fernandez@eclypsium.com> <20220203164328.203629-7-martin.fernandez@eclypsium.com> <67d2711b-200c-0894-4ff7-beb3eb304399@amd.com> <5c5ffe29-d3d3-2955-cf78-ad275110f012@amd.com> <5ee34cad-8daf-6282-f2ed-cbc92a89d013@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 04, 2022 at 12:49:08PM -0600, Tom Lendacky wrote: > Yep, and that should be safe. We would have to look at the generated code as > there can't be any memory stores after the native_wbinvd() and before the > native_halt(). I don't think anything else changes here besides the CPUID. Rest of the asm is the same. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette