[edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpus and MaxVcpus

2024-06-27 Thread Xiaoyao Li
For TDCALL leaf TDG.VP.INFO, the bit 31:0 in R8 returns NUM_VCPUS and bit 63:32 in R8 returns MAX_VCPUS. Current struct TDCALL_INFO_RETURN_DATA defines them in wrong order. Signed-off-by: Xiaoyao Li Cc: Jiewen Yao Cc: Min Xu Cc: Gerd Hoffmann Cc: Laszlo Ersek --- MdePkg/Include/IndustryStand

Re: [edk2-devel] [PATCH 0/2] AmdSev: Harden SEV Kernel hashes verifier

2024-06-27 Thread Tobin Feldman-Fitzthum
On 6/26/24 10:33 AM, Aithal, Srikanth wrote: On 6/26/2024 7:28 PM, Tobin Feldman-Fitzthum wrote: On 6/26/24 4:08 AM, Aithal, Srikanth wrote: Hello, SEV/SEVES guest boot fails with AMDSEV OVMF package built using upstream edk2 master [commit head: 2fbaaa96d11ad61a9133df1728e3fe965d1457a5]

[edk2-devel] [PATCH edk2-platforms 1/1] SbsaQemu: use FEAT_RNG for EFI_RNG_PROTOCOL

2024-06-27 Thread Marcin Juszkiewicz
By default we have Neoverse-N2 cpu which supports FEAT_RNG feature. Commit 5de5e230a80bed083360da95ba16a2c4a001620d (in EDK2) enabled that for ArmVirt platform. RNDR is implemented by both Neoverse-N2 and 'max' cpu implemented by QEMU. Other cpu models lack it which prevents the RngDxe driver fro

[edk2-devel] [PATCH edk2-platforms 0/1] RFC: SbsaQemu use FEAT_RNG for EFI_RNG_PROTOCOL

2024-06-27 Thread Marcin Juszkiewicz
SBSA Reference Platform in QEMU uses Neoverse-N2 cpu by default now. This core supports FEAT_RNG feature so I thought that it should be possible to use it for EFI_RNG_PROTOCOL. Checked history and found that commit 5de5e230a80bed083360da95ba16a2c4a001620d (in EDK2) enabled that for ArmVirt platfor