From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.64]) by mx.groups.io with SMTP id smtpd.web11.8745.1637062425622373955 for ; Tue, 16 Nov 2021 03:33:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=5XC9mqeE; spf=pass (domain: arm.com, ip: 40.107.4.64, 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=RN2rydr+6mHTLzw3MHFKIvV+2x0VzuRic4FPx9zdN+U=; b=5XC9mqeEd/gH0rTRwZ8uWzaXgl/WC6cAug8Mv4bR6eQTB0OMUx7oO0rtWU/JHw4ZkUA5t6WY5PdAN7gPiL0szg2FrHzgE9DCVW9UW/+CKuQXTGNY/ZH4/DbdMete0v3ObnVqeCYUSjWpvgF7rCUaVgpEGtunUTNqKR12395Uy9E= Received: from AM8P251CA0025.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:21b::30) by AM4PR08MB2883.eurprd08.prod.outlook.com (2603:10a6:205:9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Tue, 16 Nov 2021 11:33:43 +0000 Received: from AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:21b:cafe::a3) by AM8P251CA0025.outlook.office365.com (2603:10a6:20b:21b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26 via Frontend Transport; Tue, 16 Nov 2021 11:33:42 +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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT056.mail.protection.outlook.com (10.152.17.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.20 via Frontend Transport; Tue, 16 Nov 2021 11:33:42 +0000 Received: ("Tessian outbound dbb52aec1fa6:v110"); Tue, 16 Nov 2021 11:33:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1eb8d05edf38da94 X-CR-MTA-TID: 64aa7808 Received: from cd35f2021d9f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 36673CEF-12B3-4702-9E5D-1F99E0B82BA9.1; Tue, 16 Nov 2021 11:33:28 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cd35f2021d9f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 16 Nov 2021 11:33:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Va0VbPbQYLu9dXA0k8wVixhj3AAs5qaX3VF5uJMa8zxhIcZMVEBRReVye35DYfxodjMbfOA1N3IacktiG1lDg7XMi0QtWd3bWz6w/ByvP20WJPeTepnmymo4jkjzf5pcDwA/Us7UE/FOFKquslK1Ttb0Edb88VXcBWYeydUbtW1abRpypOzex4j6DoaXxxQzbw6IMMQrt0Cc/xitpsCt5aShpwTeUoDEW5GVpcyHybghAwi8fpny3pTin4KG5zdeVmc0nhgK/xzVSNp7jbLR9yP7JRYr6VnZVC3jhGRSSDrYmN9K/jr3yAGO5HVu9RqiyqPPRDupJfRTwK27YM4e2w== 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=RN2rydr+6mHTLzw3MHFKIvV+2x0VzuRic4FPx9zdN+U=; b=B/hN9STmfzj1onetO0XpLLo3bB6skcm8JZgHQQ6eV1mqwUTgnN25WLY+Oaszpfn3iX/ZazrUN6D3PgkYjfAASiuvpHVMtG6Vk1UxqFn9lY+cLYM88hT/4u3iuwCmuBlgYw+zx3wrQ44smYNnxgKvMkXdJHvcgFCOAYe5Nm/A05krVo/DjhzABY9DWXfykzBI+GlySG0xu40bTjfaO9RBDkveLuN1wqGNXBAWJL1odI0i6OMiENTG2pnOaoxgld6y/13GmYtGh8Sjt1whsjeuWoYOzFfo6hJq8RZ2FTDXxVZrfypKZjLIzsO2S1eTgiIdYeCbtyf9/qHE6nZXIbxUjA== 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=RN2rydr+6mHTLzw3MHFKIvV+2x0VzuRic4FPx9zdN+U=; b=5XC9mqeEd/gH0rTRwZ8uWzaXgl/WC6cAug8Mv4bR6eQTB0OMUx7oO0rtWU/JHw4ZkUA5t6WY5PdAN7gPiL0szg2FrHzgE9DCVW9UW/+CKuQXTGNY/ZH4/DbdMete0v3ObnVqeCYUSjWpvgF7rCUaVgpEGtunUTNqKR12395Uy9E= Received: from AS9PR06CA0133.eurprd06.prod.outlook.com (2603:10a6:20b:467::34) by AM6PR08MB3639.eurprd08.prod.outlook.com (2603:10a6:20b:51::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.19; Tue, 16 Nov 2021 11:33:14 +0000 Received: from AM5EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:467:cafe::8e) by AS9PR06CA0133.outlook.office365.com (2603:10a6:20b:467::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.19 via Frontend Transport; Tue, 16 Nov 2021 11:33:14 +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; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT055.mail.protection.outlook.com (10.152.17.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4690.20 via Frontend Transport; Tue, 16 Nov 2021 11:33:13 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Tue, 16 Nov 2021 11:32:53 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.20; Tue, 16 Nov 2021 11:32:52 +0000 Received: from E114225.Arm.com (10.1.196.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2308.20 via Frontend Transport; Tue, 16 Nov 2021 11:32:52 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , , Subject: [PATCH v2 2/8] ArmPkg: PCD to select conduit for monitor calls Date: Tue, 16 Nov 2021 11:32:54 +0000 Message-ID: <20211116113301.31088-3-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20211116113301.31088-1-sami.mujawar@arm.com> References: <20211116113301.31088-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 12ea41c1-2669-405a-3620-08d9a8f4f162 X-MS-TrafficTypeDiagnostic: AM6PR08MB3639:|AM4PR08MB2883: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6790;OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: O2h+0wJQiLhnX7tYeKSgfTIACjsp2vzaAW9HhUartAORYQLYEfIJhCmi18WUI7vJGtbB0RMZ507lJVDmTTuQxoXBWGLo7R4mwRqtrHYyWiiZiT2kWqb/RpS0uwg8x5H84+Rz1ymANbb9oChyy9XGq5crqLZlYNpzPwLE4uFgHEwMLT3RUSkHoy63j3SgSSPOyRUbyFheGd3ICRGyzpc9c0wZVSNR4GMDcdvkZCC9xGt8h/+kA7wauVKnSsj1FVlNv/Mvy1HaEE80w31FpSD+nVMI+M72IIWi0aK3MnpDB3HdB12QAIAz4NSbsk3VH07/hDHSUV2YYYGJZrmahd5Sub9UQEIGs84UEPi5Btz6NOnEyMO0FQxdbmL3M0Q6U5WpFMMWMv1+GZjmBn7B9wxc1MYf08NvCHkWfmA6Wq1CQEm6Z5UMl9fuTcanZ+g9BTyc+hJMDsy1UuSn3oKTuZaCiekShRYI8vXkzUrVd5HOcKbYi3vgkUcT59GgVsKa1cnRV4GBAYgIm0FiCxr5Hzgu9lLGcvpvNZbX0xCeU0POf9HWOh00yVToawOpKuuSA/CqPiEXF23zY+mUaGUm2aBGHUrwYVks3vk+7mFnW4iyu7Cwrcv6nz6IFCQtukqu9BOuOo7v6Wci0Dt3tm2bph5faUDv+eGy5jmXy0QlkjrA9p8xvEHGNPwBfl5jaC2s6H+GYd9f5hvemzeaRcL6JsSnYDXUpSkjUbTMwRkYlA6lNAQYbEnMJ9Z6Rgv8I5k4xGFlrlZgwj+tUJr72u1sL2ll1Y3x7sEe5+VtJs9ORMbhS/hsDt6cpl9TXx0BPKZFl3nk 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:(4636009)(36840700001)(46966006)(70206006)(6916009)(316002)(2616005)(356005)(70586007)(36860700001)(81166007)(44832011)(1076003)(336012)(426003)(7416002)(47076005)(5660300002)(8676002)(186003)(26005)(8936002)(36756003)(82310400003)(2906002)(508600001)(86362001)(4326008)(54906003)(7696005)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3639 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8a58c18b-0041-40cd-0ce7-08d9a8f4e014 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: reaPUFtar+lVw3GOq4d8fyn8gMbZ7xUixmlDSLEPaDqEZOv1V8HEg9A9Qg1mi5oQelWxC/MObU81m02Cs/iYVjZx1cjOvAIIXUurmRpr03DyFfEpAqhoxpZDeQvSERjZ1gFbz1SCVLrFDzDxvQIdPSaePdcZGSmWVzT5HE/REcaM9afcoKPMwWBrIhjRcJDutSw7a3miqaGEiwLvVqqIjhfxRFeZompFX1gGYAxDVIWeK+oPdlaF5o3afeESzy3JGmVOf0Fo4aHi5OBtk4i5K/5/S630jGsyEwf0SVHjl6G5y1ttJx33nEegFi6+dDTIEASgwHvleB4UF1y7EHzRNkXz8pBwvrgmHYcuSyD+2WKvhncZ5ZH1CSVOji1wXVtMXS7n+tT6ZOuckaEnGDxKi6gGv69+tHxKB/EJEJBXJA3iQ3yYsELVcXIOKiqRyseq20x4iLcjUdN8LbvVlujWMka3o877pSkFAw6ZQb5V6oDIQEUhHdNxZBNCPfDW1fGD6EnX2hn9PGCkCVa+xTwHsy/aAFtzZKd+QUSJL5TaEGD3dS/OSVOl8WI7WceCOxsbNR7jP/fofdqYCCzIztRK6FsaIAi2J8iKNDjOzt6RoNaN4nsdYqS7lQ+WeGFyTqJBotjR/biOpZkvDIhNeWh4a8Fy9PjnpaFsb9VWXG68PqGRRqLHUZTQiUXOguQSMyGLx3Aai0JTd00+858sskbeqGoVLSwsiUo7UbqHxKz0zExar40rm+Ja4xt4nIgITCgYslJqlonxjTKnNsGjfrbn7VZ6TdyQRSCZ1E17A2OJlWM= 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:(4636009)(46966006)(36840700001)(4326008)(81166007)(508600001)(7696005)(82310400003)(47076005)(26005)(316002)(70206006)(2906002)(70586007)(5660300002)(36756003)(186003)(336012)(54906003)(1076003)(2616005)(36860700001)(44832011)(6916009)(426003)(86362001)(8936002)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2021 11:33:42.4308 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 12ea41c1-2669-405a-3620-08d9a8f4f162 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: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2883 Content-Type: text/plain Bugzilla: 3668 (https://bugzilla.tianocore.org/show_bug.cgi?id=3668) Define a PCD 'PcdMonitorConduitHvc' to select the conduit to use for monitor calls. PcdMonitorConduitHvc is defined as FALSE by default, meaning the SMC conduit is enabled as default. Adding PcdMonitorConduitHvc allows selection of HVC conduit to be used by virtual firmware implementations. Signed-off-by: Sami Mujawar --- Notes: v2: - No code change since v1. Re-sending with V2 series. [SAMI] ArmPkg/ArmPkg.dec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index 9da1bbc9f2166dc8ae93f96a34d3165fffed34dc..9a53888ae52f00eec50e631cf1bfcacecf8bba87 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -132,6 +132,11 @@ [PcdsFeatureFlag.common] # Define if the GICv3 controller should use the GICv2 legacy gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|FALSE|BOOLEAN|0x00000042 + ## Define the conduit to use for monitor calls. + # Default PcdMonitorConduitHvc = FALSE, conduit = SMC + # If PcdMonitorConduitHvc = TRUE, conduit = HVC + gArmTokenSpaceGuid.PcdMonitorConduitHvc|FALSE|BOOLEAN|0x00000047 + [PcdsFeatureFlag.ARM] # Whether to map normal memory as non-shareable. FALSE is the safe choice, but # TRUE may be appropriate to fix performance problems if you don't care about -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'