Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2692751rwl; Sat, 5 Nov 2022 10:10:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Eyl8NWaS7qqtbsmxPNjWfIyVfxExmmmPP3nIoS4EYB/ypiU4q49TjStdkxljbARW921zT X-Received: by 2002:a17:907:2bd1:b0:7ae:41e1:cdfa with SMTP id gv17-20020a1709072bd100b007ae41e1cdfamr5937709ejc.618.1667668210515; Sat, 05 Nov 2022 10:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667668210; cv=none; d=google.com; s=arc-20160816; b=pkz7eLhlwAZoKP2klKLZiNklgfKOe5a0LJ8QZENpqkEtgov8Gw+Z1mf5K0jD70sOQk f2xXLnWyhZDoF+odN6KtGVYo2ZiwUBofucpi/V7f1q6gkt/hWi1/v+qXfL8DzAyGjokD a68GXciV50fd+UGCfh4sNJVfweiW/g2I4HFOsMnmhH+ayrNgCGaIPflLreEiX85QTwDR IBkgMvZeR2KkZNq9GCpLvrQ8lyhPskS7Avk+V3DY+U38/Z98w/yxukU6z8n6LojWdr9n BlZv0wjt1SFarAOmRQSMXgHNsKtlFspL3rfeQl7D6KcUSfcCqBSOPFX6m3sYKsQUUGTC wFiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KUTpwZXcHKBBOGjhf3w1JmuycDZgyHPrZ7gV2/o5GE8=; b=UW5G5OsA5sUNpqporNxKZYYzf25D1WsLOP4kAGcxvrqnXpGGsliQ4iTRorIFs08rtx JI+EmWJr+LcQN9qy+QnLZAAKgBBvdtf/B+R1KJGeFpgqmIQpoLLPOkh/zwCmEsEcUKM2 UkCBevejk3pJDlF89p6c2T7SenwEmCqI67BNN1vur9UbG60WmGF7J+CjWCEtsovn9aDa bVWwJ2toRntsANXoTWLEfnWffuzjexsWp1ipfdM10kC/q3onU39ygLhRUm+d3SvPBnjy QA3kxBnslfvSWSHpzKqwbc5As7o32jPY5pIHjxw2s5IWR/CYKd9gPZpood4uaEvgmvq0 m9Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PIxI0DQM; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170906854b00b007316ac034a1si2117121ejy.831.2022.11.05.10.09.46; Sat, 05 Nov 2022 10:10:10 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=PIxI0DQM; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230048AbiKEQJr (ORCPT + 96 others); Sat, 5 Nov 2022 12:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiKEQJp (ORCPT ); Sat, 5 Nov 2022 12:09:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370F2DF1B for ; Sat, 5 Nov 2022 09:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667664528; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KUTpwZXcHKBBOGjhf3w1JmuycDZgyHPrZ7gV2/o5GE8=; b=PIxI0DQMTTaTkdBXRo8s1nYxpUiR5joyn1L8kpBI8pKri/xrZrboMVYj5tzYvCdFYNeuLC GDxMdxyN+092oq35OQpBdrTXCBQhjknpv479cFlZ/enrgnehRaL9RzNs5x2sOJEDGSn/54 Q+GbW9mm3nbPFZpKioHN4mkoDlXggRQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-536-DvG0LDXEOlaKHKlF_iy7yA-1; Sat, 05 Nov 2022 12:08:45 -0400 X-MC-Unique: DvG0LDXEOlaKHKlF_iy7yA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C71D1380452A; Sat, 5 Nov 2022 16:08:44 +0000 (UTC) Received: from [10.22.10.76] (unknown [10.22.10.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7FFDB492B0E; Sat, 5 Nov 2022 16:08:44 +0000 (UTC) Message-ID: <91c2eaad-92fc-4251-f9e9-7d73cf2b5da5@redhat.com> Date: Sat, 5 Nov 2022 12:08:43 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] virt: sev-guest: Add MODULE_ALIAS To: Borislav Petkov Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, thomas.lendacky@amd.com, brijesh.singh@amd.com References: Content-Language: en-US From: Cole Robinson In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/4/22 4:53 PM, Borislav Petkov wrote: > On Fri, Nov 04, 2022 at 04:42:45PM -0400, Cole Robinson wrote: >> This fixes driver autoloading > > What is the scenario where this needs to be autoloaded? > Any use case that needs /dev/sev-guest, I guess. Saves software from having to do the modprobe manually. For example, nothing I can find in https://github.com/AMDESE/sev-guest loads the driver, it expects /dev/sev-guest to be there already Mostly I assumed lack of autoloading was an oversight. Was it intentionally omitted? Thanks, Cole