From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.129]) by mx.groups.io with SMTP id smtpd.web09.6143.1611231005108439400 for ; Thu, 21 Jan 2021 04:10:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=uwWsJ1IZ; spf=pass (domain: os.amperecomputing.com, ip: 40.107.236.129, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aMQPWCfy9JwLhrHwXDSm3vdTONsZFF/IEBuyaPI9po4dZKeUX0p7zNWm8FSdYHGVvD9SvYMz3Ib5TQwDyv1zT9BMLRJA8SJ+6dG5wYcBexE2tmUF9lApkRjcziti+tBYDac2gubMryrmfIKLpvVrqEiqctKfzAKlrCEB/sY3G2uppJYYaw0pgJD1WUx93m4CrYPXegtVol0eN05edQjh3FXU27i0YL1GGmvFtvKc8XnFjgmI9mx7TgvngPvFjyU7a9Ope6RkMG5+bBXgZL7XpQrzyMC6VSSEFW9Lx+ht2M+mCSD+tlXikGFpK56ZGb3V/Ay4jxnHBP8ezI1V5sPwOQ== 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-SenderADCheck; bh=H9BgyisipoybfQFwCBdVbKvArXiK4RdrqgaHQu/6QQg=; b=G8dCr31HJ1ca840k/m846FzxHfeDV/MYceq4M41ZBJRqPkGdkGwUIIULAipPB6z8uTDNrl82LxlkKx+0AFD8UrXizRGdgcRHJ2Dvucf8zdhimv/cU1oDNmMWwTkC6rT460EJgRgaSnK/Bvixff5OKvi2+xVsIjhEGoaQgudGzVhrP/IrbMhGlYabSBAmHMh9eY3IWHttrCQutoVamRVQrKWAJ85Pe6NrJ+0mwd14YWDQ+4JrBeJFrTZv1yBiO8h0IGr4Y7ABvkq4Wc2RhRVjbvR3xlRgr/mAtALX4vUQ5FQFWnCRS7a9Vo23bEdYnS2r3xl90vaMpOXqiYSS6QFRxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H9BgyisipoybfQFwCBdVbKvArXiK4RdrqgaHQu/6QQg=; b=uwWsJ1IZmwVknrpaguaBJRG5oVttS3aFk8MGlBxItrPtYiF0BsgBeseucY+PdejZo964PuPoXY2pt+sMyWqoLWd41mb+MFsdmFMgSTomxW2zJEH2FK1Sl3FbjQJH233UEhs1mRc75zEf5ReWDoCWBz9uNN6a9gSZcEJN9kIFT4k= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM6PR01MB5849.prod.exchangelabs.com (2603:10b6:5:205::20) by DM6PR01MB5049.prod.exchangelabs.com (2603:10b6:5:6e::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12; Thu, 21 Jan 2021 12:10:03 +0000 Received: from DM6PR01MB5849.prod.exchangelabs.com ([fe80::d8f3:caee:a39b:f999]) by DM6PR01MB5849.prod.exchangelabs.com ([fe80::d8f3:caee:a39b:f999%7]) with mapi id 15.20.3763.014; Thu, 21 Jan 2021 12:10:03 +0000 From: "Nhi Pham" To: devel@edk2.groups.io Cc: Nhi Pham , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC Date: Thu, 21 Jan 2021 19:09:19 +0700 Message-Id: <20210121120919.12781-1-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [118.69.219.201] X-ClientProxiedBy: HK2PR0302CA0020.apcprd03.prod.outlook.com (2603:1096:202::30) To DM6PR01MB5849.prod.exchangelabs.com (2603:10b6:5:205::20) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (118.69.219.201) by HK2PR0302CA0020.apcprd03.prod.outlook.com (2603:1096:202::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.6 via Frontend Transport; Thu, 21 Jan 2021 12:10:01 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01d2b6a6-0a16-48c6-d9c2-08d8be057b67 X-MS-TrafficTypeDiagnostic: DM6PR01MB5049: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RaYC20qOPzop/VSwPwkqJazXM/tEc5KdZXmIcVfPaT+zrzIzkCEqAUAs37EH8vQtSkV14+aC0Bp3spkOkPzIItO4t/C1BZp32jorcfymtR4e29Pb/79v8SJZAgDIpUDkskDoMa7D18ScIn1RpTceeSgLJuHVClu0eghKZlnRr1AAKpTOqP8HEnrxHKL2G0BjiqsgUH9lUhrODR5mciGbclQRnpvd1A6PQ2PJjtUY3f6EWRslJ7xAYj4TLAU2cs0SvjS6IEfhm1EmIx/Igsaaidhck1ykY66EpUcmZ0itJv1N5fwLDGsumt3lFgqGf5DsWRJ4eUkLBqxIFhkXpwGiYzunpK/tv6pdIGG0hLgNpzX/CkScgoXaFcruk4cC9JqtWycf2TKVxqPHlTirUCZsaZG1EL0tZgDi04WWBcp+kpvtF1BaSjQbLmfmb3EYdUPoTA4qiN2qbAcxiJ5KNSj1bA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR01MB5849.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(346002)(39850400004)(376002)(136003)(366004)(4326008)(956004)(6486002)(86362001)(478600001)(16526019)(69590400011)(52116002)(6512007)(316002)(6916009)(186003)(2616005)(5660300002)(2906002)(26005)(66556008)(66946007)(8936002)(6506007)(6666004)(54906003)(66476007)(19627235002)(8676002)(1076003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?zxv2EDMynQ3cDdOpInb9OSaZ4XwLXSVhNpOXH2Qi6uIL/AawZwWavCJOQZK6?= =?us-ascii?Q?vMzCz6vRQMHOf9bgU5ft41XgoAxOcDDYxY6kqMeH+hTBi5d9P/AwWWiEu3pk?= =?us-ascii?Q?ZL0bNDmfm3KIp8scqZO/vCP0DgG09BV1R5oaGEq3XKm4briRD10XX4ALr2FT?= =?us-ascii?Q?+RZRu7+ZXr6HkF8Ip9uGKWSUrcDpll79e+yKahPyKNdhAJ6r0BMfjHdxU1xF?= =?us-ascii?Q?Wt8Fz6Sk8kUCc1O1a7JQgZDZqsSG39YrUh4ZsctFtF48khDVG9yS2p8pRJTS?= =?us-ascii?Q?1zpkGlrcQ8ckSzgD5zY70eS0V8MqnbrL/tHrqTF7LaDWKO6FnsWhdr1krGV4?= =?us-ascii?Q?kANkR0L+g3s9RqgKg6M57Uj4CnQaLB/o2zpVCt/sYgq+aT/Iavuv0mk5stLY?= =?us-ascii?Q?NelkwYsYbv6eNsp8JioXrST9Catmbswlf529fR8snoXKTisicY2W38OSjKxz?= =?us-ascii?Q?jyNR1me7yQyKKrkcvCC7naWBYLo5yg0eSHt+Y6FUTIPxaZw3CJL4t/Emw0zA?= =?us-ascii?Q?kfkx3wNiebJ31pu8WP/U0eC+alVfPTUTyXmY/zymzL/XSPa8nz8mJRnsC1HE?= =?us-ascii?Q?Dn2jpIb91nRGy+HoGcAKjvLv1HB0OnyK5QZ9a0O65M+km9Lple1+tdbltzBL?= =?us-ascii?Q?SQN1XnH8nfFGKMb9FTt69WPk9Y1X26dmaPVbp12Q6hXziY4kI5F0nG/JY7vN?= =?us-ascii?Q?tzSLiVsSCyCMDppkDVqnWt6o3PtB7RPiRWwLKXnsGzpogv3CMcTFoAox0gNw?= =?us-ascii?Q?ZDwIhNKcxnMo5hgortrFzZqSwEHzyIajDjiFWNkX4TVzZmYy/v3PQO4fV/8H?= =?us-ascii?Q?tTnBGj0Did8+L4c4veXXZxRLhCpvL96sN/NKy7kLKNwv+Jv/bpdNlUDO57dT?= =?us-ascii?Q?wsgB2FfdZGcPI65a92QKV2O7pUqtpVPq2gAzkRvNiBLq8CK3gNo9r0AY8fF0?= =?us-ascii?Q?SZVDwUhl04J3sjJubXylglN5Riv7TwzU3pBsB/yjhCF0uHEuF7c31o0lispJ?= =?us-ascii?Q?+Bqb?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01d2b6a6-0a16-48c6-d9c2-08d8be057b67 X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB5849.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2021 12:10:02.9791 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kTevk5NCrMBR2EI9REeQAp9WjaOJiJUCEYU1zT5CZy4gtMXaAE2BRE+reepgIWjxW0JFhCKaNCOlkXYY5NdjEpP1CQtEFIX/FOvG3eTAZw0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR01MB5049 Content-Type: text/plain Add Start Method Specific Parameters for ARM SMC Start Method described in the TCG ACPI Specification version 1.2, revision 8. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Nhi Pham --- MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h index 3ed6834cc9ce..946bc7dab77a 100644 --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h @@ -2,6 +2,7 @@ TPM2 ACPI table definition. Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2021, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -48,6 +49,18 @@ typedef struct { UINT64 Response; } EFI_TPM2_ACPI_CONTROL_AREA; +// +// Start Method Specific Parameters for ARM SMC Start Method (11) +// Refer to Table 9: Start Method Specific Parameters for ARM SMC +// +typedef struct { + UINT32 Interrupt; + UINT8 Flags; + UINT8 OperationFlags; + UINT8 Reserved[2]; + UINT32 SmcFunctionId; +} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC; + #pragma pack () #endif -- 2.17.1