summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-05-11GitHub Action: Bump actions/github-script from 7 to 9dependabot/github_actions/actions/github-script-9dependabot[bot]1-1/+1
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>
2026-05-08UefiCpuPkg: Remove the absolute address jump in LoongArch exception handleredk2-stable202605Chao Li2-4/+39
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>
2026-05-08MdePkg: Disable AuditOnly Mode for Spell CheckOliver Smith-Denny1-3/+46
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>
2026-05-08MdePkg: Fix Spelling Errors in CommentsOliver Smith-Denny188-342/+342
This fixes all non-breaking spelling errors in MdePkg. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08.pytool: Update cspell Allowed WordsOliver Smith-Denny1-8/+913
Update the global cspell dictionary with allowed words from MdePkg. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08MdePkg,MdeModulePkg: Fix Spelling Error in Udf DefinitionsOliver Smith-Denny2-5/+8
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>
2026-05-08MdePkg: Fix Spelling Errors in CXL DefinitionsOliver Smith-Denny1-2/+9
Fix spelling errors in definitions in Cxl30.h. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08MdePkg: Fix Spelling Errors in HiiImageDecoder DefinitionsOliver Smith-Denny1-1/+4
Fix spelling errors in definitions in HiiImageDecoder.h. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08MdePkg: Fix Spelling Errors in IPMI DefinitionsOliver Smith-Denny1-1/+4
Fix spelling errors in definitions in IpmiNetFnApp.h. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08MdePkg: Fix Spelling Error in DriverConfiguration2 DefinitionsOliver Smith-Denny1-1/+4
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>
2026-05-08MdePkg: Fix Spelling Errors in ACPI DefinitionsOliver Smith-Denny1-1/+4
Fix spelling errors in definitions in Acpi10.h. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-05-08MdePkg: Fix Spelling Error in ScsiIo DefinitionsOliver Smith-Denny1-2/+5
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>
2026-05-08MdePkg: Fix Spelling Error in Cper DefinitionsOliver Smith-Denny1-2/+5
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>
2026-05-08MdePkg: Fix Spelling Error in Hash DefinitionsOliver Smith-Denny1-2/+5
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>
2026-05-08MdePkg: Fix Spelling Error in Nvme DefinitionsOliver Smith-Denny1-1/+4
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>
2026-05-08Global: Fix Spelling Errors in PCI/PCIe DefinitionsOliver Smith-Denny7-13/+23
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>
2026-05-08MdePkg: Fix Spelling Errors in SmBios DefinitionsOliver Smith-Denny1-13/+25
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>
2026-05-08MdePkg,MdeModulePkg: Fix Spelling Errors in Atapi DefinitionsOliver Smith-Denny3-4/+7
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>
2026-05-08MdePkg,SecurityPkg: Fix Spelling Errors in TCG/TPM DefinitionsOliver Smith-Denny8-35/+50
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>
2026-05-06ManageabilityPkg: add configurable KCS status-check timeout PCDAbdul Lateef Attar5-7/+13
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>
2026-05-06SecurityPkg/SecureBootVariableLib: Cleanup debug print readabilityBenjamin Doron1-6/+6
All debug prints should end in a newline character. Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
2026-05-06MdeModulePkg: Cleanup debug print readabilityBenjamin Doron4-4/+4
All debug prints should end in a newline character. Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com>
2026-05-06MdeModulePkg,MdePkg: Send I/O without FUA if necessaryAnnie Li3-10/+27
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>
2026-05-06MdeModulePkg/ScsiDiskDxe: Check Write Caching and FUA supportAnnie Li2-0/+125
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>
2026-05-06ArmVirtPkg/ArmPlatformLibQemu: Support early ID map on LPA2 capable CPUsArd Biesheuvel2-18/+34
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>
2026-05-06Revert "ArmPlatformPkg,EmbeddedPkg,MdeModulePkg: Move RealTimeClockLib ..."Ard Biesheuvel7-8/+1
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>
2026-05-05MdePkg/Include: Add missing ACPI EINJ structureGlen Yeldho2-2/+52
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>
2026-05-04ArmPkg/CpuDxe: Refuse to clear XN from device memory mappingsRichard Lyu1-0/+26
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>
2026-05-04ArmPkg/CpuDxe: Drop GCD system memory check from MemoryAttribute protocolRichard Lyu1-48/+0
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>
2026-05-02.github: Remove SignedCapsulePkgMichael D Kinney3-4/+0
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>
2026-05-02.pytool: Remove SignedCapsulePkgMichael D Kinney2-2/+0
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>
2026-05-02.azurepipelines/templates/pr-gate-build-job.yml: Remove SignedCapsulePkgMichael D Kinney1-2/+2
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>
2026-05-02Maintainers.txt: Remove SignedCapsulePkgMichael D Kinney2-6/+0
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>
2026-05-02SignedCapsulePkg: Remove packageMichael D Kinney34-6784/+0
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>
2026-05-01NetworkPkg/DnsDxe: Refactor answer loop to for in ParseDnsResponseabuthahirm1-8/+8
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>
2026-05-01NetworkPkg/Ip4Dxe: Fix missing Status check on Ip4Cfg2->SetData callabuthahirm1-1/+1
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>
2026-05-01ShellPkg/UefiShellLevel3: Lower indentation level in MainCmdXXX()Pierre Gondois8-261/+248
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>
2026-05-01ShellPkg/Help: Extract PrintMatchingHelp() functionPierre Gondois1-76/+99
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>
2026-05-01ShellPkg/UefiShellLevel3: Extract ProcessFileList() functionPierre Gondois2-66/+121
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>
2026-05-01ShellPkg/UefiShellLevel3: Extract MainCmdXXX() functionPierre Gondois9-360/+539
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>
2026-05-01ShellPkg/UefiShellLevel3: Return if ShellCommandLineParse() failedPierre Gondois9-525/+543
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>
2026-05-01ShellPkg/Help: Free package on all pathsPierre Gondois1-5/+5
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2026-05-01ShellPkg/Type: Factorize character displayPierre Gondois1-62/+55
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2026-05-01ShellPkg/Cls: Factorize color parsingPierre Gondois1-80/+71
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2026-05-01ShellPkg: Add 'cxl' commandOleksandr Tymoshenko5-0/+613
Add a 'cxl' command to list and query CXL devices. Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
2026-05-01OvmfPkg: Include CxlDxeOleksandr Tymoshenko2-0/+2
Include CXL support in the form of CxlDxe to OVMF package. Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
2026-05-01MdeModulePkg: Add CxlDxe driverOleksandr Tymoshenko4-0/+1946
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>
2026-05-01MdeModulePkg: Add CxlIo.h protocolNick Graves2-0/+157
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>
2026-05-01MdePkg: Add CDAT structure definitionsNick Graves1-0/+149
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>
2026-05-01MdePkg: Add Data Object Exchange interfaceNick Graves2-0/+119
- 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>