Re: [edk2-devel] [edk2-platforms][PATCH v4 31/31] AmpereAltraPkg: Add configuration screen for Watchdog timer

2021-10-26 Thread Leif Lindholm
r expires. > So, this patch adds the configuration screen for the watchdog timer > which provides options to configure the timeout of these timers. > > By default, the values of these options are 5 minutes. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: L

Re: [edk2-devel] [edk2-platforms][PATCH v4 27/31] AmpereAltraPkg: Add configuration screen for Memory

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:05 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide memory screen with below info: > * Memory total capacity > * Memory RAS and Performance Configuration > * Per DIMM Information > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong

Re: [edk2-devel] [edk2-platforms][PATCH v4 25/31] Ampere: Utilize the PCIe User setting

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:03 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This change allows to configure the PCIe bifurcation mode and update > the ACPI IORT tables based on the PCIe User setting. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Lei

Re: [edk2-devel] [edk2-platforms][PATCH v4 24/31] AmpereAltraPkg: Add configuration screen for PCIe

2021-10-26 Thread Leif Lindholm
> Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham Acked-by: Leif Lindholm > --- > Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dec

Re: [edk2-devel] [edk2-platforms][PATCH v4 19/31] JadePkg: Add ACPI tables to support PCIe

2021-10-26 Thread Leif Lindholm
Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham I haven't sanity-checked anything, but: Acked-by: Leif Lindholm > --- > Platform/Ampere/JadePkg/Drivers/AcpiPl

Re: [edk2-devel] [edk2-platforms][PATCH v4 16/31] AmpereAltraPkg: Add PciSegmentLib library instance

2021-10-26 Thread Leif Lindholm
ong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham > --- > Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc > |1 + > Silicon/Ampere/Amp

Re: [edk2-devel] [edk2-platforms][PATCH v4 15/31] AmpereAltraPkg: Add PciHostBridgeLib library instance

2021-10-26 Thread Leif Lindholm
c: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham Reviewed-by: Leif Lindholm > --- > Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc

Re: [edk2-devel] [edk2-platforms][PATCH v4 14/31] AmpereAltraPkg: Add driver to initialize PCIe Root Complex

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:52 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This driver takes responsibility for: > - Parsing platform settings to build the Root Complex info HOB > - Initializing each Root Complex > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Ph

Re: [edk2-devel] [edk2-platforms][PATCH v4 13/31] JadePkg: Add BoardPcieLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:51 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide Mt. Jade specific segment number for each Root Complex and > function to handle the PCIe PERST. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > C

Re: [edk2-devel] [edk2-platforms][PATCH v4 12/31] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:50 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides essential functions to initialize the PCIe Root Complex on > Ampere Altra processor. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael

Re: [edk2-devel] [edk2-platforms][PATCH v4 11/31] AmpereAltraPkg: Add Root Complex HOB data structures

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:49 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide common data structures and macros which will be consumed by > various PCIe modules. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael

Re: [edk2-devel] [edk2-platforms][PATCH v4 08/31] AmpereAltraPkg: Support UEFI non-volatile variable

2021-10-26 Thread Leif Lindholm
vbDxe driver provides the implementation for the > gEfiFirmwareVolumeBlock protocol > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham

Re: [edk2-devel] [edk2-platforms][PATCH v4 03/31] AmpereAltraPkg: Add FailSafe and WDT support

2021-10-26 Thread Leif Lindholm
ndicates FailSafe > monitor (ATF) that has booted up successfully. If the timer expires, it > is considered a failed boot and the system is rebooted. How? (more below) > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc:

Re: [edk2-devel] [edk2-platforms][PATCH v4 02/31] AmpereAltraPkg: Add FlashLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:40 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides functions to access the NVRAM, NVRAM2 and FailSafe region on the > Flash over MM communication. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > C

Re: [edk2-devel] [edk2-platforms][PATCH v4 01/31] Ampere: Initial support for Ampere Altra processor and Mt. Jade platform

2021-10-26 Thread Leif Lindholm
to boot system > to EDK2 UiApp. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham > Reviewed-by: Leif Lindholm > -

Re: [edk2-devel] [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-18 Thread Leif Lindholm
On Mon, Oct 18, 2021 at 10:21:59 +0100, Sami Mujawar wrote: > > In fact ... we could use more help on ArmPkg in general. Would you be > > up for becoming an additional Maintainer or Reviewer? > [SAMI] I can start helping with the review of the patches to start with, and > we can revisit the maintai

Re: [edk2-devel] [edk2-platforms][PATCH V3 0/9] Use PcdPciMmio(32)64Translation PCDs from MdePkg

2021-10-15 Thread Leif Lindholm
On Fri, Oct 15, 2021 at 15:32:56 +0800, Abner Chang wrote: > In V3: Fix the commit message in each patch. >ArmVirtPkg->ArmPkg > In V2: Fix the invalid email address. Less haste, more speed ;) Acked-by: Leif Lindholm > This patch set fixes the build error caused

Re: [edk2-devel] [PATCH v1] ArmPkg/Smbios: Fix max cache size 2 wrong issue

2021-10-15 Thread Leif Lindholm
On Thu, Oct 14, 2021 at 06:05:59 -0600, Rebecca Cran wrote: > Reviewed-by: Rebecca Cran Acked-by: Leif Lindholm Merged as 7e43d3e08611. Thanks! / Leif > > On 10/14/21 1:23 AM, Ming Huang wrote: > > As SMBIOS spec, bit-31 of maximum cache size 2 should be 1 > >

Re: [edk2-devel] [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-14 Thread Leif Lindholm
On Mon, Oct 11, 2021 at 21:52:13 +, Samer El-Haj-Mahmoud wrote: > For the RFC itself, I personally do not have any objection, and > welcome the addition of this protocol to AARCH64, as long as it > utilizes the PSCI services to achieve the OS boot requirements. > > It may be worth getting feed

Re: [edk2-devel] [PATCH v1] ArmPkg/Smbios: Fix max cache size 2 wrong issue

2021-10-14 Thread Leif Lindholm
+Rebecca On Thu, Oct 14, 2021 at 15:23:14 +0800, Ming Huang wrote: > As SMBIOS spec, bit-31 of maximum cache size 2 should be 1 > for 64K granularity. > > Signed-off-by: Ming Huang > --- > ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [edk2-devel] [edk2-platforms][PATCH 00/15] Changes to compliant with BZ:#3665

2021-10-12 Thread Leif Lindholm
No issues with these, as long as they're merged (very shortly) after the edk2 set. Although please fix the typo in all of the commit messages complaint -> compliant (But please don't send a v4 just for that.) For the ones where you need it: Acked-by: Leif Lindholm On Mon, Oct 0

Re: [edk2-devel] [PATCH edk2-platforms 1/1] Silicon/Qemu: don't advertise GICC legacy mmio interface in SbsaQamu MADT

2021-10-12 Thread Leif Lindholm
On Fri, Oct 08, 2021 at 16:18:44 +0200, Ard Biesheuvel wrote: > On Fri, 8 Oct 2021 at 12:34, Leif Lindholm wrote: > > > > The MADT GICC structure contains the field PhysicalBaseAddress, which > > is needed for a GICv1/v2 implementation, or to indicate legacy > > c

Re: [edk2-devel] [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Leif Lindholm
; innovate and write their own code to run in these services as > they wish. > > > Thanks, > --Samer > > > > From: Leif Lindholm > Sent: Monday, October 11, 2021 8:28 AM > To: Ard Biesheuvel ; Samer El-Haj-Mahmoud > > Cc: Ard Biesheuve

Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Leif Lindholm
+Samer On Fri, Oct 8, 2021 at 3:51 PM Ard Biesheuvel wrote: > > > So either we severely constrain the kind of code that we permit to run > > > on other cores, or we enable the MMU and caches on each core as it > > > comes out of reset, as well as do any other CPU specific > > > initialization th

[edk2-devel] [PATCH edk2-platforms 1/1] Silicon/Qemu: don't advertise GICC legacy mmio interface in SbsaQamu MADT

2021-10-08 Thread Leif Lindholm
the field to 0. Signed-off-by: Leif Lindholm Cc: Ard Biesheuvel Cc: Graeme Gregory Cc: Radoslaw Biernacki --- Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe

Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-07 Thread Leif Lindholm
On Thu, Oct 07, 2021 at 12:03:30 +0200, Ard Biesheuvel wrote: > On Thu, 7 Oct 2021 at 11:41, Leif Lindholm wrote: > > > > Ard/Sami - any comments? > > > > The code changes by itself look fine to me. The only problem I see is > that we cannot run arbitrary code o

Re: [edk2-devel] Progress on getting Uncrustify working for EDK2?

2021-10-07 Thread Leif Lindholm
Hi Michael, Apologies, I've owed you a response (promised off-list) for a while now. First, let me say I hugely appreciate this effort. Apart from aligning the codebase(s), this will reduce manual reviewing effort substantially, as well as cutting down on number of rework cycles for developers.

Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-07 Thread Leif Lindholm
Ard/Sami - any comments? / Leif On Tue, Sep 28, 2021 at 12:14:35 +0100, Leif Lindholm wrote: > On Fri, Sep 24, 2021 at 20:17:50 -0600, Rebecca Cran wrote: > > I'd like to propose adding EFI_MP_SERVICES_PROTOCOL support for > > AARCH64 systems. I've attached two pat

Re: [edk2-devel] [PATCH v3 12/28] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-10-07 Thread Leif Lindholm
On Wed, Oct 06, 2021 at 19:55:53 +0700, Nhi Pham wrote: > > Would it be possible for PHYLib to link in ArmArchTimerLib directly > > and wrap this there instead? Something about this integration just > > feels kind of backwards to me. > > Thanks Leif. That's great idea. > > I will wrap it and re-s

Re: [edk2-devel] [PATCH v3 12/28] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-10-05 Thread Leif Lindholm
On Mon, Oct 04, 2021 at 19:03:40 +0700, Nhi Pham wrote: > Hi Leif, > > There are two comments that I would like to clarify with you. > > On 23/09/2021 20:49, Leif Lindholm wrote: > > > +VOID > > > +Ac01PcieMmioWr ( > >

Re: [edk2-devel] [edk2-platforms PATCH v2 0/6] Some BeagleBoardPkg fixes

2021-09-30 Thread Leif Lindholm
v2: > > Added patch to increase Fv size to 768KB, which allows the NOOPT build > to succeed. > > Added patch to add Readme.rst which explains the ROM loader limitations > and provides links to the SRM, TRM etc. For the two new patches: Reviewed-by: Leif Lindholm I dropped a tra

Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-09-28 Thread Leif Lindholm
On Fri, Sep 24, 2021 at 20:17:50 -0600, Rebecca Cran wrote: > I'd like to propose adding EFI_MP_SERVICES_PROTOCOL support for > AARCH64 systems. I've attached two patches to implement support for it > in the DXE phase, based on code in EmulatorPkg and UefiCpuPkg. It's added > under ArmPkg for now,

Re: 回复: [edk2-devel] [PATCH v3 0/2] BaseTools: Switch to downloading the ARM and AARCH64 compilers from Arm's site

2021-09-28 Thread Leif Lindholm
Could one of the BaseTools maintainers merge this set? On Fri, Sep 24, 2021 at 08:44:42 +0800, gaoliming wrote: > Leif: > I gave my Acked-by for this patch set V2. I think it can be merged now. > > Thanks > Liming > > -邮件原件- > > 发件人: devel@edk2.groups.io

Re: [edk2-devel] [PATCH v3 12/28] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-09-28 Thread Leif Lindholm
Apart from the request to break out Ac01PcieConfigRW and Ac01PcieCfgIn/Out# I noticed a further thing. On Wed, Sep 15, 2021 at 22:55:11 +0700, Nhi Pham wrote: > +/** > + Get RootBridge disable status. > + > + @param[in] HBIndex Index to identify of PCIE Host bridge. > + @param[in

Re: [edk2-devel] [PATCH v3 15/28] Ampere: PCIe: Add PciSegmentLib library instance

2021-09-28 Thread Leif Lindholm
pports upto 16 PCIe Root Complexs, the > > target Root Complex will depend on the segment number parsed from the > > input address. > > > > Cc: Thang Nguyen > > Cc: Chuong Tran > > Cc: Phong Vo > > Cc: Leif Lindholm > > Cc: Michael D Kinney

Re: [edk2-devel] [PATCH v3 18/28] Ampere: PCIe: Add PciPlatformDxe driver

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:17 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Registers the Platform NotifyPhase() to prevent unexpected issues > caused by the enabled PCIe controllers which have unstable link. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo &

Re: [edk2-devel] [PATCH v3 28/28] AmpereAltraPkg: Add configuration screen for Pcie Devices

2021-09-24 Thread Leif Lindholm
> Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Vu Nguyen Reviewed-by: Leif Lindholm > --- > Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dec

Re: [edk2-devel] [PATCH v3 27/28] AmpereAltraPkg: Add configuration screen for Watchdog timer

2021-09-24 Thread Leif Lindholm
r expires. > So, this patch adds the configuration screen for the watchdog timer > which provides options to configure the timeout of these timers. > > By default, the values of these options are 5 minutes. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: L

Re: [edk2-devel] [PATCH v3 26/28] AmpereAltraPkg: Add configuration screen for RAS

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:25 +0700, Nhi Pham wrote: > From: Quan Nguyen > > This supports user to enable/disable RAS APEI components running in the > system firmware such as HEST, BERT, and EINJ. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Lei

Re: [edk2-devel] [PATCH v3 25/28] AmpereAltraPkg: Add configuration screen for ACPI

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:24 +0700, Nhi Pham wrote: > This supports: > * Enable/Disable APEI Support > * Enable/Disable CPPC Support > * Enable/Disable LPI support > * Enable/Disable Max Performance Mode > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo

Re: [edk2-devel] [PATCH v3 24/28] AmpereAltraPkg: Add configuration screen for CPU

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:23 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This screen is to add configuration regarding CPU. Currently, this > screen just adds a option for SubNUMA mode selection. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Lei

Re: [edk2-devel] [PATCH v3 23/28] AmpereAltraPkg: Add configuration screen for memory

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:22 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide memory screen with below info: > * Memory total capacity > * Memory RAS and Performance Configuration > * Per DIMM Information > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong

Re: [edk2-devel] [PATCH v3 21/28] AmpereAltraPkg: Add DebugInfoPei module

2021-09-24 Thread Leif Lindholm
On Wed, Sep 15, 2021 at 22:55:20 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Helps to show various system information like CPU info and Board Setting > values to UART console during boot process. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Lei

Re: [edk2-devel] [PATCH v3 13/28] JadePkg: Add BoardPcieLib library instance

2021-09-24 Thread Leif Lindholm
a default value in the BoardSetting. > * Parsing the BoardSetting and coordinate with saved setting to enable > corresponding PCIe controller of each Root Complex. > * Config speed and lane of enabled controller. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: L

Re: [edk2-devel] [PATCH v3 0/4] AndroidBootImgLib improvements

2021-09-23 Thread Leif Lindholm
ication that has the guid in our inf so missed this. > > From my looking at it AndroidFastBootApp doesn't seem to use this lib. (That ought to have been obvious even to me, oh well, thanks :) / Leif > > -Original Message- > > From: Leif Lindholm > > S

Re: [edk2-devel] [PATCH v3 0/2] BaseTools: Switch to downloading the ARM and AARCH64 compilers from Arm's site

2021-09-23 Thread Leif Lindholm
Hi Rebecca, I think I already gave v2 an Acked-by, but just in case: Acked-by: Leif Lindholm Bob, Liming, Yuwei - any comments? / Leif Thu, Sep 23, 2021 at 10:09:55 -0600, Rebecca Cran wrote: > BaseTools/Bin/gcc_[arm,aarch64]_linux_ext_dep.yaml downloads GCC releases > from

Re: [edk2-devel] [PATCH 1/1] Qemu: SbsaQemu: Set the DSDT revision value to 2 to use 64-bit math

2021-09-23 Thread Leif Lindholm
On Thu, Sep 23, 2021 at 06:54:24 -0600, Rebecca Cran wrote: > On 9/23/21 4:30 AM, Leif Lindholm wrote: > > Not just an improvement, but an actual bugfix. > > > > I would propose a subject line change though: > > Qemu: SbsaQemu: Set the DSDT revision va

Re: [edk2-devel] [PATCH v3 01/28] Ampere: Initial support for Ampere Altra processor and Mt. Jade platform

2021-09-23 Thread Leif Lindholm
Hi Nhi, Following up with the comment I also made for 12/28: On Wed, Sep 15, 2021 at 22:55:00 +0700, Nhi Pham wrote: > diff --git a/Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h > b/Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h > new file mode 100644 > index ..66286bf

Re: [edk2-devel] [PATCH v3 12/28] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-09-23 Thread Leif Lindholm
at 22:55:11 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides essential functions to initialize the PCIe Root Complex of > Ampere Altra processor. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > C

Re: [edk2-devel] [PATCH v3 09/28] AmpereAltraPkg: Support UEFI non-volatile variable

2021-09-23 Thread Leif Lindholm
Is to access flash through MM service. > * FlashPei driver helps to restore the saved variables from > flash on each boot. > * FlashFvbDxe driver provides the implementation for the > gEfiFirmwareVolumeBlock protocol > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo &

Re: [edk2-devel] [PATCH v3 0/4] AndroidBootImgLib improvements

2021-09-23 Thread Leif Lindholm
if On Tue, Sep 21, 2021 at 16:32:58 +, Jeff Brasen wrote: > Jun/Others, > > Any additional comments on this patch series? > > > Thanks, > > Jeff > > > From: Jeff Brasen > Sent: Tuesday, September 14, 2021 10:57

Re: [edk2-devel] [PATCH 1/1] Qemu: SbsaQemu: Set the DSDT revision value to 2 to use 64-bit math

2021-09-23 Thread Leif Lindholm
Not just an improvement, but an actual bugfix. I would propose a subject line change though: Qemu: SbsaQemu: Set the DSDT revision value to 2 to use 64-bit math -> Platform/Qemu: fix SbsaQemu DSDT format version If you're OK with the change, I can fold that in. Reviewed-by: Leif Lindho

Re: [edk2-devel] [edk2-platforms PATCH 0/4] Marvell readmes

2021-09-23 Thread Leif Lindholm
Hi Marcin, On Wed, Sep 22, 2021 at 14:46:10 +0200, Marcin Wojtas wrote: > > Marcin, when you find the time, could you please do a pass over these > > files with Leif's critique in mind? > > > For all 3 platforms, how about the following update: > - extend the "Summary" section with supported fea

Re: [edk2-devel] [PATCH] ArmPkg/ArmMmuLib AARCH64: avoid EL0 accessible mappings

2021-09-22 Thread Leif Lindholm
abled at entry or whether the firmware should put all UNKNOWN bits in > all system registers in a consistent state (which it should), using EL0 > permissions serves no purpose whatsoever so let's fix that regardless. > > Signed-off-by: Ard Biesheuvel Acked-by: Leif Lindhol

Re: [edk2-devel] [edk2-platforms PATCH 0/4] Marvell readmes

2021-09-22 Thread Leif Lindholm
On Wed, Sep 22, 2021 at 14:20:31 +0200, Ard Biesheuvel wrote: > On Wed, 22 Sept 2021 at 14:14, Leif Lindholm wrote: > > > > On Wed, Sep 22, 2021 at 13:24:07 +0200, Ard Biesheuvel wrote: > > > On Tue, 21 Sept 2021 at 13:02, Marcin Wojtas wrote: > > > > &g

Re: [edk2-devel] [edk2-platforms PATCH 0/4] Marvell readmes

2021-09-22 Thread Leif Lindholm
On Wed, Sep 22, 2021 at 13:24:07 +0200, Ard Biesheuvel wrote: > On Tue, 21 Sept 2021 at 13:02, Marcin Wojtas wrote: > > > > Hi, > > > > This short patchset adds README files for the platforms > > based on Marvell SoC's, which have already been > > SystemReady ES certified. It also bumps the firmwa

Re: [edk2-devel] [PATCH 1/1] ArmPkg/ProcessorSubClassDxe: Fix the format of ProcessorId

2021-09-16 Thread Leif Lindholm
pported, the first DWORD is the JEP-106 code and > > the second DWORD is the SoC revision value. But in the current > > implementation, they are set in reverse. This patch is to correct it. > > > > Cc: Leif Lindholm > > Cc: Ard Biesheuvel > > Cc: Rebecca Cran &g

Re: [edk2-devel] [PATCH v3 04/28] AmperePlatformPkg: Add FailSafe and WDT support

2021-09-16 Thread Leif Lindholm
> Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham Reviewed-by: Leif Lindholm -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply

Re: [edk2-devel] [PATCH v3 01/28] Ampere: Initial support for Ampere Altra processor and Mt. Jade platform

2021-09-16 Thread Leif Lindholm
On Thu, Sep 16, 2021 at 11:40:45 +0100, Leif Lindholm wrote: > On Wed, Sep 15, 2021 at 22:55:00 +0700, Nhi Pham wrote: > > From: Vu Nguyen > > > > This commit adds the support for Ampere’s Altra processor-based Mt. Jade > > platform that provides up to 160 proce

Re: [edk2-devel] [PATCH v3 01/28] Ampere: Initial support for Ampere Altra processor and Mt. Jade platform

2021-09-16 Thread Leif Lindholm
to boot system > to EDK2 UiApp. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Vu Nguyen Reviewed-by: Leif Lindholm -=-=-=-=-=-=-=-=-=-=-=- Groups

Re: [edk2-devel] [PATCH v3 00/28] Add new Ampere Mt. Jade platform

2021-09-16 Thread Leif Lindholm
guyen > Cc: Nhi Pham > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel > Cc: Nate DeSimone > > Signed-off-by: Nhi Pham > > Changes since v2: > + Addressed all Leif's feedback.

Re: [edk2-devel] [PATCH v3 0/4] AndroidBootImgLib improvements

2021-09-14 Thread Leif Lindholm
ally interacted with Android. ^ | shameless plug for more EmbeddedPkg reviewer volunteers.) I've added Jun Nie, who wrote the original version of this code, to see if he has any comments. 1-2/4 are obviously unproblematic, and I could merge those ahead of time if preferred. You can add Review

Re: [edk2-devel] [edk2-platforms PATCH 1/4] BeagleBoardPkg: Remove the configuration and image headers from flash

2021-09-14 Thread Leif Lindholm
Ard, I think you were the one who converted the old crazy header stuff to what we have now. Do you remember how this all fits together? For the *other* 3 patches, but not this one: Reviewed-by: Leif Lindholm On Fri, Sep 10, 2021 at 20:57:11 -0600, Rebecca Cran wrote: > Remove the configurat

Re: [edk2-devel] [PATCH] Platform/Qemu/Sbsa: Update TF-A binaries with QEMU "max" cpu support

2021-09-14 Thread Leif Lindholm
On Tue, Sep 14, 2021 at 13:45:34 +0100, Leif Lindholm wrote: > On Tue, Sep 14, 2021 at 14:18:06 +0200, Marcin Juszkiewicz wrote: > > W dniu 14.09.2021 o 14:07, Leif Lindholm pisze: > > > Hi Marcin, > > > > > > Thanks! > > > > > > Reviewe

Re: [edk2-devel] [PATCH] Platform/Qemu/Sbsa: Update TF-A binaries with QEMU "max" cpu support

2021-09-14 Thread Leif Lindholm
On Tue, Sep 14, 2021 at 14:18:06 +0200, Marcin Juszkiewicz wrote: > W dniu 14.09.2021 o 14:07, Leif Lindholm pisze: > > Hi Marcin, > > > > Thanks! > > > > Reviewed-by: Leif Lindholm > > > > But could you give me access to this patch on a public b

Re: [edk2-devel] [PATCH] Platform/Qemu/Sbsa: Update TF-A binaries with QEMU "max" cpu support

2021-09-14 Thread Leif Lindholm
Hi Marcin, Thanks! Reviewed-by: Leif Lindholm But could you give me access to this patch on a public branch somewhere, where I can pick it down from? / Leif On Mon, Sep 13, 2021 at 14:01:27 +0200, Marcin Juszkiewicz wrote: > Update the TF-A binaries with support for QEMU "

Re: [edk2-devel] [PATCH v6 04/10] Silicon/Phytium: Added PciSegmentLib to FT2000/4

2021-09-14 Thread Leif Lindholm
On Tue, Sep 14, 2021 at 15:56:01 +0800, 贾玲 wrote: > Hi Leif, > > Thank you for your reply! > > I think your suggestion is very good. There is no dependency between > patches 8 / 10 and 7 / 10. Building with 8/10 but without 7/10 fails with edk2-platforms/Silicon/Phytium/PhytiumCommonPkg/Drivers/

Re: [edk2-devel] [PATCH v6 04/10] Silicon/Phytium: Added PciSegmentLib to FT2000/4

2021-09-13 Thread Leif Lindholm
Library for Phytium platform. > with multiple RCs. > > Signed-off-by: Ling Jia > Reviewed-by: Leif Lindholm > --- > Platform/Phytium/DurianPkg/DurianPkg.dsc|9 +- > Silicon/Phytium/FT2000-4Pkg/Library/PciSegmentLib/PciSegmentLib.inf | 28 + &g

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Leif Lindholm
On Fri, Sep 10, 2021 at 00:08:12 +, Chang, Abner (HPS SW/FW Technologist) wrote: > > Move it to OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMMIO.{c,inf} ? > The naming sounds good to me. > > Another question, > Can CI build the package with dependency of edk2-platform? Currently > RiscVPkg in u

Re: [edk2-devel] [PATCH v5 00/10] Added support for FT2000/4 chip

2021-09-09 Thread Leif Lindholm
Hi Ling, This set *still* does not contain the changes I included in my replies to v3 and v4 that let it build against current edk2 master. Please include those changes, verify the platform builds against current edk2 master, and resubmit a v6. Best Regards, Leif On Thu, Sep 09, 2021 at 17:47:

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 15:33:34 +, Abner Chang wrote: > > > I prefer to have RISC-V instance because I > > > am not sure if any fw_cfg interface changes would be made on RISC-V > > > QEMU. > > > > The fw_cfg interface should not diverge. ia32/x64 works a bit different > > because there is a

Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 13:46:43 +0200, Gerd Hoffmann wrote: > On Wed, Sep 08, 2021 at 12:13:12PM +0100, Leif Lindholm wrote: > > On Sun, Aug 29, 2021 at 23:14:48 -0600, Rebecca Cran wrote: > > > Linaro no longer do gcc releases - Arm creates them now. > > > > &

Re: [edk2-devel] [PATCH v3 11/19] OvmfPkg/Microvm: PlatformPei/MemDetect tweaks

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 13:33:51 +0200, Gerd Hoffmann wrote: > On Wed, Sep 08, 2021 at 12:06:46PM +0100, Leif Lindholm wrote: > > On Wed, Sep 08, 2021 at 11:01:11 +0200, Gerd Hoffmann wrote: > > > Skip host bridge setup on microvm. > > > > > > Ref: https://bu

Re: [edk2-devel] [PATCH v2 0/2] BaseTools: Switch to downloading the ARM/AARCH64 compiler from Arm's site

2021-09-08 Thread Leif Lindholm
gt; from Arm and fix LinuxGcc5ToolChain.py with the new gcc prefix. > I don't know if anyone uses these files/tools to download toolchains for downstream platforms. If they do, the upgrade from gcc7 to gcc10 may break their builds. But we're just after stable tag, so I have no problem wi

Re: [edk2-devel] [PATCH v3 19/19] OvmfPkg/Microvm: add Maintainers.txt entry

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 11:01:19 +0200, Gerd Hoffmann wrote: > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599 > Signed-off-by: Gerd Hoffmann > Reviewed-by: Jiewen Yao Reviewed-by: Leif Lindholm > --- > Maintainers.txt | 6 ++ > 1 file changed, 6 insertions(+)

Re: [edk2-devel] [PATCH v3 11/19] OvmfPkg/Microvm: PlatformPei/MemDetect tweaks

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 11:01:11 +0200, Gerd Hoffmann wrote: > Skip host bridge setup on microvm. > > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599 > Signed-off-by: Gerd Hoffmann > Acked-by: Jiewen Yao > --- > OvmfPkg/PlatformPei/MemDetect.c | 4 > 1 file changed, 4 insertions(+

Re: [edk2-devel] [PATCH v2 1/1] EmbeddedPkg/AcpiLib: Add more helper functions

2021-09-07 Thread Leif Lindholm
Hi Nhi, On Fri, Sep 03, 2021 at 22:44:23 +0700, Nhi Pham wrote: > This adds more helper functions that assist in calculating the checksum, > locating an ACPI table by signature, and updating an AML integer object. > > Cc: Leif Lindholm > Cc: Ard Biesheuvel > Cc: Abner C

Re: [edk2-devel] [PATCH v2 2/2] EmbeddedPkg: Add LoadFile2 for linux initrd

2021-09-07 Thread Leif Lindholm
Minor style comments below. On Wed, Sep 01, 2021 at 20:28:27 +, Jeff Brasen wrote: > Add support under a pcd feature for using the new interface to pass > initrd to the linux kernel. > > Signed-off-by: Jeff Brasen > --- > EmbeddedPkg/EmbeddedPkg.dec | 1 + > .../AndroidB

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-07 Thread Leif Lindholm
@edk2.groups.io>> 代表 Abner Chang > 发送时间: 2021年9月5日 11:15 > 收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> > 抄送: Ard Biesheuvel mailto:ard.biesheu...@arm.com>>; > Michael D Kinney > mailto:michael.d.kin...@intel.com>>; Leif > Lindholm mailto:l...@nuv

Re: [edk2-devel] [PATCH v3 00/10] Added support for FT2000/4 chip

2021-09-07 Thread Leif Lindholm
Hi Ling, Apologies for the delay. To simplify things, I will respond to v4 in this thread, since there are still a few things remaining from what I asked for v3. Most of what I asked for has been addressed, but: On Thu, May 27, 2021 at 1:43 PM Leif Lindholm wrote: > First of all, some proc

Re: [edk2-devel] [edk2-platforms PATCH v2 1/1] Maintainers.txt: Add maintainer of Ext4Pkg

2021-08-26 Thread Leif Lindholm
On Thu, Aug 26, 2021 at 00:08:50 +0100, Pedro Falcato wrote: > Add myself as a maintainter for Features/Ext4Pkg. > > Cc: Leif Lindholm > Cc: Michael D Kinney > Signed-off-by: Pedro Falcato > --- > Maintainers.txt | 4 > 1 file changed, 4 insertions(+) > >

Re: [edk2-devel] [PATCH] ArmPkg/GicV3Dxe: Don't signal EOI on arbitrary interrupts

2021-08-25 Thread Leif Lindholm
so let's just drop this > code. This fixes an issue reported by Marc where an SError is triggered > by this code, bringing down the system. > > Reported-by: Marc Zyngier > Signed-off-by: Ard Biesheuvel Yikes. Pretty sure that wasn't the right thing to do on gicv2 either

Re: [edk2-devel] [PATCH v4 00/10] Added support for FT2000/4 chip

2021-08-24 Thread Leif Lindholm
Hi Ling, Many thanks for this. I have accrued a huge review backlog, but I hope to be able to have a look at this set before the end of this week. Best Regards, Leif On Wed, Aug 18, 2021 at 17:40:14 +0800, Ling Jia wrote: > This series added packages to support FT2000/4 chip. > Platform/Phytium

Re: [edk2-devel] [PATCH] Maintainers.txt: Add new maintainer and reviewer to EmbeddedPkg/

2021-08-04 Thread Leif Lindholm
+Ard On Wed, Aug 04, 2021 at 22:47:24 +0800, Abner Chang wrote: > Add Abner Chang as the maintainer of EmbeddedPkg/ > Add Daniel Schaefer as the reviewer of EmbeddedPkg/ > > Signed-off-by: Abner Chang > Cc: Daniel Schaefer > Cc: Andrew Fish > Cc: Leif Lindholm &

Re: [edk2-devel] [PATCH v1 1/1] EmbeddedPkg/libfdt: Add strmp and strncpy to libfdt_env.h

2021-08-04 Thread Leif Lindholm
Gah, sorry. The original patch landed while I was distracted, and this reminder while I was on holiday. Apart from the typo in the subject line, I guess I'm OK with this. Acked-by: Leif Lindholm However, I have a feeling RISC-V will be updating EmbeddedPkg as frequently as ARM in the

Re: [edk2-devel] [PATCH edk2-Platform v1 1/1] Hisilicon:Fix header file issues

2021-08-04 Thread Leif Lindholm
, ArmPkg/Universal/Smbios/, and ended up keeping that header name. Sorry about that. However, moving around packages to make one identically named file be picked over another is not the right solution. Could you possibly rename your existing header? OemMiscHisi.h? Best Regards, Leif > Cc: Lei

Re: [edk2-devel] [PATCH v1 0/2] Fix duplicated GUID

2021-08-04 Thread Leif Lindholm
s://github.com/PierreARM/edk2-platforms/tree/1779_Fix_duplicated_guid_v1 > > Pierre Gondois (2): > Platform/ARM/Juno: Modify duplicated GUID in SmbiosPlatformDxe > Platform/NXP: Modify duplicated GUID in ConfigurationManagerDxe For the series: Reviewed-by: Leif Lindholm Apologies

Re: [edk2-devel] "StdLibPkg" branch on edk2-staging

2021-08-04 Thread Leif Lindholm
Hi Rebecca, I think the truth is we're a bit resigned about edk2-libc in general. My view is it should be either maintained or deprecated (or replaced). And maintainership *should* mean at least keeping it up to date with security fixes. I personally have no enthusiasm for the topic, but if ther

Re: [edk2-devel] [staging/edk2-redfish-client PATCH v2 2/2] edk2: Update Maintainers.txt

2021-08-03 Thread Leif Lindholm
On Tue, Jul 20, 2021 at 11:53:58 +0800, Abner Chang wrote: > Add maintainer and reviewer to RedfishClinetPkg. > > Signed-off-by: Abner Chang > Cc: Nickle Wang > Cc: Liming Gao > Cc: Andrew Fish > Cc: Leif Lindholm > Cc: Michael D Kinney > --- > Maintainers.t

Re: [edk2-devel] [Patch V2 3/3] Maintainers.txt: Add GitHub IDs

2021-08-03 Thread Leif Lindholm
On Thu, Jul 08, 2021 at 12:50:47 -0700, Michael D Kinney wrote: > Cc: Andrew Fish > Cc: Laszlo Ersek > Cc: Leif Lindholm > Signed-off-by: Michael D Kinney Reviewed-by: Leif Lindholm Apologies for tardiness. > --- > Mai

Re: [edk2-devel] [PATCH] Maintainers.txt: remove Laszlo Ersek's entries

2021-07-08 Thread Leif Lindholm
s to > the edk2 project (at their discretion). Many thanks for your many contributions over the years. In code, in review, in process, but for me most of all in education. Reviewed-by: Leif Lindholm > Cc: Andrew Fish > Cc: Ard Biesheuvel > Cc: Eric Dong > Cc: Jordan Justen &

Re: [edk2-devel] [PATCH v2 1/1] ArmPkg: Move cache defs used in Universal/Smbios into ArmCache.h

2021-06-18 Thread Leif Lindholm
Agh. *Actually* cc Wenyi. On Fri, Jun 18, 2021 at 16:53:38 +0100, Leif Lindholm wrote: > +Wenyi > > On Mon, Jun 14, 2021 at 12:57:49 -0600, Rebecca Cran wrote: > > Many of the cache definitions in ArmLibPrivate.h are being used outside > > of ArmLib, in Universal/S

Re: [edk2-devel] [PATCH v2 1/1] ArmPkg: Move cache defs used in Universal/Smbios into ArmCache.h

2021-06-18 Thread Leif Lindholm
t; Universal/Smbios. > > Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Pushed as a63914d3f603. Thanks! I will note that this change breaks Silicon/Hisilicon/Hi1616 and Silicon/Hisilicon/Hi1620, which use some of the macros moved by this patch. However, I am unable to build these anywa

Re: [edk2-devel] [edk2-platforms PATCH 0/4] ACPI MDIO support for Marvell SoCs

2021-06-14 Thread Leif Lindholm
Hi Marcin, On Sun, Jun 13, 2021 at 20:16:27 +0200, Marcin Wojtas wrote: > Hi, > > The MDIO ACPI binding has been established and merged to the > Linux tree, Congratulations! :) Is FreeBSD expected to follow suit? > hence it is now possible to update the ACPI > description of the platforms that

Re: [edk2-devel] [PATCH V1 4/4] Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator

2021-06-14 Thread Leif Lindholm
> + > + > +#ifndef LS1046AFRWY_PLATFORM_ACPI_LIB_H > +#define LS1046AFRWY_PLATFORM_ACPI_LIB_H > + > +#include > + > +/** C array containing the compiled AML template. > +These symbols are defined in the auto generated C file > +containing the AML bytecode ar

Re: [edk2-devel] [PATCH V1 3/4] Platform/NXP/LS1046aFrwyPkg: Extend Dynamic ACPI support

2021-06-14 Thread Leif Lindholm
On Fri, Jun 11, 2021 at 21:21:59 +0530, Vikas Singh wrote: > This patch set extends Configuration Manager (CM) and > its services to leverage the Dynamic ACPI support for > NXP's LS1046aFrwy platform. This patch does not touch ConfigurationManager. Please describe what this patch does. My guess i

Re: [edk2-devel] [PATCH V1 2/4] Silicon/NXP: Add support of SVR handling for LS1046FRWY

2021-06-14 Thread Leif Lindholm
On Fri, Jun 11, 2021 at 21:21:58 +0530, Vikas Singh wrote: > This change set intend to add a generic method to get Does it intend to add, or does it add? / Leif > access to SoC's Silicon Version Register (SVR) and its > handling for LS1046aFrwy platform. > > Signed-off-by: Vikas Singh > --

Re: [edk2-devel] [PATCH V1 1/4] Platform/NXP: Add generic log in CM to print SoC version

2021-06-14 Thread Leif Lindholm
On Fri, Jun 11, 2021 at 21:21:57 +0530, Vikas Singh wrote: > Summary - > 1.Configuration Manager(CM) is a common implementation > and should not evaluate the SoC version using macro's > However CM must directly consume SoC ver string from > platfrom who is extending CM services for ACPI table

Re: [edk2-devel] GSOC 2021 EXT4 driver Project

2021-06-10 Thread Leif Lindholm
edk2-platforms/Features/Ext4Pkg sounds good to me too. / Leif On Thu, Jun 10, 2021 at 17:38:17 +, Michael D Kinney wrote: > Hi Pedro, > > After thinking about this, I think I would prefer Option (4). > > The proposed landing zone would be a new Ext4Pkg in the edk2-platforms > repositor

Re: [edk2-devel] VirtIO sound device in qemu?

2021-06-09 Thread Leif Lindholm
On Wed, Jun 09, 2021 at 13:25:16 +0100, Michael Brown wrote: > On 09/06/2021 11:57, Laszlo Ersek wrote: > > I'm uneducated about the "deliverables" in GSoC, but in general I'd > > suggest narrowing down the scope as much as possible. I don't know how > > hard it is to program USB audio, but if QEMU

<    1   2   3   4   5   6   7   8   9   10   >