From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2ACD27803D7 for ; Tue, 30 Jul 2024 15:08:32 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=K5ctCnvAbnTnXehBFOCo2avLonnThN6wF7ci4IOWJy8=; c=relaxed/simple; d=groups.io; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1722352111; v=1; b=ErGl5yyJMFKuu7dMssdUCg3wdtNiIWYrok6v/b9QTISIOxBlZIuq8X05pKn4BdTGdogeoC1c 7jdKyM+bVr8/qIEx2HdUZIpA4ElyqTF1DIxQgX4XxF6055Bs13J9zuuSUcWM3slYDx7EM5VFQOa dAJkKFxI2DSdXyFSO6thUwVKeBhhD1DLtf81yorBtrvGKe+wXlKJ/ViMN+FqIanESsfYDgC0fiC zcmINRVfxvzcyOq4Exi/nalmFmP7t5WbgqqqKHCRO7dwzZqNawumiw1eCQuDAhvlFXMES0R59/d bDLEZXZGMJd8VZ7fdrKAN8YWNwugydk2FGijUvId0IQtQ== X-Received: by 127.0.0.2 with SMTP id EAbPYY7687511xjr3J1kdJpX; Tue, 30 Jul 2024 08:08:30 -0700 X-Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by mx.groups.io with SMTP id smtpd.web10.54714.1722255755738718194 for ; Mon, 29 Jul 2024 05:22:35 -0700 X-Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-66619cb2d3eso63570117b3.2 for ; Mon, 29 Jul 2024 05:22:35 -0700 (PDT) X-Gm-Message-State: UPvoDAAdDaeesBxTyOTD6JGwx7686176AA= X-Google-Smtp-Source: AGHT+IF5Z0zAU2VvxIYVaiVydLJS2C4yYy5Te5AxnV7t2kL9XSZs/qe0GI3M0t1NfQnzPfZutLtt+N9i X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:690c:806:b0:64a:8aec:617c with SMTP id 00721157ae682-679fffd3e35mr751747b3.0.1722255754419; Mon, 29 Jul 2024 05:22:34 -0700 (PDT) Date: Mon, 29 Jul 2024 14:22:14 +0200 In-Reply-To: <20240729122215.400402-1-ardb+git@google.com> Mime-Version: 1.0 References: <20240729122215.400402-1-ardb+git@google.com> Message-ID: <20240729122215.400402-5-ardb+git@google.com> Subject: [edk2-devel] [PATCH RFC edk2-platforms 4/5] Platform/Durian: Switch to unicore SEC implementation From: "Ard Biesheuvel via groups.io" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Rebecca Cran , Nhi Pham , Chuong Tran , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu 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 Resent-Date: Tue, 30 Jul 2024 08:08:18 -0700 Resent-From: ardb+git@google.com Reply-To: devel@edk2.groups.io,ardb+git@google.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=ErGl5yyJ; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Ard Biesheuvel Spec adherent AArch64 systems use PSCI to manage secondary CPUs, and only enter the execution level where UEFI and the OS live using a single CPU. This means using a SEC implementation of the MPCore variety is never needed, and in practice, those drivers don't work correctly unless an older version of the GIC is used (v2), which only supports up to 8 CPUs and is therefore rare on server silicon. So switch to the UniCore flavor, which should be functionally equivalent if only a single CPU runs the UEFI firmware. Signed-off-by: Ard Biesheuvel --- Platform/Phytium/DurianPkg/DurianPkg.dsc | 2 +- Platform/Phytium/DurianPkg/DurianPkg.fdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Phytium/DurianPkg/DurianPkg.dsc b/Platform/Phytium/DurianPkg/DurianPkg.dsc index be5719ec9ee8..1232b5856d6c 100644 --- a/Platform/Phytium/DurianPkg/DurianPkg.dsc +++ b/Platform/Phytium/DurianPkg/DurianPkg.dsc @@ -148,7 +148,7 @@ [Components.common] OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf } - ArmPlatformPkg/PrePi/PeiMPCore.inf { + ArmPlatformPkg/PrePi/PeiUniCore.inf { ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf } diff --git a/Platform/Phytium/DurianPkg/DurianPkg.fdf b/Platform/Phytium/DurianPkg/DurianPkg.fdf index 321356a069f6..95db4ac6f183 100644 --- a/Platform/Phytium/DurianPkg/DurianPkg.fdf +++ b/Platform/Phytium/DurianPkg/DurianPkg.fdf @@ -222,7 +222,7 @@ [FV.FVMAIN_COMPACT] READ_LOCK_CAP = TRUE READ_LOCK_STATUS = TRUE - INF ArmPlatformPkg/PrePi/PeiMPCore.inf + INF ArmPlatformPkg/PrePi/PeiUniCore.inf FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { -- 2.46.0.rc1.232.g9752f9e123-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120113): https://edk2.groups.io/g/devel/message/120113 Mute This Topic: https://groups.io/mt/107628987/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-