Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp48036lqb; Tue, 28 May 2024 08:30:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCgMFjROoXNtEQHabdMyJl0wQEtN0UF/xM1fNjXA7/N2mz3RDY/I99N+42iSy098sdShtEzVTG7+Wz6+LjrPCBiiSI93vQ2kthn6kkCQ== X-Google-Smtp-Source: AGHT+IFZtZmVAsYonkpRyrFZKGJehbo/9KRFF7W6Y8Q7yvcLqEXF1YrnXkpzGV4l6p3E6ggydROj X-Received: by 2002:a17:902:ea0f:b0:1f4:6ef9:53a4 with SMTP id d9443c01a7336-1f46ef9590fmr87423245ad.22.1716910231154; Tue, 28 May 2024 08:30:31 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9e6803si81784335ad.566.2024.05.28.08.30.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 08:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=CT1tqopb; arc=fail (signature failed); spf=pass (google.com: domain of linux-crypto+bounces-4465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C14FD284847 for ; Tue, 28 May 2024 15:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3C9216F27B; Tue, 28 May 2024 15:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="CT1tqopb" X-Original-To: linux-crypto@vger.kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2053.outbound.protection.outlook.com [40.107.220.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05DA01E867; Tue, 28 May 2024 15:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.53 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716910227; cv=fail; b=feKy6jFKpWDY6PLKaXKi/0xGaFU6IsDpOpkqEAMv7x0R2P+6QiZ5pDb84QOpuAljm4izv18rnD5qhSAr3tscu5TC++UVVW80ruTZykB7sQl8yYr103n097lXfqklazcb76GS4sSHhzaDyUStvY9DWB3hnOSRB0x53X/aaquSjN4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716910227; c=relaxed/simple; bh=oNxCDjwO/fZ3Vuz+hfnt/jnbeZ18+zdcZfVb33+MA4U=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=stHT3Hr+aj8Z9BImHnZJjNhcTTELDA3Vz9pwaCZa3G/9D4WJdNwhNzA//uE9nxZWElCx2T6jVzE6dOQueJEwdYR2Wu8Exwre74B0qH9VjI3lofqaIX4atfN5l3AX3doc7uj+wQtDwAw+CYAtxW343oVamrwNiEjXMuXN7HnBIXo= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=CT1tqopb; arc=fail smtp.client-ip=40.107.220.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fYTwjuBJA5rjw2lFdSELj4eqZPfPEEddoATGxwhIh32dgRtXR2ZyyP0h20OO6Z+F3imBLasw65aCLViAD9LcAe+1j/ZJ6iAFrDrdCOD7xs7ZONYXP745ZtM7fFfNmr8rCjCYVo5obxURuWf3+whn58jbgJMTqHanLjwQNQdhTfiKJfETBGM0gW/O+p8LFPTGKzG2S/V/suITk004MTBMkiP/seOhrUPaAbLFx1W5Uwm/AOcRJ6d67pTB0JbJgIEsopzYmEiQV/ZnPUNtDLoxgBM/ruetfOhYnn6Yvx9u2fRt85gHW9OuSURMtSTOjv/aKBQfsFtyjuvbaUJh1gXBKQ== 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=HeTXkFIvi5TnFsOsziF3vLJIW+W0VCmjiHhlr+MKWo8=; b=Yp6IN6JNAeUtLjqo/FWD8VdqFWeD6hF5zJokxR4iUSZE+AKNVph/utXShsLJhNcgqzkElDTolwnCcQl9t0KIPeOjFXrT/EQRjc5vgzEiSt8mwG7hSn40pJlEKdbnk2+f4JV7qhVjhDd+Mhk29FKX7oBHDlqMKxep/d7kT29TaKqmkvONfOAIJYAMsH9ALFTXLkjx7S+j9T5v4fXGT4GEGKREagzFa5eWJROGmL+m3M+OBkaDD4ZEXRr+yE3IHxWZCaNQRQpdL09yI4U4ojjGlaRqFlr2+lELJI8Ds4ynQsqwualSrZghf61/cwiOaudOApFOAjgGI1QZjLuMzQUMlw== 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=HeTXkFIvi5TnFsOsziF3vLJIW+W0VCmjiHhlr+MKWo8=; b=CT1tqopbnJm+VQe+B3FJcDAz14PDI23rd3+hqTYaZWuCVElqWUjxvh5XABW/vxjL5MF04FmTi6J6w4aJtyY0JF9aM6euPJI7b8yKwXV/rtxUThEivQKAVN55285nO0W9yneRK99+VqK7n1+Tuq3pWGihuGKb43nuUAhHu8Oh6BI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by DS7PR12MB5768.namprd12.prod.outlook.com (2603:10b6:8:77::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Tue, 28 May 2024 15:30:23 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52%7]) with mapi id 15.20.7611.030; Tue, 28 May 2024 15:30:23 +0000 Message-ID: Date: Tue, 28 May 2024 10:30:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 2/5] crypto: ccp: Move security attributes to their own file Content-Language: en-US To: Mario Limonciello , Herbert Xu Cc: "open list:AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER - DB..." , Richard Hughes , open list References: <20240527152649.3722-1-mario.limonciello@amd.com> <20240527152649.3722-3-mario.limonciello@amd.com> From: Tom Lendacky In-Reply-To: <20240527152649.3722-3-mario.limonciello@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA0PR11CA0116.namprd11.prod.outlook.com (2603:10b6:806:d1::31) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|DS7PR12MB5768:EE_ X-MS-Office365-Filtering-Correlation-Id: fe893a88-93ac-4791-1cb2-08dc7f2b173e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WXBtTUN1SDJPaTdkNnhEZ085eDNpLzdldDJvU2pZaU5vS2N6Sk1Yc0lkSXFI?= =?utf-8?B?M0hVOExyYTlTcjJlb00wTnhPMXZ3SG9KNmhobDV4OUh0M1YwYXl0ME44UmM5?= =?utf-8?B?N1FKb1BGdFcvbUYzeWxwbzV6WDhVRm00L05nYkU1MWVqNE1IenpoT3pja1cx?= =?utf-8?B?TGFha3FyN3VCdzU5MjNwbnZlNDF6dTJTN2VKWjRQQm8xK1NHTEx6SXZkVkps?= =?utf-8?B?bTVyWVk0M3NBVFp0TDFXdVlKQnE0OHRia1dEZUlmVUxxcDJCMFFDeGJ6Mkxs?= =?utf-8?B?QzQ0ZWdxYlZyNHFCNlgydmF6Nkg3MU5laW9iZ3RWQXg1SnFwWXMxS045dWYr?= =?utf-8?B?a1lPNTEvR1FhWFVoaXJwb0F2N0YzMUErdit6NVJ0WnUrQVREcGp0NnQrQy8z?= =?utf-8?B?RHRHYmhRVWZyVCs3TVE5TjBYbFltaVRzTUtPTnZvb1JHSHZzSWFwbTFPaWtU?=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xZVYwVU13KzNN?= =?utf-8?B?d3p0NmFBQnNNaUFDTnYwZjdhY0JFdWJNeVFkc3lhUjlUNThZaW1ua3VyM0ZE?= =?utf-8?B?R2QwS3dvNW96QTNqWUZ0NFBXckw4VGgwcjVsK3I0NzFiVHczUWV5MGs3Wkcr?= =?utf-8?B?eEtBOVJ5VWJRMEtvekdnNWI1ZDg1Mi9VbDBKOWJZeUJuaVZWcE9PbTVyMURz?= =?utf-8?B?SHF1VWlDVkNFTCtTTldrVXJjWTQwc3oyZ2Q2OUhGYWRyS0NUeGcrNkJnWE9j?= =?utf-8?B?VGMzejNuT1hYUHh0QzVjL2xxcVVuMmtiZm9QcThTZVZQVGxENTgxNXR4MFJE?= =?utf-8?B?c0FHaytQdWFDNzJKUmlHSVdjVFZxTnNYSy9keHFpNm96cXBSMmNLVlp3PT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5732.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K1NKdkFEcVl5a1NKdktobjA4ZnA2QUFZNWtLMUExRm9CNU5EWmJQOUdvb1Nk?= =?utf-8?B?MWF0SXF5OHk2ZXA1eWNoSTFyMytpTWVIbDlwdENjdTlpbk9GVVVSTjVkZlFT?= =?utf-8?B?NVVIcllaSTBNMGpCZThtUXdMOEtLOE9LV2dOUmJQNnY0eWRoQkpZUlFjK3FN?= =?utf-8?B?Zk9MQUZDUDdxOTBYdjhtT3VQREcxaC80STk0eStJNzkwcEpGK283RTM1c3dF?= =?utf-8?B?UDBPQ2lZay9qWUxDT3R2WGttQXFGMVovWmhXWEkzemFJeEVGZ3JPbXFWRWFQ?= =?utf-8?B?NlBxZmpLMS9QVUFuY3pqVFhGMXFXUzdZZG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?CHEkthNewBqvIe3obLopyFpAd?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe893a88-93ac-4791-1cb2-08dc7f2b173e X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 15:30:23.2165 (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: hlx69YvSQjKglCnmtiW4lVGu0/ewZBHehuG4imgweNl9fbKRpXDPNQG0Zkiz3+/47MOljAYZ3jOGd7TBjuckkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5768 On 5/27/24 10:26, Mario Limonciello wrote: > To prepare for other code that will manipulate security attributes > move the handling code out of sp-pci.c. No intended functional changes. > > Signed-off-by: Mario Limonciello Acked-by: Tom Lendacky > ---