- 13 Sep, 2022 8 commits
-
-
dann frazier authored
-
dann frazier authored
-
dann frazier authored
This should make it more clear that the autopkgest updates are limited to what was necessary to add regression tests related to the included fix.
-
dann frazier authored
====================================================================== ERROR: test_aavmf_ms_secure_boot_unsigned (__main__.BootToShellTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest.IxhnlS/build.72U/src/debian/tests/shell.py", line 174, in test_aavmf_ms_secure_boot_unsigned iso = GrubShellBootableIsoImage('AA64', use_signed=False) TypeError: GrubShellBootableIsoImage.__init__() got an unexpected keyword argument 'use_signed' Fix by porting it to the new GrubShellBootableIsoImage interface. -
dann frazier authored
Adds a new UEFI module, SignedBinary, that well, signs binaries.
-
dann frazier authored
-
dann frazier authored
We want to be able to add tests for snakeoil-signed artifacts. Adapting the GrubShellBootableIsoImage interface to do that signing would be ugly. Instead, let's move the binary selection code into the tests themselves. This also removes some obviously distro-specific logic out of the libraries.
-
dann frazier authored
This fixes a regression introduced with the transition to edk2-vars-generator.py. LP: #1986692.
-
- 28 Mar, 2022 2 commits
-
-
dann frazier authored
-
dann frazier authored
- d/p/0001-MdeModulePkg-NvmExpressDxe-fix-check-for-Cap.Css.patch - d/p/0002-MdeModulePkg-NvmExpressPei-fix-check-for-NVM-command.patch Thanks to Mara Sophie Grosch!
-
- 08 Mar, 2022 4 commits
-
-
dann frazier authored
-
dann frazier authored
-
dann frazier authored
-
dann frazier authored
-
- 25 Feb, 2022 4 commits
-
-
dann frazier authored
-
dann frazier authored
Merged upstream
-
dann frazier authored
-
dann frazier authored
-
- 24 Feb, 2022 1 commit
-
-
dann frazier authored
This allowing us to stop carrying debian/patches/ftbfs-gcc-11.patch.
-
- 21 Feb, 2022 1 commit
-
-
Heng Luo authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3813 The size of buffer should be 3 CHAR16 for Null-terminated Unicode string. The first char is the AKM/Cipher Suite number, the second char is ' ', the third char is '\0'. Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Signed-off-by:
Heng Luo <heng.luo@intel.com> Reviewed-by:
Maciej Rabeda <maciej.rabeda@linux.intel.com>
-
- 16 Feb, 2022 2 commits
-
-
Rehan, MohammedX authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3819 Ping GetTimerPeriod API returns sometime zero value when StallCounter has smaller value than RttTimerTick (divide by zero) which results some failure at ping UEFI shell command Signed-off-by:
MohammedX Rehan <mohammedx.rehan@intel.com> Reviewed-by:
Zhichao Gao <zhichao.gao@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com>
-
Brijesh Singh authored
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3835 The commit ade62c18 caused a boot failure when OVMF is build with SECURE_BOOT/SMM enabled. This happen because the above commit extended the BaseMemEncryptSevLib.inf to include VmgExitLib. The FvbServicesSmm uses the functions provided by the MemEncryptSevLib to clear the memory encryption mask from the page table. It created a dependency, as shown below OvmfPkg/FvbServicesSmm.inf ---> MemEncryptSevLib class ---> "OvmfPkg/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf" instance ---> VmgExitLib ---> "OvmfPkg/VmgExitLib" instance ---> LocalApicLib class ---> UefiCpuPkg/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf instance ---> TimerLib class ---> "OvmfPkg/AcpiTimerLib/DxeAcpiTimerLib.inf" instance ---> PciLib class ---> "OvmfPkg/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf" instance The LocalApicLib provides a constructor, execution of the constructor causes an exception. The SEV-ES and SEV-SNP do not support the SMM, so skip including the VmgExitLib chain. Use the module override to use the VmgExitLibNull to avoid the inclusion of unneeded LocalApicLib dependency chain in FvbServicesSmm. We ran similar issue for AmdSevDxe driver, see commit 19914edc After the patch, the dependency look like this: OvmfPkg/FvbServicesSmm.inf ---> MemEncryptSevLib class ---> "OvmfPkg/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf" instance ---> VmgExitLib ---> "UefiCpuPkg/Library/VmgExitLibNull" instance Fixes: ade62c18 Reported-by:
Aaron Young <aaron.young@oracle.com> Cc: Dann Frazier <dann.frazier@canonical.com> Cc: Michael Roth <michael.roth@amd.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Erdem Aktas <erdemaktas@google.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Brijesh Singh <brijesh.singh@amd.com> Tested-by:
dann frazier <dann.frazier@canonical.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
- 15 Feb, 2022 5 commits
-
-
dann frazier authored
-
dann frazier authored
-
Rebecca Cran authored
XCODE5 reported the following warning: OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c:1895:12: note: uninitialized use occurs here Compacted ^^^^^^^^^ Initialize the 'Compacted' variable to fix the warning. Signed-off-by:Rebecca Cran <quic_rcran@quicinc.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
-
Bob Feng authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3417 Update the brotli submodule to the latest commit (f4153a0) so that the build isn't broken in GCC 11 compilers. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Pedro Falcato <pedro.falcato@gmail.com> Signed-off-by:
Bob Feng <bob.c.feng@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Bob Feng authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3417 Update the brotli submodule to the latest commit (f4153a0) so that the build isn't broken in GCC 11 compilers. Signed-off-by:
Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Cc: Pedro Falcato <pedro.falcato@gmail.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
- 11 Feb, 2022 2 commits
-
-
dann frazier authored
-
dann frazier authored
-
- 10 Feb, 2022 1 commit
-
-
Rebecca Cran authored
Building with the CLANG35 and CLANG38 toolset fails because of variables which are set but not otherwise used in the RELEASE build. GCC added -Wno-unused-but-set-variable back in 2016, and later added -Wno-unused-const-variable. Add those to CLANG35_WARNING_OVERRIDES and CLANG38_WARNING_OVERRIDES. Signed-off-by:
Rebecca Cran <quic_rcran@quicinc.com> Reviewed-by:
Michael D Kinney <michael.d.kinney@intel.com>
-
- 07 Feb, 2022 8 commits
-
-
Xiaoyu Lu authored
Update Email address for Xiaoyu Lu. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by:
Xiaoyu Lu <xiaoyu1.lu@intel.com> Reviewed-by:
Jiewen Yao <jiewen.yao@intel.com>
-
Leif Lindholm authored
NUVIA inc. was acquired by Qualcomm in March 2021, but we continued contributions under the existing IDs until the start of this year. We are now switching to use Qualcomm Innovation Center email, so update Maintainers.txt to reflect this. Cc: Andrew Fish <afish@apple.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Reviewed-by:
Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by:
Michael D Kinney <michael.d.kinney@intel.com>
-
Leif Lindholm authored
This section seems to have been missed when introducing github IDs, so add them. Cc: Andrew Fish <afish@apple.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by:
Leif Lindholm <leif@nuviainc.com> Acked-by:
Gerd Hoffmann <kraxel@redhat.com>
-
Matt DeVillier authored
Signed-off-by:
Matt DeVillier <matt.devillier@gmail.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Gerd Hoffmann authored
When setting mVirtualMap to NULL also set mVirtualMapMaxIndex to 0. Without that RuntimeDriverConvertPointer() will go search the ZeroPage for EFI_MEMORY_DESCRIPTOR entries. In case mVirtualMapMaxIndex happens to be small small enough that'll go unnoticed, the search will not find anything and EFI_NOT_FOUND will be returned. In case mVirtualMapMaxIndex is big enough the search will reach the end of the ZeroPage and trigger a page fault. Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Jake Garver via groups.io authored
Fix a Edk2Logger.warn() message format to match the arguments. We ran into this after a failure in PcdValueInit. The failure was masked by a new exception, "TypeError: not all arguments converted during string formatting". Signed-off-by:
Jake Garver <jake@nvidia.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Wei6 Xu authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3810 New macro OBJCOPY_STRIPFLAG is added in build_rule.template to replace '--strip-unneeded -R .eh_frame', so that module can have some unique objcopy flags for its own purpose. In tools_def.template, set '--strip-unneeded -R .eh_frame' as default value of OBJCOPY_STRIPFLAG. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by:
Wei6 Xu <wei6.xu@intel.com> Reviewed-by:
Liming Gao <gaoliming@byosoft.com.cn>
-
Chris Jones authored
Bugzilla: 3770 (https://bugzilla.tianocore.org/show_bug.cgi?id=3770 ) The PPTT parser in AcpiView incorrectly dereferences a pointer to FlagName when trying to log an error with the PPTT cache flags, which can lead to random crashes and other errors. Also fix some spacing in the error message to ensure the message is printed cleanly. Signed-off-by:
Chris Jones <christopher.jones@arm.com> Reviewed-by:
Rebecca Cran <rebecca@nuviainc.com> Reviewed-by:
Sami Mujawar <sami.mujawar@arm.com>
-
- 05 Feb, 2022 2 commits
-
-
dann frazier authored
-
dann frazier authored
-