| Age | Commit message (Collapse) | Author | Files | Lines |
|
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
In LoongArch, the last ABS reloaction is located in the exception
vector. Use four placeholder instructions and patch the addresses in
these four instructions after copying vector code.
It have no ABS relocation since this patch, which is good for other
compilers(such as clang).
Signed-off-by: Chao Li <lichao@loongson.cn>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Dun Tan <dun.tan@intel.com>
Cc: Arun Subramanian Baskaran <arun.subramanian.baskaran@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eduardo Cuevas Farfan <eduardo.cuevas.farfan@intel.com>
|
|
Now that all spelling errors have been fixed,
disable AuditOnly mode to catch future spelling
errors in PR gates.
Add misspellings to be temporarily ignored in
MdePkg.ci.yaml to give consumers time to transition.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
This fixes all non-breaking spelling errors in
MdePkg.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Update the global cspell dictionary with allowed
words from MdePkg.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in Udf.h. Update
consumer in MdeModulePkg.
A temporary backward-compatible alias is provided
for the old misspelled enum name.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in Cxl30.h.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in
HiiImageDecoder.h.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in
IpmiNetFnApp.h.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in
DriverConfiguration2.h.
A temporary backward-compatible alias is provided
for the old misspelled macro name.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in Acpi10.h.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in ScsiIo.h.
A temporary backward-compatible alias is provided
for the old misspelled macro name.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in Cper.h.
A temporary backward-compatible alias is provided
for the old misspelled macro name.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in Hash.h.
A temporary backward-compatible alias is provided
for the old misspelled macro name.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling error in definition in Nvme.h.
A temporary backward-compatible alias is provided
for the old misspelled macro name.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in Pci22.h.
Update consumers in MdeModulePkg, OvmfPkg, ShellPkg,
and SourceLevelDebugPkg.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in SmBios.h.
Temporary backward-compatible aliases are provided
for the old misspelled enum names.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in Atapi.h.
Update consumers in MdeModulePkg.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Fix spelling errors in definitions in
TcgPhysicalPresence.h, TcgStorageOpal.h, Tpm12.h,
and Tpm2Acpi.h. Update consumer in SecurityPkg.
Temporary backward-compatible aliases are provided
for the old misspelled macro and enum names.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
|
|
Replace the hardcoded IPMI_KCS_TIMEOUT_5_SEC macro in WaitStatusSet() and
WaitStatusClear() with PcdKcsStatusCheckTimeout so platform firmware can
tune the KCS timeout without recompiling the library.
- ManageabilityPkg.dec: declare PcdKcsStatusCheckTimeout (UINT64, 5000000 us)
- KcsCommon.c: use PcdGet64(PcdKcsStatusCheckTimeout); add DEBUG on timeout
- ManageabilityTransportKcs.h: remove now-unused IPMI_KCS_TIMEOUT_5_SEC macro
- BaseManageabilityTransportKcs.inf, Dxe/DxeManageabilityTransportKcs.inf:
add PcdKcsStatusCheckTimeout to [FixedPcd]
Co-authored-by: Abner Chang <abner.chang@amd.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
|
|
All debug prints should end in a newline character.
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
|
|
All debug prints should end in a newline character.
Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com>
|
|
Commit 8c654bb3ec sets FUA bit forcefully in SCSI sync I/O to
avoid possible data loss. However, it may cause issues for the
storage without the support FUA and WCE.
For example, Windows Server 2025 guest fails to boot from
vhost-scsi block device in such scenario. The booting Error
code is 0xc0000185, the SCSI command fails with the following,
Mode Sense Key: EFI_SCSI_SK_ILLEGAL_REQUEST
Additional Sense Code: EFI_SCSI_ASC_INVALID_FIELD
This patch gets the FUA and WCE support of the storage and sets
FUA conditionally.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Annie Li <annie.li@oracle.com>
|
|
Check Write Caching and FUA support of the storage, then save
the result if both are disabled.
Signed-off-by: Annie Li <annie.li@oracle.com>
|
|
ArmVirtQemu uses an initial early ID map in emulated NOR flash that is
activated right out of reset, in order to avoid running a good chunk of
the SEC and PEI stages with the MMU and caches disabled.
This early ID map is currently not compatible with LPA2, and the
associated startup code consciously omits 52-bit physical addressing, as
it was not supported for 4k page sizes when this code was written.
This means that by the time ArmConfigureMmu() runs, the TCR control
register is already programmed with a value that reflects the non-LPA2
nature of the active page tables. Given that the MMU is on at that
point, TCR cannot simply be updated to a value that enables LPA2. Yet
this is what happens currently, and so the boot hangs really early when
running ArmVirtQemu on LPA2 capable CPUs.
Disabling the MMU again at this point is problematic, because it would
require cache maintenance on the stack and on other live RAM regions.
Given that the early page tables are in read-only NOR flash, updating
them on the fly to make them LPA2 compatible is impossible. So instead,
provide a second set of early page tables, but using 5 levels of paging
for LPA2, and omitting the shareability attributes in the page table
descriptors, as LPA2 repurposes these bits as physical address bits.
Also update the startup code to program TCR.IPS and TCR.DS
accordingly, but only if LPA2 is supported and the PArange is 52 bits:
this reflects the logic in ArmConfigureMmu(), ensuring that the TCR
value it calculates is identical to the one chosen by the early code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
|
This reverts commit 57230fff6b39a665485be1bd43ec608d412ba6fb.
RealTimeClockLib is not a generic library class that is intended to be
used widely to get access to the RTC when the associated runtime
services are not available in the calling context.
The purpose of RealTimeClockLib is to abstract the underlying hardware
access from the generic RealTimeClockRuntimeDxe driver, which backs the
runtime services.
This means it does not belong in a different package; it belongs in the
same package as the driver.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
|
Define missing ACPI EINJ structs Acpi64.h and Acpi65.h
- EFI_ACPI_6_4_VENDOR_ERROR_TYPE_EXTENSION_STRUCTURE
- EFI_ACPI_6_4_SET_ERROR_TYPE_WITH_ADDRESS
- EFI_ACPI_6_5_VENDOR_ERROR_TYPE_EXTENSION_STRUCTURE
- EFI_ACPI_6_5_SET_ERROR_TYPE_WITH_ADDRESS
Reference: ACPI Spec 6.5, section 18.6.4.1 EINJv2 Error Types
Signed-off-by: Varshit Pandya <varshit.pandya@arm.com>
|
|
The ARM architecture requires the XN attribute on device memory
mappings. Failure to preserve XN permits speculative instruction
fetches to MMIO regions, leading to unpredictable behavior such as
stuck transactions in the memory controller or the I-cache prefetcher
inadvertently acknowledging device interrupts.
Add a check in ClearMemoryAttributes() that returns EFI_UNSUPPORTED
when the caller requests clearing EFI_MEMORY_XP on a region that
contains device memory. The check traverses the translation table
to determine whether any portion of the given address range is
mapped with the device memory attribute.
Signed-off-by: Richard Lyu <richard.lyu@suse.com>
|
|
The UEFI specification does not restrict the MemoryAttribute Protocol
to system memory only. The protocol should permit manipulating
permission attributes on any existing, valid mapping, consistent with
other architectures.
Remove RegionIsSystemMemory() and its use as a precondition in
GetMemoryAttributes(), SetMemoryAttributes() and
ClearMemoryAttributes().
Signed-off-by: Richard Lyu <richard.lyu@suse.com>
|
|
Remove SignedCapsulePkg from the following GitHub configuration files:
- ISSUE_TEMPLATE/bug_report.yml: Remove SignedCapsulePkg from the
affected package drop-down list.
- ISSUE_TEMPLATE/feature_request.yml: Remove SignedCapsulePkg from the
affected package drop-down list.
- advanced-issue-labeler.yml: Remove the package:signedcapsulepkg
label rule and its associated key.
SignedCapsulePkg is no longer used. The features provided by this
package have been superseded by FmpDevicePkg.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
|
|
Remove SignedCapsulePkg from the following .pytool files:
- CISettings.py: Remove SignedCapsulePkg from the GetPackagesSupported()
list to exclude it from CI build and test operations.
- Readme.md: Remove the SignedCapsulePkg row from the package status
table.
SignedCapsulePkg is no longer used. The features provided by this
package have been superseded by FmpDevicePkg.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
|
|
Remove SignedCapsulePkg from the TARGET_UNIT_TEST and TARGET_OTHER
build package lists in the pr-gate-build-job template.
SignedCapsulePkg is no longer used. The features provided by this
package have been superseded by FmpDevicePkg.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
|
|
Remove SignedCapsulePkg from the following root workspace files:
- Maintainers.txt: Remove the SignedCapsulePkg section including the
package name, file path (F:), and wiki URL (W:) entries.
- .git-blame-ignore-revs: Remove the SignedCapsulePkg uncrustify
formatting commit (b87864896714) from the blame ignore list.
SignedCapsulePkg is no longer used. The features provided by this
package have been superseded by FmpDevicePkg.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
|
|
SignedCapsulePkg is no longer used. The features provided by this
package have been superseded by FmpDevicePkg.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
|
|
The answer section loop in ParseDnsResponse() iterated a counter
AnswerSectionNum from 0 to DnsHeader->AnswersNum using a while loop
with a manual increment at the bottom. Convert it to an equivalent
for loop to make the initialization, condition, and increment
explicit.
Also replace the unconditional Status = EFI_NOT_FOUND assignment
before the loop with a conditional that only sets it when the loop
is never entered (DnsHeader->AnswersNum == 0). ParseDnsResponse()
initializes Status to EFI_SUCCESS at function entry, and the loop
body always overwrites Status, so the pre-assignment was dead code
in the common case. The conditional form makes the intent explicit:
EFI_NOT_FOUND is only the result when there are no answer records.
Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>
Signed-off-by: abuthahirm <abuthahirm@ami.com>
|
|
In Ip4Config2ConvertIfrNvDataToConfigNvData(), when the policy is
changed away from a static configuration (PolicyChanged is TRUE), the
first call to Ip4Cfg2->SetData() was not checking its return value and
always returned EFI_SUCCESS. Fix this to check and return Status on
error, consistent with the second SetData call in the same function.
Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>
Signed-off-by: abuthahirm <abuthahirm@ami.com>
|
|
This patch aims to help breaking down the long function present in
the ShellPkg and reduce complexity/nested code and conditions.
Lower the indentation level in the newly created MainCmdXXX()
functions.
Some ASSERT() are removed in Help.c as they check variables
which were initialized a few lines above.
No functional change should be induced by this patch.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Extract a PrintMatchingHelp() function in the Help command
to help splitting the logic MainCmdHelp() function.
No functional change should be induced by this patch.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Extract a ProcessFileList() in:
- Touch.c
- Type.c
to lower the indentation level and simplify the logic.
No functional change should be induced by this patch.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
This patch aims to help breaking down the long function present in
the ShellPkg and reduce complexity/nested code and conditions.
Extract a MainCmdXXX() function for each shell command.
This command contains the possible operations the command aims
to operate. The ShellCommandRunXXX() function from which it
is extracted is only responsible of:
- initializing the shell/command environment
- parsing the command parameter and creating a Package
- freeing the Package
No functional change should be induced by this patch.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
This patch aims to help breaking down the long function present in
the ShellPkg and reduce complexity/nested code and conditions.
Return directly if ShellCommandLineParse() returned an error Status.
In such case, the "Package" that should be allocated by
ShellCommandLineParse() is already freed in:
ShellCommandLineParse()
\-ShellCommandLineParseEx()
\-InternalCommandLineParse()
so there is no need to free it with ShellCommandLineFreeVarList().
No functional change should be induced by this patch.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Add a 'cxl' command to list and query CXL devices.
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|
|
Include CXL support in the form of CxlDxe to OVMF package.
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|
|
Add CxlDxe driver that provides CxlIo protocol.
Co-authored-by: Abhishek Narvaria <abhi.n@samsung.com>
Co-authored-by: Alok Rathore <alok.rathore@samsung.com>
Co-authored-by: Nick Graves <nicholasgraves@google.com>
Co-authored-by: Ryan Heise <heiserya@google.com>
Co-authored-by: Sayanta Pattanayak <sayanta.pattanayak@arm.com>
Co-authored-by: Sweta Kumari <s5.kumari@samsung.com>
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|
|
Create a CXL protocol for interacting with CXL endpoint devices. CXL
devices are necessarily also PCI devices, so the PCI IO protocol is also
provided as part of the CXL protocol.
The protocol provides access to the following operations for CXL devices:
- Read from a DVSEC register block
- Write to a DVSEC register block
- Perform DOE transaction
This set of operation is sufficient to implement BIOS-level CXL
functionality.
Signed-off-by: Nick Graves <nicholasgraves@google.com>
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|
|
Add CXL CDAT structure definitions to newly introduced CxlCdat.h
Signed-off-by: Nick Graves <nicholasgraves@google.com>
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|
|
- Add Data Object Exchange registers to the PCIe headers.
- Add Data Object Exchange bits to the CXL 3.0 headers.
Signed-off-by: Nick Graves <nicholasgraves@google.com>
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
|