Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp850456pxb; Wed, 6 Apr 2022 01:55:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjkFcpLExUKk09etThVm6Q9CDODLc+dVr6+bBndL/MKcIpUf0zAWQFtej5fVoUNHwdgzCL X-Received: by 2002:a17:902:a588:b0:156:599c:6278 with SMTP id az8-20020a170902a58800b00156599c6278mr7446237plb.109.1649235300976; Wed, 06 Apr 2022 01:55:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649235300; cv=pass; d=google.com; s=arc-20160816; b=Oay4Ods2XiAYYwpVrdcXvDQ61kbgUWOskCxIUkDpWzUbpERoaZl2ynUbpmNn4DdUAZ zLGoTrPCtIVOesizuibIzZP/3PM8zem8kx92BztjlZxvbCGWRhRwe9tO0WOZVHSPfV7H dIhrY58lzNDBg2qHXOoRRPQD7v6WKgZlxkoJekMr0LNOXMae39h+aVcxJhQe1uLLcMhi jxcCvzNEkQ2D6Mj/rDhbV9GyGPEMVFOsjsj0MQMo6A9xPtuKZnh2hG2cTN64WTLw1oIi zUJm0W1Vg1fvHdcSKs/lqO+HCnHBC6e9nqVY5Kg9vkvgcJ9I8y/HDUImgkld8e0T7w6X yASg== 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=QI5Bh56K8jnGngVat9BuCcYEn7vhC5b9eTAw0Ubfp+o=; b=t9QWyId7g5IaRx4hcCp0b476xVhkKTn82eu0j3non9TDpyoNt4IhrEX7Fw/pSUWqLc +bLPsnhZ0fSopU6UHDr46kvXBp2BP+DA94n8XPQG+dLkSUhHRb68T9w69w0Hl77MAph9 5/jw3bM1NI0bMCR9FUwJ7RR1x+g4xd5BQRF9lDjV6/bFgPCBoO0hmEYWAJDh5lBfRvCS bPOR3WQn1D9e9j0N/G4tSDKDxtKSn84P10tKhofAwTwBqZHsMWUeQJ+Rp619wL98kplU GeB8NkM6Nvc6AVhRh2Y08lgpQnixKoE0SPkpt/zNZO/kxna21ePz362pB2HD7AxyJLuk 14dQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=s1uwvvIN; 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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a12-20020a056a000c8c00b004fa3a8dff62si16252151pfv.25.2022.04.06.01.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:55:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=s1uwvvIN; 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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19A825840C4; Wed, 6 Apr 2022 01:46:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349515AbiDFBIA (ORCPT + 99 others); Tue, 5 Apr 2022 21:08:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378559AbiDEVbr (ORCPT ); Tue, 5 Apr 2022 17:31:47 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2086.outbound.protection.outlook.com [40.107.223.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11CC53A67; Tue, 5 Apr 2022 14:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NDJRHugsbLxxvXvTaak2i7ygmApQ1QHnG0TIaI3AbUnUBnLeAxcPHpDvVAJG3UOqCENy+ufBCGE3cBlYzRSDCUb1z56F4W1K6ve7JAT1J/jeY232ckR1wDWotRxlkvCy/XHEFor1+t7YkvWza6ER/8+3CnB7Xm5Y09DtZAoA0gjqGN1pent0c00OvokCVtmkgefSZg/bRKbsU+pSW50f4741eWo98ZqcmfSaLRRQjPgLUUVCoqlUgHkLXVZHfyLBKpMx62yle085fmkfBLJ4WOXQUEB6xS7hMBzEgvEgQEAQyM0Qb6MadwjmojnTzjo83dEmE6rOTXo3qpyRqhILNw== 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=QI5Bh56K8jnGngVat9BuCcYEn7vhC5b9eTAw0Ubfp+o=; b=Bz2M7ldpFXOI3h2Q+ki9ncr2Ogi/Uaj8DNnHrehOPfrhPrHBJhX3mP+aq3W0si0qdUsuQRZQNhsYj1l+oN37aIJGjogirOnd9yEg93BagO7mQioXw8Hf9ejznBX8vU2rdnZbFkTmQ/HxQa1l72Zmlnvz7BIFAEOQqhsD3iQ3njrCRhGjK6ztXObQU0VKMLYA+xxgOX8i3aR3ATpPGOdFcmybQvM3T0ES8/SQJnXjtmEfh857CdFcqskmt1dn2nsrd+P1zO5BQsLPmt5xWuF8jbj6BhMspEC4IDVR5veW+2u1ctJK1jwpvxEuKpryAPyPa9OEL09DZrRNl6/pxDBdfg== 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=QI5Bh56K8jnGngVat9BuCcYEn7vhC5b9eTAw0Ubfp+o=; b=s1uwvvINrs1jj8mG2ILh6JgRpOqT9wbe6BqhpzJ56vVzst1gJ/jp/Xq6AVpYlMFvt+ZzoWtIJweBFaqrKUQ6Hgd2vaSTTY9KyWFUi5r2ynRLdJOMjD+qNhuDrmoUH18ia0wIFQX97+GwaT8pBLjj+sWnsM7EJD6rj/ZoNmfQ87M= 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 MWHPR12MB1216.namprd12.prod.outlook.com (2603:10b6:300:10::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Tue, 5 Apr 2022 21:05:39 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1946:2337:6656:ae2e]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1946:2337:6656:ae2e%9]) with mapi id 15.20.5123.031; Tue, 5 Apr 2022 21:05:39 +0000 Message-ID: Date: Tue, 5 Apr 2022 16:05:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3 3/4] crypto: ccp: Allow PSP driver to load without SEV/TEE support Content-Language: en-US To: Mario Limonciello , John Allen , Herbert Xu , "David S . Miller" Cc: open list , "open list:AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER" , Kerneis Gabriel , Richard Hughes References: <20220331211213.2844-1-mario.limonciello@amd.com> <20220331211213.2844-4-mario.limonciello@amd.com> From: Tom Lendacky In-Reply-To: <20220331211213.2844-4-mario.limonciello@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR02CA0087.namprd02.prod.outlook.com (2603:10b6:208:51::28) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df1bc41b-68d0-48c9-cca1-08da17480956 X-MS-TrafficTypeDiagnostic: MWHPR12MB1216:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I4Rl3EIV4lPg1l/aUvec7AduuRQKsiCHPHeOVnWYdhxcxO7oQ8ZNq3ygx92s/V/Bt6zIT+ZqZLI0DCf2DS9xeceyjGU37A2ElhwgbJnCL19l+9WyfPNecGQSW8B5Woh5YKnRdM1oEa92Nicqjs4sZFDu8vudYPD+Byw8boZSV2siy0KTwr+Cu+1G7Zq6gsgQaUR+tJvrqTjhUEvQUYXIWWEX5M/k+/bhBfKADOzKgBz3tkMiPwyK7awGjJpDx8XUP8Lt0wO5tAPOBe66XF2R2M7FV6RiazxhqeVA1OGy6UCg2mCpE91eUCPpSQUCA+UPLiW8Hv1lF7xjI+pPQxY9xwJXJRnOv9McyCtNkp8u22m62VRL0/Pc6ahRn3/SxLpDSz1U5NDREV9ayCOMI6eIno5QkQpuPBSEIEzDiz5XU1DnsvAxMhMo/nMBhB4lqNzHkWoOdYUOQ0sYuoQWTzAEh9Vkd8/wOhJNsoGd4Tdo3ol56Mq35PRzrBPqeUbhLN33CzkMGZ36JLdAX0NrBVYfkM91xDG/6cTYj8xTnEJOMeHl+5la2UYs3bdGe2lWxMVqopqQljve6hmvdx71OvCXcoyU4glpDtPQwPFbgD2FWtn57l0cHYsp/zHoBh5uxkZL812KSNOOQhkwgszYGaUAmGxHM1waaCkbj2ANofItfLekclnF/XzzbxqFQ79XrUAGLHREZLWNSYRF7TeSijVCkntB14fugGinVN4zXP0Xo4EyDccuNYRiBsx7KmIKjDRg 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:(13230001)(4636009)(366004)(6506007)(86362001)(2906002)(6512007)(53546011)(38100700002)(4744005)(5660300002)(6666004)(31696002)(83380400001)(8936002)(8676002)(186003)(26005)(66476007)(6486002)(2616005)(110136005)(316002)(54906003)(4326008)(66556008)(66946007)(508600001)(31686004)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N21XcHRUcmJXcXVhM0lESmw1RXpJZTc0aUFaeTJBNDZaSUhGUVlPOEdvU0t4?= =?utf-8?B?cVpDZHcvMUgwek1Ra0NEbENXcWlvWmUrZTR3bXFOS2ZWY0FGeW5tajU5cmVB?= =?utf-8?B?djFNVWs0bUE1TWRaMmZOMUFWekJpbTN5dHNzOTM1aUkzenV3OTc0cnRML0JL?= =?utf-8?B?OEhlN21Ic1lLTlZpUjgyVmo1THRpUlNOSkFJMytUNlV1bW5oZW5RVy93a2x0?= =?utf-8?B?ajV3LzVKU2RGeVcwVUZWck1wY21jR25lZjlrWVlrd0ozQjhaK1krRXNOb0Ri?= =?utf-8?B?ZUNNd3JZZHpSM0RYMEFyYWNWRkZ4T3YvbS9idGVmSWV3MkVxYVhVcCtqYlFW?= =?ut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ML0pr?= =?utf-8?B?eUg3dUVNKzJHSEJXZVc1TGEwU3NhUTBRV0VWUDdzUktDWmRtcWdGb1JUQVQ5?= =?utf-8?B?TnJIUG1pQjAzeC9OSUN3dmpLcXJ2OThaREVzTG1yRmVMN0hNVnpYdE5QOHBq?= =?utf-8?B?NHhVdklacS9SSnN6WkRXMWxacTRaaFpmMDVyblJhNU1wLy9TcGxrUT09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: df1bc41b-68d0-48c9-cca1-08da17480956 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2022 21:05:39.3581 (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: Q5YxTU0S6MP72lEO8C+sIZlU8pnwGu68IeXIoipIqYzFyy8Dt5+e9HfK0+7fuYtOFwbf9RYd5v92y/Cf661Ndw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1216 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-crypto@vger.kernel.org On 3/31/22 16:12, Mario Limonciello wrote: > Previously the PSP probe routine would fail if both SEV and TEE were > missing. This is possibly the case for some client parts. > > As capabilities can now be accessed from userspace, it may still be > useful to have the PSP driver finish loading so that those capabilities > can be read. > > Signed-off-by: Mario Limonciello Acked-by: Tom Lendacky > ---