From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id F072274003A for ; Wed, 16 Aug 2023 20:12:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qdPGAVj8dDRCKmifGP+34BpzX/2pN/odH0ZlqoTD/K0=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1692216750; v=1; b=ZYZiFFaugUhMtMqOdf9fx7Foq7UCSnIGuIEVlnSvJYSpKd9G6XysFPKonXqontYbQWEkOqHn i8MV40YM+8bXCXSyAl86sU2JLa+u1lgPGpoyxEDmyZ8rMhtewz8x4ynxTpt7g/4tRbOo14E8mU8 5XFW/NCsQnvrd3SarWB0fbx8= X-Received: by 127.0.0.2 with SMTP id Pv0KYY7687511x2g8bJMvNMa; Wed, 16 Aug 2023 13:12:30 -0700 X-Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.83]) by mx.groups.io with SMTP id smtpd.web11.170897.1692216749777144740 for ; Wed, 16 Aug 2023 13:12:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aEmzxUHcZN0TubqZ/X2d0SRWgxe5Fb/FkQkCFGkKrpXxfeFduQZPoZ7i9DVUyIISEQ1zvyvfZXIKo4/f9P+qDdAsS3ru1ozH4/idun7kszJn7U6AdmmW4IrKd3elNiI35RgkDNkTLbzWAZpHB/aHhu8stYpOU70+xx1krKA0PMlxyKFO1cGGyNkbXxkNXGwJHRJvVJfC3WpJmOoWlyJZdS2Y9dkFozTvBoex8NoFrpBl7GsYko7561sFTvItLweemI/XbQavKHNqg/8FD46MkKwFCfMPEwg2Max3xBPe8ocRfTITsq/e0W60nO11vbzhlcj6d7QjpUpb+jn8QhVSKg== 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=N+B8z1fIdy8C5GPp5aE/SMEk3Vkk9d6bY5wx+S7aGCk=; b=NIOkFe9d7kwp3UMV9D73lU6Sw+yjlIeCVQhwIj5p50iKba7G0L2sB6KerPLpJm7yU5OybwBSuZGbzLGEH6SB/LDd95DJdP+lPcNrGB4EvxMc4gGvkZqx0++cvWx3i3fTj+pbD2SggOrWTjpHMDhy//86BHvzEssYEZmryDTwgjFcirWyUvzpsluyIzfAKGGS5PM4H9VkJ8db8kGDi5lCenp8GlqVu9GVTinM7GRFgrCYgSzgnzewIWCBhVVu+/ujcb/PJ8Y3Cwlcvm3NBBYRwcBnW+KUXOCEUgkaH3lnB6gGM+wPUofNr/2xkBMWB5oRtMIX6rv9Uhbdmd3gGACvsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from SJ0P220CA0011.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::31) by SJ2PR12MB9085.namprd12.prod.outlook.com (2603:10b6:a03:564::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Wed, 16 Aug 2023 20:12:25 +0000 X-Received: from MWH0EPF000971E5.namprd02.prod.outlook.com (2603:10b6:a03:41b:cafe::ed) by SJ0P220CA0011.outlook.office365.com (2603:10b6:a03:41b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.33 via Frontend Transport; Wed, 16 Aug 2023 20:12:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000971E5.mail.protection.outlook.com (10.167.243.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6699.14 via Frontend Transport; Wed, 16 Aug 2023 20:12:24 +0000 X-Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 16 Aug 2023 15:12:24 -0500 From: "Roth, Michael via groups.io" To: Subject: [edk2-devel] [0/2] Fixes for AmdSev OVMF package regressions Date: Wed, 16 Aug 2023 15:11:44 -0500 Message-ID: <20230816201146.1634348-1-michael.roth@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000971E5:EE_|SJ2PR12MB9085:EE_ X-MS-Office365-Filtering-Correlation-Id: 935f9231-c5d6-45f6-2d6a-08db9e951b72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Hu8Sg6CtoQv6qCgU2OE15paLQWf7YbJN5dGsmf0xLCfwI8KiZKmSrTTYccN4pV1DlUwFwrDjZEeb7lxVpjwkiM22OtAJBtFdd8KSbtgiWOJFOybVJtjW71thRHiUpAqfJzoZkISAccbEu/w4jjmDX8SR6rodPTvlB55REP3zvt5Ib3912+DIeZYeNn0YwraRLMdyvNHuvrHQj+qXDhp0qVSerjhBpFUw6jjbKPP6vsJELmV41Ss33IlLDvhRaw9/T1+JnSL61Clk6ar6oVe5sEuSDz9trR3J+XbxBciyQ3yP47hNu5CF0YzzQha+sa36eP72h/X/hHAgqPPBzlZaFv4VjV/AiITKMal8VCKNR2NzVAPrkn1yFEnhxgPmGfV11vnYhKI9KeR7vQgqy3x/L85HpaheBqxmxnxjMjiB9/tZEJhn9c1sukBnp+Kluto8r4UxYm1TWBt4W2wHwNSe8Z02YADLftcxGIL+2FAgA9ZZsa8McSRLXuQKTQ5EG/TRKsiJky/cX2JzbNYEv92qinQijIl5LTWiZpPYlo+jtGEZq1PWYyrRNh9Qfq7WKm+DvZ/5fQIHz25IY2z6MH/5PK55arNPRY9OVZq55ZGKILJI1/Q3zGkAp3OuPmguaSjFdaOWD8tO81pxuPKvyhicuAfrCOhu0CrjNNgVwo/yKm5TwNX/H1exoFeQvB/vhg5MJYST0rTvguaNNK52L+Wgt5cTmYMxpUNzXJK7CKc7N3gR9a+4VZiUr3G9MQmk81MdO+hjKBwIqoqVXqLuirnSLg== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2023 20:12:24.9277 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 935f9231-c5d6-45f6-2d6a-08db9e951b72 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000971E5.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB9085 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,Michael.Roth@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: K9gJQv7Vwb9eDzo9sehXTMcgx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ZYZiFFau; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") A couple changes broke booting of SEV and SNP guests when using the AmdSevX64 package in conjunction with QEMU: UefiCpuPkg:Wake up APs after power-up or RESET through SIPI. OvmfPkg/AmdSev: stop using PlatformBootManagerLibGrub Both fixes are fairly straightforward and mainly seem to stem from AmdSevX64.dsc and friends getting overlooked when updating various OvmfPkg variants with new changes. This series updates the AmdSev build accordingly. I've grouped them into a series since both patches are needed to fix booting of SEV/SNP guests. ---------------------------------------------------------------- Michael Roth (2): OvmfPkg/AmdSev: fix BdsPlatform.c assertion failure during boot OvmfPkg/AmdSev: Disable PcdFirstTimeWakeUpAPsBySipti OvmfPkg/AmdSev/AmdSevX64.dsc | 11 +++++++++++ OvmfPkg/AmdSev/AmdSevX64.fdf | 2 ++ 2 files changed, 13 insertions(+) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107805): https://edk2.groups.io/g/devel/message/107805 Mute This Topic: https://groups.io/mt/100787503/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-