Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2527569rwb; Mon, 7 Nov 2022 14:31:58 -0800 (PST) X-Google-Smtp-Source: AMsMyM5HWNv0g20SvZrLbPwPifXHh7851atSU4Fp8Rm3een3MDvhHnLMqb/6xHwrTKRZhvEol8HH X-Received: by 2002:a17:907:2c71:b0:79e:8603:72c6 with SMTP id ib17-20020a1709072c7100b0079e860372c6mr50809657ejc.172.1667860318777; Mon, 07 Nov 2022 14:31:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667860318; cv=pass; d=google.com; s=arc-20160816; b=QCEPbMFV52hnbXbI2WIbAdfKFB2lIUnAMIBSrsXhmLEM+y/AGHqAqcZhe31XfRbIWt Lc2vUJ/SquP11aeR+kjrUmQmNv3sieFN2yzujIhfzxT2cJ80kQiDPx86MM0sSPHbhC5t wC+qAyjU+yOPuzjYeqawl0DiK1hymMLH4kH8pF/nz4fHxDwKZyiUzI+tBpSlJc2JIH6H lyYSvjFsOyA84pLxREvMjX4sbfcCh/xIx7LWVIOfBNFvvTTzoJ2edFbDF7tdilPPKBsE Rw8pDifVqAj/KESNcPPb1C45hbSJysR7e6/4RkQHeN1fhTaAilZx4qSq5bcUda7JpfNg QwBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=OAk3FpUbSBll9nq7yL6sBLGfrQ72xxi3ctyKhQeQ4f8=; b=wOgGMp9+5ypPFnizunc/vQGo3DvDHqD7xv7UyOLe7OkwZcRF975XwgiLwHB24F5Nw1 8UGjRm0BkDvqKdfg3xvqqT4VrDhytBkPaFW/vND+e0y2Er5E4Fx94EGPQUkqOZ9m/PqO fUTln86cAJW9wAory+VlC4oKjRZ5ci+Y0VuaOyf+2vxVmLowGbgvyeHjLREH8czbY4IQ VnjcFbxatCSumvd4HNjzWAs7hrDf2JGEcuHcGf5k0ljT9mxbSHdpx18q/8lcF3vKorF3 LLlHw7FFMycsWth8uQfphM1mXE4aOu/9aznG47wL8/zUYjGDbc0DFXMlmfzugWpMeec5 ZPwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=q2WNg4vq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a056402440300b0046627848e1fsi10443298eda.630.2022.11.07.14.31.36; Mon, 07 Nov 2022 14:31:58 -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=@amd.com header.s=selector1 header.b=q2WNg4vq; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232277AbiKGWKM (ORCPT + 92 others); Mon, 7 Nov 2022 17:10:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231705AbiKGWKL (ORCPT ); Mon, 7 Nov 2022 17:10:11 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2059.outbound.protection.outlook.com [40.107.237.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 063B51E71B for ; Mon, 7 Nov 2022 14:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GF+tUI3e0viKLtfwM6/olnmb/UX+WWaf6qmftAMjp5M/IIeGKvs5I/syj5ErR6Hk7L+JpowPC70UU4ah4Ez91xyQu/ly4s411woEtKxxjm+xVXLDEL6B6nFZW5T7GpTLWycZaS90dRXBPu77Gc4JT9VAZX8HcQzfy2J4ExtVSeJr9CmYZkOiEnAgRaaK1nAKX80cIQn9Ia7rvmg2n09VsCwG1NLW4R2vVk34n5dEY8FFL1TXBdO5sltQDckUdtPWLcsdNtMhYHfuvzdl/DXzsJi/O2eBZd4vAVQOi0uYWX3skRw9Tsi0TRgFwAtTRE6hsnsOrDGfu/+08YtT527CnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OAk3FpUbSBll9nq7yL6sBLGfrQ72xxi3ctyKhQeQ4f8=; b=BvLnWyrEZCOsau4+yOTiUfdF5/66nI7fu4dNdJd2tNxAoB8+fudKLNDT0VT+bk1QHTHLmWt+uKYZHXt/MW+3cWbt7AXtBre4MAcS56O5A17LQS18HoZhfamUg8Pvy2z7Jmv7niVEvin+qGSKBbU2o8xHFbtrmCl3tHDq38oT57aWyVIEhPm9QI1amQsAkqcPoCjWH3q3YIwIEmo7EFvw+g23k3pzWxRj+rDU89ULOwxwBkSFvOJjv8HTjMiPyAP7CwlyNYhZGI3PrxrGCFXw3i+suCKHxOl/72RblmDcGmE8E481q7Nh7qmQ7Kb7Co3+Glf5QCgN6O5m5+cmN1ASNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OAk3FpUbSBll9nq7yL6sBLGfrQ72xxi3ctyKhQeQ4f8=; b=q2WNg4vqz+QCB4ApJAPLga8Ay6w3bTjturJIbOPCnhlDOxK58rqrXcErys6Gr33FIgray/Dp7Gc825qPL5H9HPnlM1UC9oyjigGdtgXc1jwm0MlmwrEUFYYec0MIxvSkqZ5JWcS1YJqwO1QNe+i4hQYVtDUjXFiQwGiIpM9HoFQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) by DM4PR12MB6279.namprd12.prod.outlook.com (2603:10b6:8:a3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.26; Mon, 7 Nov 2022 22:10:06 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::4da8:e3eb:20eb:f00]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::4da8:e3eb:20eb:f00%2]) with mapi id 15.20.5791.026; Mon, 7 Nov 2022 22:10:06 +0000 Message-ID: <6bfacaa0-bb12-3f14-b8da-ead25c8df292@amd.com> Date: Mon, 7 Nov 2022 16:10:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] virt: sev-guest: Add MODULE_ALIAS Content-Language: en-US To: Cole Robinson , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Cc: brijesh.singh@amd.com, bp@suse.de References: From: Tom Lendacky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR14CA0023.namprd14.prod.outlook.com (2603:10b6:208:23e::28) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR12MB5229:EE_|DM4PR12MB6279:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c45742e-a98d-4c24-9ff8-08dac10cd3c3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BDj9KXbzLZAjm6fFGveNCh372ziiAFmLGKpLs0PqjoSkBbsgf1OGly/L/7Q8i0XfKzazh2CjDSVndhQB4kfkKQ6EZiZs8fo3hYaSzLgmGD0N3fjt7NOxgjqxwOgjbK9aYdPiSxnsL4aHBT7KE8tp1OhgebQ7cViHxp9ro5yTxBcnA4MKMK+nFStZ+UfnBS7GJgn2X+nW1vvKm3JJMcJdOkkeP54y1b20yPi/F5Pkxi6RQ/7Hl6q/DIl9VpGtBqSHLVtXlLidx51E4RNKIqG3XSQR+A8p5SjSSbMmm2vhr3fnLXHA2O9x4rCWSp/1vp1Sl40tqtDrRM/pms3c0PFsUBUK0SXJtBhIcOQ1px6TiLBf0bght2hNWkXLESO9Gzfz/Kx8tujELglZO7sEcLE/AnbwIuwLQLE/UqrJUFKUegiD237UV10Yh6Y3dMp0LJd/NTlNDlkMNjzD1CG8mvfx5L57kPAOx443rmKsT/y8xcn89bVeTqXh/IHrg/FaY3L8PVBJCM7ma961EK21v3BcHf31rAD9ba3N5f7S7tzqJrtYV1TBvnuilQp/uBmkDMGrlONZr3UkjbSo9tTtnLoEcSGNB/UQc35Xqj1d7XZyTMc71Qc3IgHCLtW8XI5LDDvWNTyVp4uNHb8TQ1GyAna4JWWF0J5aZg+muZlybX7Ed93YGV06RDT4NJyCuotVgxH5gSICtYOVVfbqBpTmxkuGs4AenwM9bUXYhxYM+8LZtWDSTVIBICFdjxw767y3O32dlcNyZtTLfFnO5oQezDEzQv0KZFPWZ0B1mczWHg9VHqQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5229.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(366004)(346002)(136003)(39860400002)(376002)(451199015)(36756003)(31686004)(31696002)(86362001)(4744005)(2906002)(5660300002)(26005)(6512007)(186003)(38100700002)(2616005)(6506007)(53546011)(8676002)(4326008)(66556008)(66476007)(41300700001)(66946007)(316002)(6486002)(8936002)(478600001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S3pNa2NBZUdUNkVLdTNIMkx6MHRiVUdScGRDUUZKQ1hwRnVsS21ncVB1dEpw?= =?utf-8?B?bFBublBML0t4R0paZ2FJUytyN21IY0N5anBZQS8vOUNza1NMeldtZHhNSWFE?= =?utf-8?B?Zm5hTFN5WlU2VVBmNVUwNCswU3ZOL0d1d1F4S0MwU3F1amhTMGJpbWduVlFE?= =?utf-8?B?N1YyY1o2RUc5a3k2OWhmc2FtOW1UVWhEaks2QmNkSmNiQkJNbHQ5cW1nOHlS?= =?utf-8?B?U09qMUtSRlVUNUcyQkpUQ3UyT0NJRWN6a0gyemF3V1FhMFFxay9RZXJRb0Rp?= =?utf-8?B?eW1uVjBwZVJ6Q0NRaDllQXJZYUxNL3RFWVhiQzhaQTJpS2tXK0hKQXZQL3Y4?= =?utf-8?B?WkpWbE1sV2RQZEtFVzZjcnVOVllzSnI2RHZuSnd2ak9iQ0FyTUxKSUJ3aDQr?= =?utf-8?B?TDdzUWFMcUdyV1BDd3h5TmZvQjlFc3J6Z3VXWDRuY1ZiZE9keUFUUUtJN000?= =?utf-8?B?dXRtRWtSUERyTGZtdHFxTWRWO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t0NlJZWnRWNE1uQXBjYzMxRHlCbkRFZmZiMEFiNStVUm9HVlBTeVhj?= =?utf-8?B?OW9rdldaZFN0TlBWeW1JL3hQVnNqZWwzMUtvYXFQTWtWUHV3cnZhYlJkQ01n?= =?utf-8?B?WjJHWmxHVjdxN1cwb1RNSUJ0VTgyc0xCbFNDTWE2U0RlZERxSUV5M3ZwTUZh?= =?utf-8?B?RGxsNE1KamQ3MkdObWllOXFUY0xjeWRsK2VXUDRqbHpSL243UTZpNVFXV204?= =?utf-8?B?RFZxeDdZR1J6WFNOVzN2d3FTOWlwelF3NlUrZnJ6d1JpV2cyWEhYbUVZYnFa?= =?utf-8?B?VHVqTEZVOHdNS1dMNFY5V2ovbnJkSVBpOGM1YUtoYm01ZUJTREpmNlRTK1pq?= =?utf-8?B?dXYyZXRRdkZXVDc1cVorS1NZRS9LU0lrU09WbVArZldIRGt0OFBTdUlyZTBw?= =?utf-8?B?eHdrYkdMQXlsd1BqWGFVQTNTdTNlaEkybGVSdERsYVlPWFRiaWU1a3h1MWRZ?= =?utf-8?B?WDNGc2psVnI2anV6MGFKd2xoSXhqNlFtcS9rYmZXL1JmU3RBOWgxb3BIQXBi?= =?utf-8?B?SmtIa3BMT0dHQXJ5OW95UHg0YXIxN1diWURTeXVRK0xuSXE0bzAyakJrdWJL?= =?utf-8?B?Y2NYbmYrWitpbzlpSkU1VHk2VVVJOThoYnpOY2EwblhqUzZ4Q2pYTDQ2VHdG?= =?utf-8?B?TmtqMUIvZWhCSTJ5amRwdGVGRDBSSU5CZHZiWTJ0TlkwTzdVSCthbVNyRmo2?= =?utf-8?Q?nAf8c/8wGUUxXJXt3rHYEPA+g?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c45742e-a98d-4c24-9ff8-08dac10cd3c3 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2022 22:10:06.7145 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qtiYgs348PFCOnLzVMXE2xrRtu0S6UoNjHaUqls7OLfxT38/os7bGpYYl2UfGPF1CsOjOFCz3tk/3ly2MrPH1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6279 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 15:42, Cole Robinson wrote: > This fixes driver autoloading > > Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver") > Signed-off-by: Cole Robinson Acked-by: Tom Lendacky > --- > drivers/virt/coco/sev-guest/sev-guest.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/virt/coco/sev-guest/sev-guest.c b/drivers/virt/coco/sev-guest/sev-guest.c > index f422f9c58ba7..4c426dbcd166 100644 > --- a/drivers/virt/coco/sev-guest/sev-guest.c > +++ b/drivers/virt/coco/sev-guest/sev-guest.c > @@ -744,3 +744,4 @@ MODULE_AUTHOR("Brijesh Singh "); > MODULE_LICENSE("GPL"); > MODULE_VERSION("1.0.0"); > MODULE_DESCRIPTION("AMD SEV Guest Driver"); > +MODULE_ALIAS("platform:sev-guest");