Age | Commit message (Collapse) | Author |
|
This reverts commit c62082bd606fb60cbe976f3d00029eb4535b4a41. With this
applied, WinPE boot fails. So until the reason for this is found out,
revert this patch.
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
|
|
This reverts commit 4f7eb51a879740683b1614856f4a5734a2522436. With this
applied, WinPE boot fails. So until the reason for this is found out,
revert this patch.
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
|
|
Use the common SsdtRos table to describe the RoS peripherals on the
platform and remove the redundant entries from the Dsdt table.
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
Change-Id: I1286c39fb5762b7ffe3ff223ee0e7c16a9c9875b
|
|
Arm's RD-N2 platform is built using 16 Neoverse N2 cores and connected
to 8GB of RAM. Add initial platform support for this platform.
Change-Id: I7fb4a04fd42bc7e6b34fc58756728f278fdf6073
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
Add Madt and Dsdt ACPI tables that are specific for RD-N2 platform.
Reuse the rest of the shared ACPI tables in SgiPkg.
Change-Id: I9b9b4e11b005ae5fe00274d5b35ece25f921e966
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
The upcoming derivative platforms to be supported under SgiPkg have
changes in the base address for some of the components. Define PCDs
for those base address in a different includeable platform
description file so that it can be included in platforms that have
and updated memory map.
Change-Id: Ia82036558dc7610cddf1aa40182234ecf69eb438
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
Virtio network is supported for all the platforms in SgiPkg and so
remove the use of SMSC Lan91x controller from all the platforms.
Change-Id: I8f17f02caac4d3c69c484102d97f0e3f2edde038
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
Certain base addresses have been specified using macros. But the
upcoming derivative platforms that are to be supported under the
SgiPkg have changes in some of those base addresses and so these
macros are not applicable on those upcoming platforms.
So convert the affected macros into PCDs and let the platform
description file choose the appropriate set of PCDs that is
applicable for the platform. In addition to this, use the PCDs
to replace existing uses of the macros that have been converted
into PCDs.
Change-Id: I8ffdb72bababdf990a9adf0c161cf739d64936b0
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
Enabling ATS mode will also enable PRI support.
Change-Id: I8f34e6225c11ad39ab2bd64d4bd6d3e97d1d88d3
Signed-off-by: Vivek Gautam <vivek.gautam@arm.com>
|
|
Add the generic SMMUv3 generic type node in the iort table and setup
the rid->stream-id->device-id mapping accordingly.
Change-Id: I76b7525b873ba73457f2cd8d907c9e46a491c998
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
Signed-off-by: Vivek Gautam <vivek.gautam@arm.com>
|
|
Fix the incorrect ACPI _UID (Unique ID) object for CPU devices. In
addition to this, remove a incorrect CPU device entry from the DSDT
table.
Change-Id: I09b033e6a657d0491fd9456444cfc1c20fe327b4
Signed-off-by: Pranav Madhu <pranav.madhu@arm.com>
|
|
Ssdt ACPI table in SgiPkg describes the PCIe controller and the root
complex resources. Include this table for RD-Daniel platforms.
Change-Id: I97458c57b67db9a0264bddfb54e4a781ad173d1b
Signed-off-by: Pranav Madhu <pranav.madhu@arm.com>
|
|
Commit "e8fe2026dd7936c8c1661ec9289766f3b0c6d382" used the PcdChipCount
constant but missed adding it to the PCD sections in the inf file.
Change-Id: I4eb23b8b060585d433754d1607340e1788346765
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
|
|
Keep the HDLCD controller disabled until the keyboard/mouse inputs are
also supported by the model.
Change-Id: I8c5e1a923640139b1f9b32d157ed3740f36535e4
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
|
|
Update the build options by adding SECURE_STORAGE_ENABLE macro is secure
storage feature is enabled.
Change-Id: I1b35a5173776c919410974b30cf1d0ce92c29b5f
Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
|
|
This implements support for UEFI secure boot on SGI platforms using
the standalone MM framework. This moves all of the software handling
of the UEFI authenticated variable store into the standalone MM
context residing in a secure partition.
Change-Id: I483d06d5a4996b998f720ce91fdc2fb01c7362d9
Signed-off-by: Jagadeesh Ujja jagadeesh.ujja@arm.com
|
|
“NorFlashPlatformLib” library can be used by MM_STANDALONE drivers as
well. When used in MM mode, the third instance of the NOR flash is used as
the non-volatile storage. This NOR flash instance is partitioned into
two regions - first 4MB space is used for secure boot and next 3MB for
secure variable storage
Change-Id: I6caaff7122a551fead33ffa3d64ed4dad8368918
Signed-off-by: Jagadeesh Ujja jagadeesh.ujja@arm.com
|
|
Add the definitions of NOR2 flash controller memory map. The NO2 flash
can be used as an additional non-volatile storage by non-secure code or
used as a non-volatile storage for secure variables by the StandaloneMM.
Change-Id: I32cab2e60ca97124710d8d294f1d9ac13bf61327
Signed-off-by: Jagadeesh Ujja jagadeesh.ujja@arm.com
|
|
Include the drivers and variables needed by the Sgi platform for
communicating with StandaloneMM.
Change-Id: I5fbdfd08cb0a2a32d4da3cd21709707699b0e89d
Signed-off-by: Daniil Egranov <daniil.egranov@arm.com>
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
|
|
Fix "use of logical '&&' with constant operand" error when built with
clang.
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add myself to Maintainers.txt as a Hisilicon reviewer.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
|
|
Due to recent changes in core EDK2, the DeveloperBoxMM standalone MM
build no longer fits when built in DEBUG or NOOPT mode. So increase
the FD size a little bit - we still have some spare room available in
the FIP image.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
|
|
Add resolutions for
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
to Hisilicon platforms.
Cc: Ming Huang <huangming23@huawei.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
to DeveloperBox/DeveloperBoxMm platforms.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
These need SafeIntLib, so move that out of the ifdef restricting it to
capsule builds.
Cc: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
for u500/u540 platforms.
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Abner Chang <abner.chang@hpe.com>
|
|
Add resolutions for
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Add resolutions for
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (DXE_RUNTIME_DRIVER)
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Update .dsc.inc by adding mappings for:
- SafeIntLib
- VariablePolicyLib
- VariablePolicyHelperLib
- VariablePolicyLib (runtime)
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
When building in NOOPT mode, SynQuacer/Drivers/Fip006Dxe/NorFlashFvb.c
fails to build with -Werror=unused-but-set-variable due to the Instance
variable being set from the This pointer but never actually referenced.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
OpenSSL now requires an RngLib. Add the generic
MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
to fix build.
Cc: Ming Huang <huangming23@huawei.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Fix two instances of masking a single bit and testing another.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
OpenSSL now requires an RngLib. Since we have EFI_RNG_PROTOCOL,
add MdePkg/Library/DxeRngLib/DxeRngLib.inf to fix Overdrive build.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
The non-status reporting PcdSet functions were deprecated and have now
been removed. Update Styx code to assert on error status.
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
REF: https://github.com/pftf/RPi4/issues/103
Commit 602a7ea1ab6d changed the RPi4 PMU interrupts reported
in GICC to the PPI values recommended by SBSA specification.
This caused the PMU overflow interrupts to stop working.
The RPi documentation (Figure 7, page 111) state that the
PMU interrupts are SPI not PPI: https://www.raspberrypi.org/
documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0.pdf
Also, the BSA 1.0 spec (page 24) clarifies hat the PPI values are
recommendations, not requirements:
https://developer.arm.com/documentation/den0094/latest
Fix by reverting to the old SPI values per the RPi spec.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Pete Batard <pete@akeo.ie>
Cc: Andrei Warkentin <awarkentin@vmware.com>
Signed-off-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Build breakage after b6490426e320
Based on commit 879f483ce455
Add the VariablePolicyLib to the dsc to fix the build.
Signed-off-by: Graeme Gregory <graeme@nuviainc.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
|
|
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2777
The deprecated code under DISABLE_NEW_DEPRECATED_INTERFACES
will be removed, which will result in compilation breakage
of the Hisilicon platforms. Prevent that by switching to
S-suffixed one.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
|
|
Makes the changes because of the new added library instances: VariablePolicyLib
and VariablePolicyHelperLib
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Eric Dong <eric.dong@intel.com>
|
|
Add VariablePolicyLib and its dependency.
Testing: Pi 4 boot.
Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Fixes the build breakage introduced by b6490426e320:
MdeModulePkg: Connect VariablePolicy business logic to VariableServices
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Dynamic Tables Framework has been updated to include
support for SSDT Serial Port generator. The SSDT Serial
port generator uses AmlLib library to parse, iterate
and update AML nodes.
The addition of these libraries to the Dynamic Tables
Framework have increased the size requirement of the
Firmware Device (FD) Image.
The current FD size is not sufficient due to which the
Juno firmware builds are failing. This patch adds one
additional block to accommodate the increase in FD size.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Due to the following patch available in edk2:
0a4aa20e8d446c2f5dd54f3a0a7ec4d52f0ebdb6
BaseTools: Compile AML bytecode arrays into .obj file
a C array containing the AML bytecode is generated from
ASL files, and a .obj file containing this array is
generated.
The Configuration Manager is currently providing an extra
flag to the ASL compiler to generate a C array containing
AML bytecode. This C array is contained in a .hex file.
This .hex file is included where necessary.
This mechanism was necessary due to the impossibility
to describe dependencies between ASL files and C files.
This mechanism is not required anymore. Thus the ASL and
CfgMngr directories can me merged in one module.
This patch merge the two directories for the FVP.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Due to the following patch available in edk2:
0a4aa20e8d446c2f5dd54f3a0a7ec4d52f0ebdb6
BaseTools: Compile AML bytecode arrays into .obj file
a C array containing the AML bytecode is generated from
ASL files, and a .obj file containing this array is
generated.
The Configuration Manager is currently providing an extra
flag to the ASL compiler to generate a C array containing
AML bytecode. This C array is contained in a .hex file.
This .hex file is included where necessary.
This mechanism was necessary due to the impossibility
to describe dependencies between ASL files and C files.
This mechanism is not required anymore. Thus the ASL and
CfgMngr directories can me merged in one module.
This patch merge the two directories for the Juno.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
|
|
Commit e8fe2026dd79 (“Platform/ARM/SgiPkg: Use chip count constant on
rdn1edgex2 platformâ€) used the PcdChipCount constant but did not declare
its use in the ACPI table module. Fix this by listing it in the list of
PCDs to be looked up.
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Reviewed-by: Thomas Abraham <thomas.abraham@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
|
|
Makes the changes necessary for these library instances of
FmpDeviceLib to be compatible with new functions added recently
to FmpDeviceLib.
Two new functions were introduced in FmpDeviceLib to allow a
library instance to return a Last Attempt Status code during
check image and set image operations:
1. FmpDeviceCheckImageWithStatus ( )
2. FmpDeviceSetImageWithStatus ( )
FmpDxe (in FmpDevicePkg) will begin calling these new functions
instead of the previous functions. Therefore, this change:
1. Adds these functions to Vlv2TbltDevicePkg implementations
2. Moves the main functionality to these new functions
3. Updates the old functions to call the new functions
(for backward compatibility)
Note: As of this commit, the Vlv2TbltDevicePkg build is broken
due to:
1. A required RngLib library instance not defined by the platform
2. Other FMP libraries not being defined by the platform
(e.g. FmpDependencyLib, FmpDependencyCheckLib, etc.)
Those changes were fixed locally to test the changes in this commit
but maintainers should make the proper changes for those issues.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Cc: Zailiang Sun <zailiang.sun@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Tested-by: Michael D Kinney <Michael.d.kinney@intel.com>
|
|
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
|
|
https://bugzilla.tianocore.org/show_bug.cgi?id=2983
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Cc: Kilian Kegel <kilian_kegel@outlook.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
|