Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3799832rdb; Thu, 14 Sep 2023 03:06:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyNGjLl+YTYFhQmpdwdb/oIIlwKFjBWsLdc+4yjRNrIdhmgTQPaM4eyFYeLSiAPLkVlm9g X-Received: by 2002:a05:6a20:100d:b0:14d:f087:c0cc with SMTP id gs13-20020a056a20100d00b0014df087c0ccmr4484447pzc.48.1694685959518; Thu, 14 Sep 2023 03:05:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694685959; cv=pass; d=google.com; s=arc-20160816; b=COIgCno4XFunTcZCmsCcmlgozk/tcJenazgIIgoOsYS5MMQFKyRTWvOp6Te+mr74Gp LLpLVu+Zb2qtkJ6T9Pj9vsF+HYP/MgRHktqk/ccD9TWDCB6pVsTMNYO1vazWNl2JASVH 8gAS7MhWcpbSyC7SNYlhHuOPrEgxBL6i5m1uqbo5v60OEVP43lVNi734I/OcKc1RnwHF zV9/EPjHWmBFRZgJtDxandWGbCjfZrZg88tcxNcf4kO40+f2gXYMkehhllH6HhSOswN5 UaX1ERY0ESb6HQYFFdksbq9mR9K1F+8uujiXWu3mANb6WtPW7vqpJGCwbw3WgGi0crXS pJ7g== 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=YERWMJ30B91l/sSfp9V6W9satlDcewaEx3lnE3+EPJw=; fh=Hp3pixTUv6/XYUCC9/Q2giStqT9kU1duvfAUoaONkMM=; b=pgqOPaS8yDa0j/lVP2WV4pY2TYcskWLNpQ+jcw2I1LGSZ3wZTxed74n5B/wCSlIXHW lYXrcilr6kX/lmQnAjL5jk/8Yev9cwmT6iDtdpyDB4P0gk6LzqYl0A3SthDahu9VqmM+ xj4tUvZ648i1xjR+C11OJhIZDowloHJcOUvNXJJJ/5rDIrqcYWzfk6m8isoO3N0yraBh JV7qRe1oaSp2yQCyV+mmYngmgzLSFJy4okLOhj/kVZIyUI7o9uiU2v2i/4fegWc3f1oF DWJbFdvE95ZxD+8iZOZy2zojNYDpfvv+BpjkKKIcyRSdAs9dDHgj467Gxlm3zvkrKlbs GG5Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="n20O/7WJ"; 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 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z11-20020a65610b000000b0056c0e3c77f7si1153610pgu.805.2023.09.14.03.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:05:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="n20O/7WJ"; 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 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 780608283A00; Thu, 14 Sep 2023 01:38:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234869AbjINIim (ORCPT + 99 others); Thu, 14 Sep 2023 04:38:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231404AbjINIik (ORCPT ); Thu, 14 Sep 2023 04:38:40 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2079.outbound.protection.outlook.com [40.107.92.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43B1D1FC4; Thu, 14 Sep 2023 01:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B1wL28qs8wNv9ZUvI9nZQSLi25+1O9ZkCvVBEj8H0vfWpkn2b6OgrcbZARKhoB/1v10bILU1KyCo6BhBuxFS3PI+hn7RxvaQNBKnThMHaTpW+i1DBBuo7euIrTB/ZoVC5j7H04e53kAIAbNEdERzZP0p3adxowwKd0lJxJLbkoHATxrYqND3Nh2DOtwZrdGUJTTNI3O1CkfLq8zUvEbae3SQYhZi3sil7R0kX3DdDSW0XLeyqW1ccEr1IkuH9Wh9ulccrMamgmNCNEZZoeegzp6Nxa0y/lsLrFwmbsB6xLa6dj4pXRpuHqJPXFCMNENtrx6A176+SQkVtWmcZba5NQ== 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=YERWMJ30B91l/sSfp9V6W9satlDcewaEx3lnE3+EPJw=; b=ZNwo7ejB9/7opFhpo0qNfmqce+C7SpHRDvguxENC/ELLQcRnzTshBdzWRM/SOhcwhs8sCOwVi4WZFiQ6sFhavlhHtwOxA3vAE7BP0LqafRU9GZE8spkuPk/A8B0O9XhadHjSqTpKWl15ctBW35/Kcoioc8n8a6dAYBs7t8sSKyxLVB0WU4lc/2br8a+TwyLHau1E4+WYPxnIB8Qmn9p72s6bj+iKcUe51hf3fDu2zPtn56E7GVyLDb2RfRvnpMHdPS+p+Ky0RgWDYM223fATn+ugs0mukxCR5MLx/fBTEqFzI6DEx/+RCJA5RoY4bAjxQqIey5/rfpBLAIa7E3CWdg== 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=YERWMJ30B91l/sSfp9V6W9satlDcewaEx3lnE3+EPJw=; b=n20O/7WJmxEIXu9uttFxEkBnLn9lkvqk9Qgw5RjvJcIBQCxxlnDCXxYu+FhQzfaUgTdha9jh969KbqLy4GeA7Axm8tsbRQpzaUmLbNw9zOnyLRI5EemhyrZcAxLHGU6hMGMeEmPfard4FDT3UOfqV8zKzY8mtT+vqk+rYZ2dSn4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH0PR12MB5346.namprd12.prod.outlook.com (2603:10b6:610:d5::24) by PH7PR12MB5760.namprd12.prod.outlook.com (2603:10b6:510:1d3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19; Thu, 14 Sep 2023 08:38:33 +0000 Received: from CH0PR12MB5346.namprd12.prod.outlook.com ([fe80::b009:6291:f87a:33b6]) by CH0PR12MB5346.namprd12.prod.outlook.com ([fe80::b009:6291:f87a:33b6%4]) with mapi id 15.20.6792.020; Thu, 14 Sep 2023 08:38:33 +0000 Message-ID: <9d4e175b-b8ed-85df-31a2-6bfb4a3616d9@amd.com> Date: Thu, 14 Sep 2023 14:08:19 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 0/5] Add new platform support for DBC Content-Language: en-US To: Tom Lendacky , Mario Limonciello , herbert@gondor.apana.org.au, davem@davemloft.net Cc: john.allen@amd.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230907184846.47598-1-mario.limonciello@amd.com> <5d9af84b-59e8-385e-5dff-0f12651fab52@amd.com> From: Rijo Thomas In-Reply-To: <5d9af84b-59e8-385e-5dff-0f12651fab52@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BM1P287CA0011.INDP287.PROD.OUTLOOK.COM (2603:1096:b00:40::15) To CH0PR12MB5346.namprd12.prod.outlook.com (2603:10b6:610:d5::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR12MB5346:EE_|PH7PR12MB5760:EE_ X-MS-Office365-Filtering-Correlation-Id: 993a939c-7444-4b4c-6adc-08dbb4fdfacf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P5pue92VosRRRm+5S0MRLcx1RzCnPukgn88uZxLEQPcgYwgTkE7oTqrZTbiiuaMLAAGXsw+NpKKqbyVSa5r+hbKjkfHdge+G1E+4DrZhFQh03HOeNnf35VBfl/p6qu/ktTyMQ9F/ZjYUKT5f+sJEd3u7tRnr7RSaI5Ne32sJa9YFFEOSGrTM3ac+a4WvW82UTytGydCzyhSOyUe/n0feArtaFkPXFpsH0LJ5B2jqauBqy7p3YxSvit9M+7I9cQ7Bt7SjobfE7r6M3PR5ZwdPT9pzpH1wH/ekGtV1K5BFLsBUe9NpilxfSb2EjCezrENt+fj+FmHI63XV9PTCa4wG/M9kt4H+NokTE7vgbfMw2W46YMeyYuMwTCTJFmY8t0FIieSKstI6O0MV3B9h8s2/jvx6CO8oSHg7wb+v6hG7WziLDRzVwt+UhCWHsFqAfsCY9k8BCEPM47Km0vNifWRpq4VNjKLtYEZbtxqEw22QwdD6xAyyY5MGAdITB7nWUAsc8Ca4ZcHb3wvw8yYLsBEiFefHG5ajL76kjsHxxwD0QhB6XZTuqapaLYnaWZ0Inx3kQGMM7f7CDnQ4+UiZTge7mzS74ErplC/okUPvtkDQ/WE7Sxj+t83pOfUP94kwzLaH9vHSI5MXoFzruTMZCGtA+g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR12MB5346.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(136003)(39860400002)(346002)(366004)(396003)(186009)(1800799009)(451199024)(41300700001)(83380400001)(316002)(6666004)(53546011)(6486002)(966005)(478600001)(6506007)(66476007)(66556008)(26005)(2616005)(66946007)(110136005)(6512007)(2906002)(31696002)(38100700002)(5660300002)(8936002)(86362001)(8676002)(4326008)(36756003)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SW80Rnp0YTJvaG8rMHFYL1gxTm5nOGd4RXY4UUFJM2F6b3dHU2JINXBHNzI1?= =?utf-8?B?MDkvU3BUWHEzekpaOHFTbE9QUW1YZzVZd3Q3T0h4TDlKWENYTUQxMjROd2s0?= =?utf-8?B?WW02Ynhzd3NzUXVjZlBLZGkzY0pZSHZUckdacDhHeTF0Zkl0UnhiSjFaMFl4?= =?utf-8?B?VEkxMDlLZWV1OW5DOGNZVitGMTBBRGI4d3RmVEQ2cHo2QUhOWnJlZkJKMW0w?= =?utf-8?B?U1BxN1JoN3gvamxCZ1NTUEk3bHdPa2xOUXdSc00zRUpsSi9NUi8yMzQwOExK?= =?utf-8?B?TENKRGp4VWNmT3U0NHFJa25OVzNjSmRrT0x6M2ZkbHFJTTdDVn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qeOaUd5OGnWGFIv/noxjg?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 993a939c-7444-4b4c-6adc-08dbb4fdfacf X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5346.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 08:38:33.4612 (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: iLAUI686uB35LCnnTuCAPuFkI2ydR4agnUET+xzp+bag9OUwtxo60HCGpeXUV0RNiOItmcxkTqvfWGOTjYg24Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5760 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:38:49 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On 9/8/2023 2:58 AM, Tom Lendacky wrote: > On 9/7/23 13:48, Mario Limonciello wrote: >> Some platforms that support dynamic boost control (DBC) support it via >> a different mailbox than the platform access mailbox. >> >> This series adds support for those platforms. >> >> It is tested on top of the fixes series. The prerequisite patches refer >> to that series. >> Link: https://lore.kernel.org/linux-crypto/20230829150759.156126-1-mario.limonciello@amd.com/T/#m47782729377f6fe5d62130cc701dae7f15306726 >> >> Mario Limonciello (4): >>    crypto: ccp: Add support for extended PSP mailbox commands >>    crypto: ccp: Add a communication path abstraction for DBC >>    crypto: ccp: Add a macro to check capabilities register >>    crypto: ccp: Add support for DBC over PSP mailbox >> >> Tom Lendacky (1): >>    crypto: ccp: Move direct access to some PSP registers out of TEE >> >>   drivers/crypto/ccp/dbc.c     |  72 ++++++++++++++------- >>   drivers/crypto/ccp/dbc.h     |  29 +++------ >>   drivers/crypto/ccp/psp-dev.c | 122 ++++++++++++++++++++++++++++------- >>   drivers/crypto/ccp/psp-dev.h |  55 ++++++++++++++++ >>   drivers/crypto/ccp/sp-dev.h  |   4 ++ >>   drivers/crypto/ccp/sp-pci.c  |  22 ++++--- >>   drivers/crypto/ccp/tee-dev.c |  48 +++----------- >>   drivers/crypto/ccp/tee-dev.h |  15 +---- >>   8 files changed, 241 insertions(+), 126 deletions(-) >> > > Acked-by: Tom Lendacky > > But I would like to see a Reviewed-by: or Tested-by: from Rijo-john for the TEE changes. > Done. Acked-by: Rijo Thomas Thanks, Rijo > Thanks, > Tom > >> >> base-commit: 7ba2090ca64ea1aa435744884124387db1fac70f >> prerequisite-patch-id: 4bcf7f3ea21472e4e28c2457cc9827f6023ec6ca >> prerequisite-patch-id: 903be53a20306f0188e52015dbfe5196738bb2eb >> prerequisite-patch-id: af396bafb6acaa9c203c1a2c5f4665171cb45e4f >> prerequisite-patch-id: abe450d4bf1de4a5664a41dbf84e72b1d4bfdae7 >> prerequisite-patch-id: b0b9cf55fcb73a11de6f3da73412fb090562857a