From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from MRWPR08MB11706.eurprd08.prod.outlook.com (2603:10a6:501:9c::14) by PAXPR08MB6942.eurprd08.prod.outlook.com with HTTPS; Mon, 21 Sep 2026 15:44:28 +0000 Received: from DU7P189CA0014.EURP189.PROD.OUTLOOK.COM (2603:10a6:10:552::21) by MRWPR08MB11706.eurprd08.prod.outlook.com (2603:10a6:501:9c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.451.9; Mon, 21 Sep 2026 15:44:26 +0000 Received: from DB1PEPF000509F3.eurprd02.prod.outlook.com (2603:10a6:10:552:cafe::90) by DU7P189CA0014.outlook.office365.com (2603:10a6:10:552::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.428.16 via Frontend Transport; Mon, 21 Sep 2026 15:44:26 +0000 Authentication-Results: spf=softfail (sender IP is 99.81.216.78) smtp.mailfrom=openvz.org; dkim=pass (signature was verified) header.d=openvz.org;dmarc=pass action=none header.from=openvz.org;compauth=pass reason=100 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning openvz.org discourages use of 99.81.216.78 as permitted sender) Received: from nat.eu.perception-point.io (99.81.216.78) by DB1PEPF000509F3.mail.protection.outlook.com (10.167.242.149) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.451.8 via Frontend Transport; Mon, 21 Sep 2026 15:44:25 +0000 X-PERCEPTION-POINT-VERDICT: CLN X-PERCEPTION-POINT-SPF: X-PERCEPTION-POINT-SPAM: PASS X-PERCEPTION-POINT-SENDER-IP: 2a00:1450:4864:30::28 X-PP-Forefront-Antispam-Report: CIP:2a00:1450:4864:30::28;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail-wr2-x28.google.com;PTR:mail-wr2-x28.google.com;CAT:NONE;SFS:(13230040)(82310400026)(2092899012)(260918215300599003)(260918224100599003)(43022699015)(3072899012)(6059299003)(12012899012)(10067099003)(19002099009)(16102099003)(55112099003)(18002099003)(22082099003)(57112099003)(5063699009);DIR:INB; Received: from GV1PR07CU001.outbound.protection.outlook.com (mail-gv1pr07cu00104.outbound.protection.outlook.com [40.93.214.100]) by inbound-smtp.eu-west-1.amazonaws.com with SMTP id jfkdv295rfqk3c8b87qnqil9i1our9me33rmem81; Mon, 21 Sep 2026 15:44:22 +0000 (UTC) X-SES-Spam-Verdict: PASS X-SES-Virus-Verdict: PASS Received-SPF: softfail (spfCheck: transitioning domain of openvz.org does not designate 40.93.214.100 as permitted sender) client-ip=40.93.214.100; envelope-from=den@openvz.org; helo=GV1PR07CU001.outbound.protection.outlook.com; Authentication-Results-Original: amazonses.com; spf=softfail (spfCheck: transitioning domain of openvz.org does not designate 40.93.214.100 as permitted sender) client-ip=40.93.214.100; envelope-from=den@openvz.org; helo=GV1PR07CU001.outbound.protection.outlook.com; dkim=pass header.i=@openvz.org; dmarc=pass header.from=openvz.org; X-SES-RECEIPT: AEFBQUFBQUFBQUFIanJUZ1JyODVhUm9uZVNodE5jR2E3Tlc2aUJXalF4dk9GcmxtV0h0dWhEeURKMFY2d0RQQTY5bE54RStCbmZJQ0I4SXd4eTN4ZWtWbE16SndqY3NMU0FVMm5mZ2gwRnpkWjRpODJCSWJIUWNSRjA4T1dQQkRZUXltZnZVZHlYbUFZUmRKNE93T1loM1RiWUZsbzNDSzd3N2JrQS9Sam1xRDltdjRUVVNFNEttb3A4eUd0YkV5ZG1aTldkTGEvaWpmYmhLNjdVWEVhMkoxSlZGdjdOeWp0cDR5SnpkQ1VyaWlGRUxOQS85K1YydisrWDc1TW4zSUdPWTdUYTNuN2xmMGgycUtHenJLMEFEN1NxYXpTNjA3cGU0QllzMnpKOTRjeWJjMWZJeGxoQWc9PQ== X-SES-DKIM-SIGNATURE: a=rsa-sha256; q=dns/txt; b=DC4Ag44EEq3/xt27ROTuCIUZJL7G7H4JptpagUVCKFswYq1b8mwgCRiN25deH8htPprTlZquKI7fDSNhX8SxIL8V/RuNipkw137sHiPbNnxdbp+xA4C7VcZLQFc9tP+ij1jWIVWgkiujyjMjzKfZw9V5MschNTFFkiZCKfxBpGM=; c=relaxed/simple; s=shh3fegwg5fppqsuzphvschd53n6ihuv; d=amazonses.com; t=1790005462; v=1; bh=h9OzrPenCuTSQBz0H6mlgIse1Ql6OtsBJEr9BnTW9xQ=; h=From:To:Cc:Bcc:Subject:Date:Message-ID:MIME-Version:Content-Type:X-SES-RECEIPT; Received: from DUZPR01CA0147.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bd::29) by GV2PR08MB8001.eurprd08.prod.outlook.com (2603:10a6:150:a9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.451.9; Mon, 21 Sep 2026 15:44:15 +0000 Received: from DB3PEPF00008860.eurprd02.prod.outlook.com (2603:10a6:10:4bd:cafe::2d) by DUZPR01CA0147.outlook.office365.com (2603:10a6:10:4bd::29) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.428.16 via Frontend Transport; Mon, 21 Sep 2026 15:44:11 +0000 Authentication-Results-Original: spf=pass (sender IP is 2a00:1450:4864:30::28) smtp.mailfrom=openvz.org; dkim=pass (signature was verified) header.d=openvz.org;dmarc=pass action=none header.from=openvz.org;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of openvz.org designates 2a00:1450:4864:30::28 as permitted sender) receiver=protection.outlook.com; client-ip=2a00:1450:4864:30::28; helo=mail-wr2-x28.google.com; pr=C Received: from mail-wr2-x28.google.com (2a00:1450:4864:30::28) by DB3PEPF00008860.mail.protection.outlook.com (2603:10a6:18:3::60b) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.451.8 via Frontend Transport; Mon, 21 Sep 2026 15:44:10 +0000 Received: by mail-wr2-x28.google.com with SMTP id ffacd0b85a97d-485b1d2874aso2335776f8f.1 for ; Mon, 21 Sep 2026 08:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1790005450; x=1790610250; darn=virtuozzo.com; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xu3NLKXqh5OMxLR0CMP+jd083QND5nEf+xhXqFX51b8=; b=p/0NoHITncMOs1/jPyQiJAeh4WOj1iDq0RowMBFnu+xnoUApZfLu0DZYwtoWwdm1ej nDuFJ/mYnZVUP3dQ0qDe6k4i8C5HULBtkJTxb/6zA9YT6giK2reVPJ1LAXoIaq79sHJX ZRUMIiUCD2qY3GljaqIcU+xafr3SJGUXCKKTym6bqerLYoF+mF6xSnBpL2kzkO1gnOR2 CBiwEW9UVaO5jjmucVWzEHiepYo9zNSqoplc7TMRlaibFGrRhFIqldOy8nbnENQHnOHd PLMeX4KYPJOYKQyNGT/+H6KvyWlb9L/qny9LQwR3/hbNWmzRhWejgwsJxafl/A4oOjjr oU9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790005450; x=1790610250; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=xu3NLKXqh5OMxLR0CMP+jd083QND5nEf+xhXqFX51b8=; b=IaqIS+Gdi8dgA62jFwVWMw9OT9lt1AapYRODZqEAJgRygDWNKu+EQTv4IQs5Ucq8j4 unrSWQsHE3LeWdI6P3CXorhBzWljAODBW3UzCwOjc3QqaF+jp/vAvfHtF4Y/rVIZ1nLm NCeLurZCvoFneI1g2SNyrIwL3Zk3fAJSwJ6vUdykiJ57ACIlmihtMrbKOfx0FGNhUwxJ 3fue7VuDk+d381s1PTgXLjTrfHwG6P3E374asSQed3NZTQ46hQk8xDGaY5K08AtWdsUe q8jTnEh7Zb5xciYXFkYDqXm/RCkQfNM+Cvigz8sBaCgNVRXPqNNE9+PjV2aZ0YP1ruRZ EL/g== X-Gm-Message-State: AFuF++nYRp08nNOV2EMxMwNmMtFXpCwPZv2W1S4xFruocUDnhs7ScVJ8 VJxkNB92sIl+ssCfYGR7tLzbvE6Fwiut+Gta6WbDd5YJIUXRRE6huNy1NLW2Fhze4He4GNQ5gyr uE9IxSUE= X-Gm-Gg: AYBFou3qAkCk7Ihvwgk90cpHChPyilPSsO12LzkRZUy/ZSJ1+pQucsiRFX7CgUWTpKg pKaRFVBpYJB7B9K1KHLFj1CpgrTlzeLSLFxg1saUgMaXdDS/m79E9/vtZ0M1t5nDp5Fo/s4qddR sDH7cFsVTRe3OiS8s+FSXZqufCNBRSojUxza5ZlJHQTA3B16/n2MF9HRYSnbyU4QRveK0UF9XmU TEU3OTMj3snq3vl+xZW7gv8qtwVJNNKARpLGZMDnF+L4KgXnshHvSmgmbYi3xpfOQaXFRSvczdw 8PO3JUitHE3cvJ3VK7D/ujhAH1Pq8YqUsPMoNkFmhmunwRZEehS34AaDQ7aqEocQ2H+cnNTO8xp XFZWpBpTF9+UeQwKD07rF3xK2XsVZMgeYFu7P7tobdqW+XJYpX5X89z7AixQrCeeQxiDZG7bNbF IPdVkzzzcOl3vuilCb6STBc077vffcZ0XPb1BvUkB4fuLWEkRUV1crtYnQXkiUtIkEjsU= X-Received: by 2002:a05:6000:4021:b0:484:3314:eff6 with SMTP id ffacd0b85a97d-4871e3941f5mr20355363f8f.28.1790005450212; Mon, 21 Sep 2026 08:44:10 -0700 (PDT) Return-Path: den@openvz.org Received: from athena.sw.ru ([2a06:5b06:b600:300:5745:5560:519b:4337]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48724589c02sm23100972f8f.24.2026.09.21.08.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2026 08:44:09 -0700 (PDT) From: "Denis V. Lunev" To: svt-core@virtuozzo.com Cc: andrey.drobyshev@virtuozzo.com, "Denis V. Lunev" Subject: [PATCH 1/2] UefiCpuPkg: add SendStartupIpi to LocalApicLib #VSTOR-146639 Date: Mon, 21 Sep 2026 17:44:05 +0200 Message-ID: <20260921154406.1628753-2-den@openvz.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260921154406.1628753-1-den@openvz.org> References: <20260921154406.1628753-1-den@openvz.org> Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 1 X-EOPTenantAttributedMessage: 0bc7f26d-0264-416e-a6fc-8352af79c58f:1 X-MS-TrafficTypeDiagnostic: DB3PEPF00008860:EE_|GV2PR08MB8001:EE_|DB1PEPF000509F3:EE_|MRWPR08MB11706:EE_|PAXPR08MB6942:EE_ X-MS-Office365-Filtering-Correlation-Id: 69baedb7-44a0-4711-fc4a-08df17f73728 X-LD-Processed: 0bc7f26d-0264-416e-a6fc-8352af79c58f,ExtAddr X-MS-Exchange-AtpMessageProperties: SA|SL X-PERCEPTION-POINT-CUSTOM: vzpp X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|82310400026|2092899012|260918215300599003|260918224100599003|43022699015|3072899012|6059299003|12012899012|10067099003|19002099009|16102099003|55112099003|18002099003|22082099003|57112099003|5063699009; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?32wUWAGTiF4fdb9Qv6P1lHLjURbDr/lhEHCMJrTYHfVdKY50Zv2hf0PefYfV?= =?us-ascii?Q?nAXGHDxHr+eYwcn3FXdKQ1jDkT7ALrfnb47MSrXmdm2Wlsy1CXSXzRrtOMxo?= =?us-ascii?Q?CaEj3FK9DtxhkpY4y3zSTsdIsV9B4SrY6Qqp54sBU5rmbC8v3zK6uGh3AVtr?= =?us-ascii?Q?xSQFioleQZruv2ZCweIHKphUhYzPRC0ApEwMmWI61UKSHZB/0uHk4NAOpQb8?= =?us-ascii?Q?dfrOGIWLEsqNH7vkn9cvWlw1byXp7o25syjNGu3IQPnWvaR7OmeFxpwBZV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-ascii?Q?ntst92qgPBy1X+ZK9uiav4UqfZ6YJRAIUr6Xzgf2JsVZLRCYWsiH6PXIF3g+?= =?us-ascii?Q?pp+b/Jj30UHd?= X-Forefront-Antispam-Report-Untrusted: CIP:2a00:1450:4864:30::28;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail-wr2-x28.google.com;PTR:mail-wr2-x28.google.com;CAT:NONE;SFS:(13230040)(82310400026)(2092899012)(260918215300599003)(260918224100599003)(43022699015)(3072899012)(6059299003)(12012899012)(10067099003)(19002099009)(16102099003)(55112099003)(18002099003)(22082099003)(57112099003)(5063699009);DIR:INB; X-Auto-Response-Suppress: DR, OOF, AutoReply X-Exchange-RoutingPolicyChecked: QNKi4QTWgilPtBD5mcJSk+PTPs+9Z32BKRQyNw/53GgJVtF37NGuojaZMU2qHAXTvMgtnkNMGyK3wxTcY0LEyDXZUXeWimxYesY+ExGrkY9fDIyNeE9k9DtOfXOS/CyaPBkV56Td98ruCQzm3XjAOADXB0BwA49TsDr0aYLFlxSF5nPHPpfmvlJn04d/OB5ejIPG+Exi6ifG3hFESqAOaA+G8TEgKOxan3a6WwouqfQyq0e7U9tMdXJYK/bE+B3f7XbSkZ4Ne/S3LX+1hsAWetm3uobcjKcmT8/degXQG7NbhTqLuTUopBppnrLJjR/AjjA/MnKW7s+zgDSzVh85jQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8001 X-MS-Exchange-Organization-ExpirationStartTime: 21 Sep 2026 15:44:25.9693 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: 69baedb7-44a0-4711-fc4a-08df17f73728 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF000509F3.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Exchange-Organization-AuthSource: DB1PEPF000509F3.eurprd02.prod.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id-Prvs: 28595c84-8223-4652-275c-08df17f72e36 X-MS-Exchange-Organization-SCL: -1 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|260918215300599003|260918224100599003|43022699015|35042699022|12012899012|6059299003|2092899012|3072899012|10067099003|5133699003|18003699003|19002099009|57112099003|55112099003|22082099003|16102099003|5063699009; X-Forefront-Antispam-Report: CIP:99.81.216.78;CTRY:IE;LANG:en;SCL:-1;SRV:;IPV:CAL;SFV:SKN;H:nat.eu.perception-point.io;PTR:nat2.eu.perception-point.io;CAT:NONE;SFS:(13230040)(82310400026)(260918215300599003)(260918224100599003)(43022699015)(35042699022)(12012899012)(6059299003)(2092899012)(3072899012)(10067099003)(5133699003)(18003699003)(19002099009)(57112099003)(55112099003)(22082099003)(16102099003)(5063699009);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2026 15:44:25.9123 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 69baedb7-44a0-4711-fc4a-08df17f73728 X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509F3.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: MRWPR08MB11706 X-MS-Exchange-Transport-EndToEndLatency: 00:00:02.6042500 X-MS-Exchange-Processed-By-BccFoldering: 15.21.0451.004 Content-Type: text/plain X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910005)(944506478)(944626604)(920097)(930201)(20251009189)(140003); X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?wKwCov/J7wEctrY9LP+GpU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0 List-Id: From: Denis V. Lunev The library can send a Start-up IPI to all processors excluding self, or an INIT-SIPI-SIPI sequence to one processor, but it cannot send a bare Start-up IPI to one processor. SendInitSipiSipi builds that ICR inline instead. Export it, and build SendInitSipiSipi on top of it. A caller that has to poke a single AP now has a way to do so without an INIT, which would reset an AP that had already started. No functional change. Signed-off-by: Denis V. Lunev Cc: Andrey Drobyshev --- UefiCpuPkg/Include/Library/LocalApicLib.h | 19 +++++++++++ .../Library/BaseXApicLib/BaseXApicLib.c | 32 ++++++++++++++++--- .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 32 ++++++++++++++++--- 3 files changed, 73 insertions(+), 10 deletions(-) diff --git a/UefiCpuPkg/Include/Library/LocalApicLib.h b/UefiCpuPkg/Include= /Library/LocalApicLib.h index d7c2ad3f70..6c55ed75cc 100644 --- a/UefiCpuPkg/Include/Library/LocalApicLib.h +++ b/UefiCpuPkg/Include/Library/LocalApicLib.h @@ -200,6 +200,25 @@ SendStartupIpiAllExcludingSelf ( IN UINT32 StartupRoutine=0D );=0D =0D +/**=0D + Send a Start-up IPI to a specified target processor.=0D +=0D + This function returns after the IPI has been accepted by the target proc= essor.=0D +=0D + if StartupRoutine >=3D 1M, then ASSERT.=0D + if StartupRoutine is not multiple of 4K, then ASSERT.=0D +=0D + @param ApicId Specify the local APIC ID of the target processo= r.=0D + @param StartupRoutine Points to a start-up routine which is below 1M p= hysical=0D + address and 4K aligned.=0D +**/=0D +VOID=0D +EFIAPI=0D +SendStartupIpi (=0D + IN UINT32 ApicId,=0D + IN UINT32 StartupRoutine=0D + );=0D +=0D /**=0D Send an INIT-Start-up-Start-up IPI sequence to a specified target proces= sor.=0D =0D diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c b/UefiCpuPkg/Li= brary/BaseXApicLib/BaseXApicLib.c index 9767e3b48e..2f2d31333a 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c @@ -525,7 +525,7 @@ SendStartupIpiAllExcludingSelf ( }=0D =0D /**=0D - Send an INIT-Start-up-Start-up IPI sequence to a specified target proces= sor.=0D + Send a Start-up IPI to a specified target processor.=0D =0D This function returns after the IPI has been accepted by the target proc= essor.=0D =0D @@ -538,7 +538,7 @@ SendStartupIpiAllExcludingSelf ( **/=0D VOID=0D EFIAPI=0D -SendInitSipiSipi (=0D +SendStartupIpi (=0D IN UINT32 ApicId,=0D IN UINT32 StartupRoutine=0D )=0D @@ -548,16 +548,38 @@ SendInitSipiSipi ( ASSERT (StartupRoutine < 0x100000);=0D ASSERT ((StartupRoutine & 0xfff) =3D=3D 0);=0D =0D - SendInitIpi (ApicId);=0D - MicroSecondDelay (PcdGet32 (PcdCpuInitIpiDelayInMicroSeconds));=0D IcrLow.Uint32 =3D 0;=0D IcrLow.Bits.Vector =3D (StartupRoutine >> 12);=0D IcrLow.Bits.DeliveryMode =3D LOCAL_APIC_DELIVERY_MODE_STARTUP;=0D IcrLow.Bits.Level =3D 1;=0D SendIpi (IcrLow.Uint32, ApicId);=0D +}=0D +=0D +/**=0D + Send an INIT-Start-up-Start-up IPI sequence to a specified target proces= sor.=0D +=0D + This function returns after the IPI has been accepted by the target proc= essor.=0D +=0D + if StartupRoutine >=3D 1M, then ASSERT.=0D + if StartupRoutine is not multiple of 4K, then ASSERT.=0D +=0D + @param ApicId Specify the local APIC ID of the target processo= r.=0D + @param StartupRoutine Points to a start-up routine which is below 1M p= hysical=0D + address and 4K aligned.=0D +**/=0D +VOID=0D +EFIAPI=0D +SendInitSipiSipi (=0D + IN UINT32 ApicId,=0D + IN UINT32 StartupRoutine=0D + )=0D +{=0D + SendInitIpi (ApicId);=0D + MicroSecondDelay (PcdGet32 (PcdCpuInitIpiDelayInMicroSeconds));=0D + SendStartupIpi (ApicId, StartupRoutine);=0D if (!StandardSignatureIsAuthenticAMD ()) {=0D MicroSecondDelay (200);=0D - SendIpi (IcrLow.Uint32, ApicId);=0D + SendStartupIpi (ApicId, StartupRoutine);=0D }=0D }=0D =0D diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c b/U= efiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c index 7fa997c882..d4db452a80 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c @@ -764,7 +764,7 @@ SendStartupIpiAllExcludingSelf ( }=0D =0D /**=0D - Send an INIT-Start-up-Start-up IPI sequence to a specified target proces= sor.=0D + Send a Start-up IPI to a specified target processor.=0D =0D This function returns after the IPI has been accepted by the target proc= essor.=0D =0D @@ -777,7 +777,7 @@ SendStartupIpiAllExcludingSelf ( **/=0D VOID=0D EFIAPI=0D -SendInitSipiSipi (=0D +SendStartupIpi (=0D IN UINT32 ApicId,=0D IN UINT32 StartupRoutine=0D )=0D @@ -787,16 +787,38 @@ SendInitSipiSipi ( ASSERT (StartupRoutine < 0x100000);=0D ASSERT ((StartupRoutine & 0xfff) =3D=3D 0);=0D =0D - SendInitIpi (ApicId);=0D - MicroSecondDelay (PcdGet32 (PcdCpuInitIpiDelayInMicroSeconds));=0D IcrLow.Uint32 =3D 0;=0D IcrLow.Bits.Vector =3D (StartupRoutine >> 12);=0D IcrLow.Bits.DeliveryMode =3D LOCAL_APIC_DELIVERY_MODE_STARTUP;=0D IcrLow.Bits.Level =3D 1;=0D SendIpi (IcrLow.Uint32, ApicId);=0D +}=0D +=0D +/**=0D + Send an INIT-Start-up-Start-up IPI sequence to a specified target proces= sor.=0D +=0D + This function returns after the IPI has been accepted by the target proc= essor.=0D +=0D + if StartupRoutine >=3D 1M, then ASSERT.=0D + if StartupRoutine is not multiple of 4K, then ASSERT.=0D +=0D + @param ApicId Specify the local APIC ID of the target processo= r.=0D + @param StartupRoutine Points to a start-up routine which is below 1M p= hysical=0D + address and 4K aligned.=0D +**/=0D +VOID=0D +EFIAPI=0D +SendInitSipiSipi (=0D + IN UINT32 ApicId,=0D + IN UINT32 StartupRoutine=0D + )=0D +{=0D + SendInitIpi (ApicId);=0D + MicroSecondDelay (PcdGet32 (PcdCpuInitIpiDelayInMicroSeconds));=0D + SendStartupIpi (ApicId, StartupRoutine);=0D if (!StandardSignatureIsAuthenticAMD ()) {=0D MicroSecondDelay (200);=0D - SendIpi (IcrLow.Uint32, ApicId);=0D + SendStartupIpi (ApicId, StartupRoutine);=0D }=0D }=0D =0D --=20 2.53.0