From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.61]) by mx.groups.io with SMTP id smtpd.web10.83965.1682438695646068350 for ; Tue, 25 Apr 2023 09:04:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=MXLvDDrm; spf=pass (domain: arm.com, ip: 40.107.22.61, 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=CP5ET3GunY9sBoDg35TqdGCtbnaL0ovT6mZoMuvwgF4=; b=MXLvDDrmrguurZAdSpg34xROpOBmtJXASCwOAB7zUi2J0Yrwe7UPHnEDSClHoP22sYNAIKbHtrDcNUcfBwxPYmzm6gwGkLV0VzbCT02MIELlaWH/TXSwFie/q+HoB5mPU9Xy17WoFy64yP9PTlWIXZMyRJSMLk0lpgKZV2I8IOE= Received: from DUZPR01CA0168.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b3::24) by DB4PR08MB8199.eurprd08.prod.outlook.com (2603:10a6:10:381::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Tue, 25 Apr 2023 16:04:52 +0000 Received: from DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b3:cafe::f8) by DUZPR01CA0168.outlook.office365.com (2603:10a6:10:4b3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34 via Frontend Transport; Tue, 25 Apr 2023 16:04:52 +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 DBAEUR03FT024.mail.protection.outlook.com (100.127.142.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.20 via Frontend Transport; Tue, 25 Apr 2023 16:04:52 +0000 Received: ("Tessian outbound 5bb4c51d5a1f:v136"); Tue, 25 Apr 2023 16:04:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 95019b9899476f45 X-CR-MTA-TID: 64aa7808 Received: from e3b9f09b5afc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 908B82C9-03C6-40B5-8E51-1258FE7A7CE9.1; Tue, 25 Apr 2023 16:04:45 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e3b9f09b5afc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 Apr 2023 16:04:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P9mit4HF7zhi/1Ole9HCY1FE4VzMflK4suSXHf/WCLTDy2yW/0ynmXF7MtGS21OBM9XhfjPXRrwiTHuzy1qmpbe/tac2kV1RyhpY5GrAkYt4rvRTD5XC4M6W6D1V86DkW0sNWMvJcXt3WXErzVw7okl3po5yCiZSz4hvXVN14qHd1lENXIY9m54K2pPnNzebgJO0brliVZOGCfP+3daFeqWSDqXWL/mYpVkw3R/4jVvucm2uMQWDUb0fuSiyptxAGSfdVPP/YHXf5q5+ZI90W8fVdpSdRMniejeqn/kKv3yzecb6VaNGvAcqY4dKv5TN98OrUxw+FiuHd1qvlUOFjQ== 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=CP5ET3GunY9sBoDg35TqdGCtbnaL0ovT6mZoMuvwgF4=; b=kRRjwd+3eWk4YAMa7Vg21bXGF/JnwLENFTyUZMwcDYNqeEgOhaq/sbJa6vqHSwW7nZbMv3wzdCaYjb7v4pY3+UrknhHrbLPvIJEeXeeroMJGrv0+LDlDwvRlfrAftrGaf6EQgnlj50JJs8rUmcfS8mqLL5DTqbrxZpxbyEA+7CD+dG9QjJ0MmJIHSEZl02Ykvsv/TM1fDYj5G1iVOCwNXh+QGQ3mytrjTGkhvI2eRBdQeE2sQoban0i/7vDEM3ngaoOlrh+VbAaKFf1gi8FKomfNaFjVRfAXAK6vR56IxWKk0UfOyxu3qbMuEpPvNguvIzKWObajsyrjRJC06QwAnw== 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=CP5ET3GunY9sBoDg35TqdGCtbnaL0ovT6mZoMuvwgF4=; b=MXLvDDrmrguurZAdSpg34xROpOBmtJXASCwOAB7zUi2J0Yrwe7UPHnEDSClHoP22sYNAIKbHtrDcNUcfBwxPYmzm6gwGkLV0VzbCT02MIELlaWH/TXSwFie/q+HoB5mPU9Xy17WoFy64yP9PTlWIXZMyRJSMLk0lpgKZV2I8IOE= Received: from DB7PR05CA0070.eurprd05.prod.outlook.com (2603:10a6:10:2e::47) by AS4PR08MB8217.eurprd08.prod.outlook.com (2603:10a6:20b:51c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.32; Tue, 25 Apr 2023 16:04:43 +0000 Received: from DBAEUR03FT010.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::4a) by DB7PR05CA0070.outlook.office365.com (2603:10a6:10:2e::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34 via Frontend Transport; Tue, 25 Apr 2023 16:04:43 +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 DBAEUR03FT010.mail.protection.outlook.com (100.127.142.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6340.20 via Frontend Transport; Tue, 25 Apr 2023 16:04:43 +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.23; Tue, 25 Apr 2023 16:04:41 +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.23 via Frontend Transport; Tue, 25 Apr 2023 16:04:41 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , Subject: [RFC PATCH v1 11/30] ArmVirtPkg: Define a GUID HOB for IPA width of a Realm Date: Tue, 25 Apr 2023 17:04:09 +0100 Message-ID: <20230425160428.27980-12-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20230425160428.27980-1-sami.mujawar@arm.com> References: <20230425160428.27980-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT010:EE_|AS4PR08MB8217:EE_|DBAEUR03FT024:EE_|DB4PR08MB8199:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c7aef10-ed3c-4f74-fc1c-08db45a6cdc3 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: lPcSy04pidBVh5UNYyhWJAq0AdWtncz0zeWkpJMHITQ5PoHExkZVSyZzAFpnDMZ3nI58cd9BS9NmDNEqQIHMeliBDCx6Lgwsfalwj64Sbu8Ps9x6yhG8xAl3oDmbuPRQFURWXXktZt7UolbiYErxwO8dYVC3+Ud/nz+jvnj3QFomhtlJ9cIeXDR7LK/g5kib9aCZoBvc/qKBUjtK5p57TKX7qlogXg1iHfkE2SEP8TYGis1sCrzLl1ONHvcIdvh3wNDq+bOLxNtVlgB0qw3q7RfwHW4xvK6om0Z6FV9PZ1L0GdpALtSPWKyeL2wCHzew5SfaO6Wx0IQtPO3FXxciCY3GNnz/7R96rCLtG7WX1FFemSlv/vwgNmZ9pSMhF5LXo3G7fjLC4vjQ53gwFV4WmknQ4emEXkudB+M0tsbhzA+Y4bNaxz+UC0tiyZvHe/CSe5cDsvc5zDEB6/M21RZdyqtPVFZfH5sWso78nDWFOW4fM80bTjAQEn+pqdP4/0b8RmCdYFmCiPB1NyIae7fjAP6xSIqbjJmuJcitNL0P2YHSgweYvoYy8c2jeVJapPxgjhvj7MwBCu5iPznqWG9Ey4P2BE50l8o8hBp8QBvq5j/mac55/mAsyyekCQDZm4WjjxEJJlntCCEzTAFekZqf5yYMclzFTg5VOuxfGYNKKDJTb0S8o3WUlMM7yrPiVWGaHko5W5K9Jnps0YViZ6BMGxWDUPZ/9lK+C5pPJlzudeM= 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:(13230028)(4636009)(376002)(39860400002)(396003)(136003)(346002)(451199021)(36840700001)(46966006)(478600001)(6666004)(7696005)(19627235002)(34070700002)(81166007)(36860700001)(40480700001)(26005)(186003)(356005)(1076003)(82740400003)(54906003)(47076005)(2616005)(336012)(426003)(5660300002)(8936002)(8676002)(41300700001)(70206006)(70586007)(2906002)(316002)(44832011)(4326008)(6916009)(86362001)(36756003)(82310400005)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB8217 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 00151e17-9ec2-4567-fd12-08db45a6c89a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yVdSmT8IrXubwkAr0sg8WErLxYHI5gPBOgPreCpvVC+Bna49gzsj/BbbkVcrppxf/jO8H6Tmo5xy862Sn0ExdvYykm8YoK3ZTnFPiHQExo7lly1uEZjjcU9HuiNiTCaMIq+sV3y2s7A6R8elZwvxcpPKfgogl1O/a/Nhaxgla9+Mo3I98jRW6pVa6KCbsB6sUSZ7vAZTpX0zTl3tGLVyMocHdasIL2IvbTm8QyA15EkSvLBOQ0CA+y6D+MsLNoV4GaVoIw877nH2YtBwXBPFRelMXVh4OoSv5YxQFTvbjNYoqAcazo3BJpe+ciLXFyq1VCZpX7QX8FFn7Yt5pDsoFg3tk1naoiBaw4FWCg2oMEFucQ6MSqcvYopjmheDM4TN71HdNA0DYIbSG9m6ydXo1BVr9TfbO6Nt6WyDRIbfa0+ard8EAF9kaBaMIMHXjvm1XMYeBOpbC7xzBkum5SN2ak8USeA2YbaixPGKyGZmX39wc3P0BM7Kzar0OBaWWrqTDOTkqeeADJvomb95TRZ9S7krX8CZazJjxi9ddk3xYeJB2xzmr9R9O+qTsB75953CsmbUMb5+ssRp2GHPMdc4Cb7oT1yPLeRqP+y4jqE5nUVJQ7UxoJ32UQ4FDC+5gcFBlrTSml8cppE70GVn1cA+iaOrcPy/ZEv4E6M5lXqaWRLTfctDaGCGoAJzLafYYkQjt/FwsU4UjzJlqdEbYgCklAw/maOUnAEmCku5rV7C0Hg= 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:(13230028)(4636009)(39850400004)(376002)(136003)(346002)(396003)(451199021)(36840700001)(46966006)(40470700004)(8936002)(8676002)(5660300002)(316002)(82740400003)(6916009)(4326008)(41300700001)(81166007)(40480700001)(86362001)(44832011)(40460700003)(2906002)(26005)(186003)(82310400005)(7696005)(6666004)(36860700001)(2616005)(47076005)(426003)(336012)(36756003)(54906003)(1076003)(19627235002)(70206006)(70586007)(478600001)(34070700002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 16:04:52.1961 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c7aef10-ed3c-4f74-fc1c-08db45a6cdc3 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: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB8199 Content-Type: text/plain The IPA width of a Realm is read from the Realm Config by invoking the RSI call RSI_REALM_CONFIG to read the Realm Config. The IPA width is then stored in a GUID HOB gArmCcaIpaWidthGuid for subsequent use. This GUID HOB is also useful to pass the IPA width of the Realm to the DXE phase. Signed-off-by: Sami Mujawar --- ArmVirtPkg/ArmVirtPkg.dec | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec index 0bc7d697428636d42ffb27e8e92fca947665a79e..ebdb9629fa2754e6f8b59f23750ea50cf702d8fd 100644 --- a/ArmVirtPkg/ArmVirtPkg.dec +++ b/ArmVirtPkg/ArmVirtPkg.dec @@ -34,6 +34,7 @@ [Guids.common] gEarlyPL011BaseAddressGuid = { 0xB199DEA9, 0xFD5C, 0x4A84, { 0x80, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } } gEarly16550UartBaseAddressGuid = { 0xea67ca3e, 0x1f54, 0x436b, { 0x97, 0x88, 0xd4, 0xeb, 0x29, 0xc3, 0x42, 0x67 } } gArmVirtSystemMemorySizeGuid = { 0x504eccb9, 0x1bf0, 0x4420, { 0x86, 0x5d, 0xdc, 0x66, 0x06, 0xd4, 0x13, 0xbf } } + gArmCcaIpaWidthGuid = { 0xbdb66787, 0xfc8a, 0x412e, { 0xa0, 0x9b, 0x84, 0x96, 0x61, 0x81, 0x72, 0xc0 } } [PcdsFeatureFlag] # -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'