From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([5.9.137.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miHEe-005R7d-0n for kexec@lists.infradead.org; Wed, 03 Nov 2021 14:27:29 +0000 Date: Wed, 3 Nov 2021 15:27:23 +0100 From: Borislav Petkov Subject: Re: [PATCH v2 03/12] x86/sev: Save and print negotiated GHCB protocol version Message-ID: References: <20210913155603.28383-1-joro@8bytes.org> <20210913155603.28383-4-joro@8bytes.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210913155603.28383-4-joro@8bytes.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Joerg Roedel Cc: x86@kernel.org, Eric Biederman , kexec@lists.infradead.org, Joerg Roedel , hpa@zytor.com, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , Kees Cook , David Rientjes , Cfir Cohen , Erdem Aktas , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , Arvind Sankar , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On Mon, Sep 13, 2021 at 05:55:54PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Save the results of the GHCB protocol negotiation into a data structure > and print information about versions supported and used to the kernel > log. Which is useful for? > +/* > + * struct sev_ghcb_protocol_info - Used to return GHCB protocol > + * negotiation details. > + * > + * @hv_proto_min: Minimum GHCB protocol version supported by Hypervisor > + * @hv_proto_max: Maximum GHCB protocol version supported by Hypervisor > + * @vm_proto: Protocol version the VM (this kernel) will use > + */ > +struct sev_ghcb_protocol_info { Too long a name - ghcb_info is perfectly fine. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec