Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2028407rdb; Sun, 21 Jan 2024 04:36:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyV1tvspEONKV9cq3Pq3WloEdgQmEb9iGVYru/L9m+nMx8iFd7JskNqb6VIdsgmLH1D9Rh X-Received: by 2002:a05:6808:3a12:b0:3bd:40bc:4eb8 with SMTP id gr18-20020a0568083a1200b003bd40bc4eb8mr4003736oib.61.1705840583490; Sun, 21 Jan 2024 04:36:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705840583; cv=pass; d=google.com; s=arc-20160816; b=OuPs4BwHQJigkeJrE4R6Pw17pQEDPGayUBUbuXPeyWtvdNAAyvTwTk4Jly1mBZ3rUv nISnjNpC9eRWoF0KDJ+FGH3rrM8wZOcfiLKkJhqLzVvw/ctvQ0ZIMIvsXpfweBbNNL5m vXVQ90XN7TKiXcBl6MnAZ6ft3VVtqMVQmsob0b8DwC3PNupZLfGVdU5CiW6UfS+JHCsi uDd2aXWLm+wjae8IfTA7G/Jm3S5ETAzDfh4KT3801QhRao6FaI0rU6vqUiZvyrMsHQYm 6aGqeV8BlUsFT0VSKjCO/RVFtwHaR3BhVXnASyOgUK2MZsusz8gqzfJgNmNzHUbSRdWu m4DA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PByWkdngqQVsVKrcULrL2WzGVw8XOq+8thFbN8v7KPA=; fh=G4yV1t4QbuObAOJ4km1MKIWGWls1sgCMwhrPN0h+SCY=; b=YJ5UCnrISKxO6l6SuD+7ly/B5mXjIJ/dQRApoYKErbOgZQuBt7WTdMkpGQWGr/9fOu CRv6rgxjv58OzVhhMc/qMS9mDy83wYs0TCYaOTcY/fRDSdwBMKSR2y55gQfZXxP1vetH qWA0Zx6X7+IE+I3Zq7bkS4cTyss3dLoAfq6xIbHePrzHqp61aw65QkBOVX2/zSMylEU5 DCQAdY3d4MitNJRrrqXhxPJ7zb54/uXKyw0GOi7517JfkFVesL1a97IsjGnmcbAgSYoM Xl0vwafY6i8JzW57ih0Sk3qC+TNACZegW52Ud20vqK2/Vr3LQ6bhfDtKweIn5kJ+m5wJ mT0g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=d331IEhU; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-crypto+bounces-1506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m5-20020a170902768500b001d6f3a896c5si6497142pll.241.2024.01.21.04.36.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 04:36:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=d331IEhU; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-crypto+bounces-1506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 38C432821B5 for ; Sun, 21 Jan 2024 12:36:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81F3826AFA; Sun, 21 Jan 2024 12:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="d331IEhU" X-Original-To: linux-crypto@vger.kernel.org Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2F6D36121; Sun, 21 Jan 2024 12:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705840564; cv=none; b=tOUnhgJgnvwdU4WVrYXTDnZnEQENFQGLuTFGzgYDL0P98TGeBnuDITAg9A3qmJY8kGX5H3MEo34hKvKoNqgsrSN2G4YWIIX1XYEFklVpoTYW5J/3Zr1xmVUqec60AVR9IxEphXe/s4NpqTp7eh/xBmcantWwLJ2v1B3ZAbWzVkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705840564; c=relaxed/simple; bh=9UC/Z53u3PsWp6d/JmTBZ5MCf2IfR5euiOyakilNmII=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sT+WldFFmw8uqGJ/qimaMVLD33HP19fdFz9bjfd2GcmReRPSvaGonWa0VQngk+zRRmeQp+Ob9kNIz1I/STZmRU/IYUuzqxdjiz24yaR1Ersk1T77i6hoae6zQjxFp+aFUolSbcPb6z0MWXztnxTKy6MYb9Z8TFKHidBjhmqS82Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=d331IEhU; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 01F4640E01B2; Sun, 21 Jan 2024 12:35:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5VXvWGOEi1Tv; Sun, 21 Jan 2024 12:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1705840556; bh=PByWkdngqQVsVKrcULrL2WzGVw8XOq+8thFbN8v7KPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d331IEhU9THYOmhCfeAzn+Gpz0zfijnvxvwy5UTtdLRXw0oq+UysSe1bEP26235e4 t3jL1kKriJjTtRlKZuBgeVVNHdLS3tO0YVMbn4Ux/n992sk+wLNb+AE0Rt1PDhHTPK 2DeRDVArIuxLY9YR26qVJUcEXhE3yE4jeBtJ0paK9k/LrBomEOKpOGJQXAKGiXhV2B 0XP7lkUHibWrvRPErZn6/LHE/ii4zBdnWVpyYeZodQ7Ulq6qYSrjD1Ij50UwasZ78f ZPw0iUI5SldXBprCZGiL06Z6AEnV61APh/kbharRy+KILEQ3WHcy3Amu0ukvZXXAZ3 dYGzQrt5rDOshpRpOmVSwAA2mgkXzY7lxRJ9y7XDrv58Mgz3NTtYUTRVrVvQJ2vxv4 GfqvCi8py8uAO9pBc1UX/+0FJZGheeEBcORyRAGzdDB2y+w2X/dvSOKBSWDkJUUDsv HRdpg/Vy+AMO7vjlcOuQeYtv/P3fq4+e5tLwxJAv8y82wRGynfNU8kJTE0oUIUGalX SHJRgW2ZmYeBde2+cJ6MOcxdQsN6j0OKi9fJzTSoHy2LMPag0LCKmNj3h6Uc6dhQO3 x6eMzJzBthk7sPIrn4nCYkAsg+toch3o7rkiFa7wYwjZaVGAZJI34ddTq5oukHM7N/ s4R+kLEoOibIsogmvGSq7Wyk= Received: from zn.tnic (pd953099d.dip0.t-ipconnect.de [217.83.9.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5DB5340E0177; Sun, 21 Jan 2024 12:35:19 +0000 (UTC) Date: Sun, 21 Jan 2024 13:35:18 +0100 From: Borislav Petkov To: Michael Roth Cc: x86@kernel.org, kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, jroedel@suse.de, thomas.lendacky@amd.com, hpa@zytor.com, ardb@kernel.org, pbonzini@redhat.com, seanjc@google.com, vkuznets@redhat.com, jmattson@google.com, luto@kernel.org, dave.hansen@linux.intel.com, slp@redhat.com, pgonda@google.com, peterz@infradead.org, srinivas.pandruvada@linux.intel.com, rientjes@google.com, tobin@ibm.com, vbabka@suse.cz, kirill@shutemov.name, ak@linux.intel.com, tony.luck@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, alpergun@google.com, jarkko@kernel.org, ashish.kalra@amd.com, nikunj.dadhania@amd.com, pankaj.gupta@amd.com, liam.merwick@oracle.com, zhi.a.wang@intel.com Subject: Re: [PATCH v1 25/26] crypto: ccp: Add the SNP_COMMIT command Message-ID: <20240121123518.GOZa0PhqZVsvIVx3Jc@fat_crate.local> References: <20231230161954.569267-1-michael.roth@amd.com> <20231230161954.569267-26-michael.roth@amd.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231230161954.569267-26-michael.roth@amd.com> On Sat, Dec 30, 2023 at 10:19:53AM -0600, Michael Roth wrote: > +/** > + * struct sev_data_snp_commit - SNP_COMMIT structure > + * > + * @length: len of the command buffer read by the PSP > + */ > +struct sev_data_snp_commit { > + u32 length; > +} __packed; > + diff --git a/include/linux/psp-sev.h b/include/linux/psp-sev.h index 11af3dd9126d..31b9266b26ce 100644 --- a/include/linux/psp-sev.h +++ b/include/linux/psp-sev.h @@ -790,7 +790,7 @@ struct sev_data_snp_shutdown_ex { /** * struct sev_data_snp_commit - SNP_COMMIT structure * - * @length: len of the command buffer read by the PSP + * @length: length of the command buffer read by the PSP */ struct sev_data_snp_commit { u32 length; -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette