From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.71]) by mx.groups.io with SMTP id smtpd.web10.14870.1679321183110790379 for ; Mon, 20 Mar 2023 07:06:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=p31156HV; spf=pass (domain: arm.com, ip: 40.107.21.71, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=713TpG/s0maCS3KQ0O/0j9Vqv8XC94aTmAJg2qn3C0M=; b=p31156HVlSZ95BmGdMgY+5YxY6Z0csTx8sHMrnkfC9j24NhMxzHb16KnwH6cGB/GWgaH/UD+A7ImVTcV2o/9BYUbeRbyiCq+74zSr9SUjRr9gQHcsKDmIyIP+F9RfGjufXxzHBchHlpz8BVsJ7uwm9fxZCBcwLYlH5gYTpV6Hy8= Received: from DB7PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:10:52::44) by GV1PR08MB8428.eurprd08.prod.outlook.com (2603:10a6:150:81::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 14:06:12 +0000 Received: from DBAEUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::94) by DB7PR02CA0031.outlook.office365.com (2603:10a6:10:52::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37 via Frontend Transport; Mon, 20 Mar 2023 14:06:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT018.mail.protection.outlook.com (100.127.142.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.15 via Frontend Transport; Mon, 20 Mar 2023 14:06:12 +0000 Received: ("Tessian outbound 0df938784972:v135"); Mon, 20 Mar 2023 14:06:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0f2c6256a5e538e9 X-CR-MTA-TID: 64aa7808 Received: from 565ce9f5b697.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A7DCAF5D-00CC-47DC-B9FD-99C4CCBC4D4B.1; Mon, 20 Mar 2023 14:06:05 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 565ce9f5b697.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 20 Mar 2023 14:06:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gk23BXyPHK83IIDCmCfMxIompew5s8SdueRzfCjIB5VW2LC8zCuM2sE2dlZxw9k0hkD+SLwFiAIsUKDzxfX3TD7JO8/sp00YfknLeHaFi49ct1cK4N4Muf7JKXkCuN6rVPRdQP6J7xtn4vRDUCRnXI4+UWwM7YT4te9R/wmqbW1EBo4o3jeupfq8rb5Ho8oB5hRa147hcJbXCcNQ7GZMdGrJ+9C/CmvDwdAcEhvoUJ+LLJ/BOos1IFLM2mrz8YgwB3xjYzzKjtdObzs/k3IjxqEwtdyXehui5814i60U6NWU4wkPNBgNHalEP+MDSKe7tPo7bJXJy8mUCrVuyQMdGA== 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=713TpG/s0maCS3KQ0O/0j9Vqv8XC94aTmAJg2qn3C0M=; b=ArR0miokoFu/OgLw68xkHkKkmZaofS1SyQSYBrwsIu7LtWUGaFSPMwvTn2OrLRB6qUzwYFKZi32VYOoHqmL4yB6LXkLCy8oAVBK8s4q0LuighaoJDMcc5gqzm9EeaHcf34CLAQ3VfEBK37ugOFqxW93yckn9TX5+dvDvzzX3q11F4h6CddU1bzJ2eQpRpMty5l/y6NXWrYCu7QPTxh6Aq83JVn+Fl0tVvz1yLqMw8QMoft47R1Hjc06hmPFQWVhFfF0gLPh0JIwlq4/7IdiFK64XeRhaJptyJfRNJn7uge8xvcf00lDvsoU6SksZP79I1s/pqYHbjnXdRa6Vbrd1fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=713TpG/s0maCS3KQ0O/0j9Vqv8XC94aTmAJg2qn3C0M=; b=p31156HVlSZ95BmGdMgY+5YxY6Z0csTx8sHMrnkfC9j24NhMxzHb16KnwH6cGB/GWgaH/UD+A7ImVTcV2o/9BYUbeRbyiCq+74zSr9SUjRr9gQHcsKDmIyIP+F9RfGjufXxzHBchHlpz8BVsJ7uwm9fxZCBcwLYlH5gYTpV6Hy8= Received: from AS9PR06CA0640.eurprd06.prod.outlook.com (2603:10a6:20b:46f::8) by GV2PR08MB9253.eurprd08.prod.outlook.com (2603:10a6:150:e3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 14:05:57 +0000 Received: from AM7EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46f:cafe::75) by AS9PR06CA0640.outlook.office365.com (2603:10a6:20b:46f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37 via Frontend Transport; Mon, 20 Mar 2023 14:06:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT048.mail.protection.outlook.com (100.127.140.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6222.15 via Frontend Transport; Mon, 20 Mar 2023 14:06:01 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 20 Mar 2023 14:06:00 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.17 via Frontend Transport; Mon, 20 Mar 2023 14:06:00 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , Subject: [PATCH v1 4/4] ArmVirtPkg: Fix depex in kvmtool guest Rtc library Date: Mon, 20 Mar 2023 14:05:57 +0000 Message-ID: <20230320140557.40348-5-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20230320140557.40348-1-sami.mujawar@arm.com> References: <20230320140557.40348-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT048:EE_|GV2PR08MB9253:EE_|DBAEUR03FT018:EE_|GV1PR08MB8428:EE_ X-MS-Office365-Filtering-Correlation-Id: 58eb7efc-7eaa-4b08-048b-08db294c42fb x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HM1Fn0VF7drB1ziUTAtlXF7cqmghMf+P2/UEQrabRYyFxG3TA8scL+jFw/QTAE8hFH2Fkn0DVno8F/BvC9Dxt8roJIkBmi0WhyNxfTlSI59t8YKCp2tC2DLqb0q7iqjP8XG/sC1eoah2+OWoKdDBFey1XRBnsu85diywc8BCoxbOoV4Cick4pT+2TLZBtNdKGfVokGMwK1PKv/wTExbNkY/SbkhqNKQeOTJpz/b5Xr+mAGQOO9Iue0M99i/HFaYRktd+cgqwrGkGogx+FzZygvV82cSe/ScYUiykDMWOVUvCskEsbeC/yTNeJmZdjCAumktU7TDzJFYKZ8V6AlvAlhuB0D+3CGj2LmMF1/jXAdPxZotvoiE7FmyOFwBwPgzuU9X5mb9Vz1zWVThQXp40FgXqPYmCfdCoyS2KIzE34lu2I29fzOoMxpYn8v8a8y24kQfsiC1WPC7EeVO2dqEpFU4cPbWAVRO4bLdNKDHtmZoRQimMEL2RdyVHnhc82AfKAXM6zEBR6MBzex+e7t8scMKpMBGKbwDBZicqHcc0Su87iyUxaDvtQV+NAyvQ3BnA44ZheeFIeYr2O43eghMJRBI8hYKIo4a+3F48c7Q3sP8YV7MaDhX54meFKx4xlJ6VnzWXlTA65QpfeVMEHtIdD2Dbxterdv6boQH1nfqM0BfnfxHQ74Z1NHKZZT3sZJo8J3wzHz660POmdiwKgU4brS7sHmxPVCk+MiI8VXWPL4E= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(136003)(376002)(346002)(396003)(451199018)(40470700004)(46966006)(36840700001)(86362001)(356005)(36860700001)(1076003)(82740400003)(81166007)(4326008)(36756003)(26005)(5660300002)(8676002)(44832011)(2906002)(70586007)(70206006)(8936002)(82310400005)(41300700001)(47076005)(336012)(40460700003)(2616005)(186003)(426003)(83380400001)(54906003)(478600001)(316002)(6916009)(40480700001)(6666004)(7696005)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB9253 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 1e3fbef1-f779-4d6f-ee9f-08db294c3cc1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mOlVHaM1pHSGtxzgfQp54O+1Q0NMwklHpBlSLDCjTAQrGZIP+VKCfC+VVxp59WAjEDrEAVayDcMgOELYKj3E1bhmJECU8FvXg5OVD7oTV9tywX9xaYs6YxkCFLLbyoF8bLQ3Av/z/TdDrkY+NiDkCq1hwWvzgKuJG6QaMjTQ5cPL0BWSMtz89gvgxJy8jyZEF1LOsH1mGy5K2TS2xmkk4PWmNGJYKjEC2iKc10LfdbvXBLai9BZmyL1X2TZG5YcSPs399SI1ai7+pPDALCztDHwrhqjF3vnBOmImFb8iJ/W1d3jxmb3KwMww4xg87Gp5uJq4A+tpqyJHqoeqWtcdhqFSJ1HCsLJLhPb3iZLRmFBSDCDUKNENKWAFfuT0LiInF9u4ICUc0y9zXUBCvwIy1vhFADWdLPY/6vBm+FM5/nNWPxp59VX+DKbcmvmMqWUIHxGLDFLrf3S/yBE8p68L1kDrctPBis0O7/zsBKjtG6OqHDkS2nQY1+7+bxE5LWrvMOzdw1tb31g/8dMSVWKVMPl+0LVPCLVydsrTPqLvtjE4ADx4+8g3z/iA4mayih+laXfd9X9fILhJ25SnyGJCpumpw6N9HZQPV4B8gPPVvAzEnJ/4+QfdKz5ZY6wwqZ0d7CSBcPsc+VbKp2SIGMdKp/BXg7RMC8K4w+fnolT7bZiTABbs5rK3V+jd4T5eRy1YgWs0K184MCis2NfoDILZVg== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(396003)(376002)(136003)(39860400002)(346002)(451199018)(46966006)(36840700001)(40470700004)(5660300002)(8936002)(41300700001)(44832011)(6916009)(4326008)(36860700001)(40480700001)(36756003)(82310400005)(86362001)(40460700003)(82740400003)(2906002)(81166007)(26005)(1076003)(83380400001)(478600001)(7696005)(426003)(6666004)(186003)(47076005)(336012)(70206006)(70586007)(54906003)(316002)(2616005)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2023 14:06:12.1057 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58eb7efc-7eaa-4b08-048b-08db294c42fb X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8428 Content-Type: text/plain The Rtc library for the kvmtool guest firmware configures the RTC controller address range as runtime memory by calling the gDS->SetMemorySpaceAttributes(). The SetMemorySpaceAttributes() function has a dependency on the CPU Arch Protocol. If the CPU Arch Protocol is not installed the call to set the memory attributes fails with error code EFI_NOT_AVAILABLE_YET. Therefore, set the library dependency on the CPU Arch protocol. Signed-off-by: Sami Mujawar --- ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf b/ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf index f0a7c19ca5f4b5a8eeab08af64175ae6f3526b12..c10a6737a0736b11a8f45b661f8ac38948cb40b0 100644 --- a/ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf +++ b/ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf @@ -1,7 +1,7 @@ ## @file # FDT client library for motorola,mc146818 RTC driver # -# Copyright (c) 2020, ARM Limited. All rights reserved.
+# Copyright (c) 2020 - 2023, ARM Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -40,4 +40,4 @@ [Pcd] gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister64 [Depex] - gFdtClientProtocolGuid + gFdtClientProtocolGuid AND gEfiCpuArchProtocolGuid -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'