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 05912C433F5 for ; Mon, 18 Apr 2022 17:15:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244177AbiDRRRq (ORCPT ); Mon, 18 Apr 2022 13:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237325AbiDRRR2 (ORCPT ); Mon, 18 Apr 2022 13:17:28 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F7DE39; Mon, 18 Apr 2022 10:14:46 -0700 (PDT) Received: from zn.tnic (p200300ea971b58fe329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:58fe:329c:23ff:fea6:a903]) (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 317881EC04AD; Mon, 18 Apr 2022 19:14:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1650302081; 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=t7fx5g7C/Fr97o1K+NsY6oTSAJaB9WJV2sayN5CLMqc=; b=p6ZxZekncgxR5NE2k1fLqT2jYtKL3o96HIeMDPg8xq4EY6tenQhsidmTPDeivT61YdogKI TROhikBXO9aLXf6ldHQKLNe/77KIikWOZHzNl3olYWadigDAWDgWhyAJdWgCZ/mYiUkpYE AVd9GcT+69jBLfPa01Vog0N7xuWOznk= Date: Mon, 18 Apr 2022 19:14:37 +0200 From: Borislav Petkov To: Dionna Amalie Glaze , Tom Lendacky Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Brijesh Singh , x86@kernel.org Subject: Re: [tip: x86/sev] virt: Add SEV-SNP guest driver Message-ID: References: <20220307213356.2797205-44-brijesh.singh@amd.com> <164940891958.389.8256762641375131456.tip-bot2@tip-bot2> 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 Mon, Apr 18, 2022 at 09:42:31AM -0700, Dionna Amalie Glaze wrote: > What is the intended name of this driver? I see the following > > +static struct platform_driver snp_guest_driver = { > + .remove = __exit_p(snp_guest_remove), > + .driver = { > + .name = "snp-guest", > + }, > +}; > > yet... > > +#define DEVICE_NAME "sev-guest" > > and > > + misc->minor = MISC_DYNAMIC_MINOR; > + misc->name = DEVICE_NAME; > + misc->fops = &snp_guest_fops; Gah, I have raised this in the past: https://lore.kernel.org/r/YNxzJ2I3ZumTELLb@zn.tnic but that aspect has veered off into the weeds. I *think* this should be called "sev-guest". Dov's driver which is mentioned in that thread, ended up being called efi_secret so I guess sev-guest. Tom? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette