Age | Commit message (Collapse) | Author | Files | Lines |
|
When ArmFfaLibDirectMsgReq(2) is preempted, caller of these functions
should resume it works via ArmFfaLibRun() and the secure partition
will be return with FFA_DIRECT_MSG_RESP(2) with return arguments.
However, since ArmFfaLibRun() gets its return in its stack variable,
So caller of ArmFfaLibRun() doesn't get the return arguments from
secure partition.
To resolve this, add output parameter to ArmFfaLibRun() to
receive return arguments.
Continuous-integration-options: PatchCheck.ignore-multi-package
Fixes: 5d1b38dd07c4 ("ArmPkg: Add ArmFfaLib used in Dxe driver")
Reported-by: Mariam Elshakfy <Mariam.Elshakfy@arm.com>
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
|
|
RealTimeClockLib is an architectural implementation that is not
restricted to the embedded segment or any platform in particular.
So the header has been moved to MdeModulePkg.
And the package has been added to the relevant INF files.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
|
|
EFI_UNICODE_COLLATION_PROTOCOL_GUID is deprecated in the
previous commit. Hence, removing related guid definition.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
As EFI_UNICODE_COLLATION_PROTOCOL_GUID is being deprecated.
Remove the instances used in ShellPkg.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
Adding to the previous commit deprecating
EFI_UNICODE_COLLATION_PROTOCOL_GUID in MdeModulePkg.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
EFI_UNICODE_COLLATION_PROTOCOL_GUID was deprecated in favor of
a newer version EFI_UNICODE_COLLATION_PROTOCOL2_GUID which
provides improved language support and better extensibility.
It was officially removed from UEFI specifications
2.10A and 2.11 and should no longer be used in
current implementations.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
EFI_DEVICE_IO_PROTOCOL is deprecated in the previous commit.
Hence, removing related header file and guid definition.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
gEfiDeviceIoProtocolGuid identifies EFI_DEVICE_IO_PROTOCOL,
which provided low-level I/O and MMIO access for UEFI drivers.
It was removed in UEFI 2.10A and 2.11 due to overlapping
functionality with modern protocols like EFI_PCI_IO_PROTOCOL
and EFI_CPU_IO2_PROTOCOL. These newer protocols offer improved
modularity, abstraction, and safety, making EFI_DEVICE_IO_PROTOCOL
obsolete.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
Remove UNICODE_COLLATION_INTERFACE typedef
since unused and removed from UEFI 2.10A
and 2.11 specifications.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
The EFI_NVDIMM_LABEL_FLAGS_UPDATING flag is used in UEFI
to indicate that an update was in progress across multiple
Label Storage Areas (LSAs) on NVDIMM devices.
Its purpose was to help ensure atomicity in the event of
interruptions like power loss or system crashes.
It is deprecated in UEFI 2.10 and 2.11, as label index blocks
and checksums now provide better atomicity and consistency
without requiring this flag.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
EFI_NVDIMM_LABEL_FLAGS_RESERVED is a reserved bit in
the NVDIMM label flags field, intended for future use.
It was removed in UEFI 2.10A and 2.11 as it had no
defined function and was unused in implementations.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
EFI_IP4_CONFIG_PROTOCOL is deprecated in the previous commit.
Hence, removing related header file and guid definition.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
EFI_IP4_CONFIG_PROTOCOL is superseded by
EFI_IP4_CONFIG2_PROTOCOL, which provides better
support for modern network stack requirements.
It was officially removed from UEFI specifications
2.10A and 2.11 and should no longer be used in
current implementations.
Cc: Sachin Ganesh <sachinganesh@ami.com>
Signed-off-by: Gowtham M <gowthamm@ami.com>
|
|
Add PTM (001F) structure in MdePkg.
Signed-off-by: Nanjinmoorthy <nanjinmoorthyj@ami.com>
|
|
Add a support to print PTM (001F) structure.
Signed-off-by: Nanjinmoorthy <nanjinmoorthyj@ami.com>
|
|
When arrays are lager enough, LoongArch compilers(such as GCC or Clang)
will replace some libc functions to improve performace, which may cause
building failures. Enabling this library can link edk2's own libc
functions and fix this problem.
Signed-off-by: Chao Li <lichao@loongson.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
|
|
Subject Check was added to PatchCheck.py to enforce that if a package
was touched in a commit that it be referenced in the subject line.
However, this is impractical for multipackage commits with many
packages, e.g. when stack cookies were added, every package was
touched, but in a rote way, and it is not reasonable to put every
package in a subject line.
This updates PatchCheck.py to check if ignore_multi_package is set
and if so only require that package names be included in the subject
if there are fewer than 3 packages touched. Otherwise, PatchCheck will
require the message to start with `Global:` to indicate it touches
more than 3 packages.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
PatchCheck.py currently parses the CI options as the last
step it does before reporting results. This means that the
other checking logic cannot use any of the CI options that
are passed in.
This updates the order of operations to process CI options
before running other checks so that they can be used in
performing checks.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
If AP loop mode is not Halt loop, it is found that the AP in ApInitDone
state exits the loop mode immediately when WAKEUP_AP_SIGNAL is signaled
at the first step of AP wake up. When WakeUpByInitSipiSipi is enabled,
it is possible that the AP could clear StartupApSignal buffer before the
BSP sends Init-Startup IPI to the AP. In the case, it causes that the BSP
frees AP reset vector buffer even though AP wake up is in process. This
results in an exception error. To ensure AP wake up, it is expected that
the AP is in the known non-executable state before the AP wakeup signal.
The issue happens when the AP is disabled through the MP service of
gEfiMpServiceProtocolGuid->EnableDisableAP(FALSE) and enabled later
through gEfiMpServiceProtocolGuid->EnableDisableAP(TRUE). In the flow,
the AP that in MINOTOR-MWAIT-Loop or Run-Loop can respond to the
WAKEUP_AP_SIGNAL before the BSP sends the INIT-SIPI-SIPI.
Signed-off-by: Phil Noh <Phil.Noh@amd.com>
|
|
Add Server Name Indication support.
Signed-off-by: Kanagavel S <Kanagavels@ami.com>
|
|
Add Server Name Indication Support.
Signed-off-by: Kanagavel S <kanagavels@ami.com>
|
|
Add Nvme 2.1 spec update, specifically for Power Loss Signaling.
1. Update field in Identify Controller Data for Power Loss Signaling Information.
2. Add Power Loss Signaling Mode defination.
3. Add Power Loss Signaling feature identifer defination.
Signed-off-by: Hunter Chang <hunter.chang@intel.com>
|
|
- Remove IPF since it's no longer supported in edk2.
- Rename AArch64 to AARCH64 for greater accuracy.
- Add newly supported RISCV64 and LOONGARCH64.
Cc: Chao Li <lichao@loongson.cn>
Signed-off-by: Gao Qihang <gaoqihang@loongson.cn>
|
|
Since the variable mLanguageString is not used at all, remove it
to make code clean.
Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
|
|
Fix typo in FFA_ENDPOINT_MEMORY_ACCESS_DESCRIPTOR member and comments.
Signed-off-by: Vishal Oliyil Kunnil <vishalo@qti.qualcomm.com>
|
|
Added the MRDIMM (0x08) entry to the MemoryDeviceMemoryTechnologyTable
in QueryTable.c. This enables proper display and decoding of MRDIMM memory
technology in SMBIOS Type 17 structures.
Signed-off-by: Ning Feng <ning.feng@intel.com>
|
|
Added the MRDIMM (0x08) entry to the MemoryDeviceMemoryTechnologyTable
in Smbios.h. This enables proper display and decoding of MRDIMM memory
technology in SMBIOS Type 17 structures.
Signed-off-by: Ning Feng <ning.feng@intel.com>
|
|
Generate random number using risc-v CPU RNG instructions only,
as for the other architectures. This is safer than using Mersenne
Twister from a seed, which is the current implementation, as the
latter is known to be cryptographically unsafe (e.g. see
https://www.schutzwerk.com/en/blog/attacking-a-rng/)
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
|
|
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
|
|
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
|
|
Commit 9224a2b91764ab17b2c1dbc9fdcb012eaed62da6
adds support for larger terminal dimensions; however, the ANSI control
sequences to manipulate the terminal cursor are not built to accomodate
terminal dimensions that are three digits long.
For example, suppose we want to move the cursor 163 columns to the
right. The required control sequence would be `^[[163C`; however, the
existing code will create a control sequence of `^[[@3C` due to trying
to add 16 to the character '0' instead of either 1 or 6.
This fix adds a third digit to the sequence templates for moving the
cursor forward, moving it backwards, and setting the cursor position.
Signed-off-by: Jack Little <jack.tay.little@hpe.com>
|
|
Adds more detail to the function description so the dependencies
and outcomes of the verification process are easier for a reviewer
and consumer to understand.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
|
|
Add TRANSFER_EVENT_LOG information according to firmware hand-off spec[0].
and related helper.
Links: https://github.com/FirmwareHandoff/firmware_handoff/blob/main/source/transfer_list.rst#tpm-event-log-table-entry-layout-xferlist_evlog
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
|
|
Add helper to get TrnasferList from HOB list.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
|
|
Add SecureBootDefaultKeysInit DXE driver to enroll default keys stored in
FV, as EFI Shell is disabled when Secure Boot is enabled, preventing
use of the EnrollDefaultKeys UEFI application.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
Increase the variable store size to support secure boot, ensuring
sufficient space for keys stored in authorized variables.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
Correct missing TPM PEI/DXE library instances/modules.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
Add support for detecting TPM device and installing
gOvmfTpmDiscoveredPpiGuid when a TPM is present.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
Enable TPM device detection on RISC-V using gOvmfTpmDiscoveredPpiGuid.
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
In early boot phases (SEC/PEI), CpuTimerLib may be used before
GetPerformanceCounterProperties() is called, leaving mTimeBase
uninitialized. This can result in divide-by-zero errors or incorrect
timeouts.
To fix this, check if mTimeBase is set before using it and initialize it
via GetPerformanceCounterProperties() if necessary.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
|
|
Modify DebugLib so that it can write to the memory debug log, provided
by MemDebugLogLib, when enabled.
Enable MemDebugLog upport on the ArmVirtQemu platform.
Note that memory logging is not available before the memory allocator
has been initialized (SEC and the early PEI phase).
In X64, early logging (SEC, PEI) is achieved using a pre-allocated
static buffer; this cannot be easily reproduced on AARCH64.
Such support can be introduced in the future.
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
|
|
There is no good reason to keep QemuFwCfgSimpleParserLib arch-specific.
Move it to the LibraryClasses section.
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
|
|
In AARCH64, the PEI phase runs from the flash memory, therefore global
variables are not allowed.
Remove this optimization so that this library can be used for this
architecture.
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
|
|
Search en-US HII value string if x-uefi-redfish language of the
value string is not found. Because not all of the HII
value strings have the x-uefi-redfish language string define,
such as "Enabled" or "Disabled".
Signed-off-by: Abner Chang <abner.chang@amd.com>
|
|
When REDFISH_PLATFORM_CONFIG_ALLOW_SUPPRESSED is set in
PcdRedfishPlatformConfigFeatureProperty, HII suppressed
options should be exposed to Redfish BIOS resource.
Signed-off-by: Abner Chang <abner.chang@amd.com>
|
|
Fixing a licensing typo in UefiPayloadEntry/RiscV64/DxeLoadFuncFit.c
Signed-off-by: Akshay Behl <cap2k4@rivosinc.com>
|
|
Bumps pylibfdt from 1.7.2 to 1.7.2.post1.
---
updated-dependencies:
- dependency-name: pylibfdt
dependency-version: 1.7.2.post1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Signed-off-by: Akshay Behl <cap2k4@rivosinc.com>
Co-authored-by: Dhaval Sharma <dhaval@rivosinc.com>
|
|
Removed legacy macros and string helper APIs that are no longer used
in the BaseFdtLib implementation. Specifically:
- Dropped strcmp macro that incorrectly expected 3 arguments but
ignored the third parameter.
- Cleaned up other unused macros and redundant string APIs.
These changes align with the current upstream libfdt module and
reduce dead code.
Signed-off-by: Thamballi Sreelalitha <sreelali@qti.qualcomm.com>
|
|
1. Tool supportUPL requires libfdt support
2. pefile will be needed when building FIT UPL
(for adding relocation data to FIT header).
Signed-off-by: Akshay Behl <cap2k4@rivosinc.com>
|