Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

2025-01-28 Thread Usama Arif via groups.io
On 13/01/2025 12:00, Usama Arif wrote: > > > On 13/01/2025 11:27, Usama Arif wrote: >> >> >> On 13/01/2025 02:33, Dave Young wrote: >>> On Fri, 10 Jan 2025 at 18:54, Usama Arif wrote: On 10/01/2025 07:21, Ard Biesheuvel wrote: > On Thu, 9 Jan 2025 at 17:36, Usama Arif

Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

2025-01-28 Thread Usama Arif via groups.io
On 20/01/2025 10:32, Ard Biesheuvel wrote: > On Mon, 20 Jan 2025 at 11:27, Usama Arif wrote: >> >> > ... >> Hi Ard, >> >> Just wanted to check how should we proceed forward? Should we try and fix >> the warning >> and corruption during kexec as done in this series or not initialize memory >>

Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

2025-01-28 Thread Usama Arif via groups.io
On 20/01/2025 11:29, Ard Biesheuvel wrote: > On Mon, 20 Jan 2025 at 11:50, Usama Arif wrote: >> >> >> >> On 20/01/2025 10:32, Ard Biesheuvel wrote: >>> On Mon, 20 Jan 2025 at 11:27, Usama Arif wrote: >>> ... Hi Ard, Just wanted to check how should we proceed forward? S

Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

2025-01-28 Thread Usama Arif via groups.io
On 22/01/2025 05:36, Dave Young wrote: > Hi, > On Mon, 20 Jan 2025 at 19:48, Usama Arif wrote: >> >> >> >> On 20/01/2025 11:29, Ard Biesheuvel wrote: >>> On Mon, 20 Jan 2025 at 11:50, Usama Arif wrote: On 20/01/2025 10:32, Ard Biesheuvel wrote: > On Mon, 20 Jan 2025 at

Re: [edk2-devel] [RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

2025-01-28 Thread Dave Young via groups.io
Hi, On Mon, 20 Jan 2025 at 19:48, Usama Arif wrote: > > > > On 20/01/2025 11:29, Ard Biesheuvel wrote: > > On Mon, 20 Jan 2025 at 11:50, Usama Arif wrote: > >> > >> > >> > >> On 20/01/2025 10:32, Ard Biesheuvel wrote: > >>> On Mon, 20 Jan 2025 at 11:27, Usama Arif wrote: > > > >>> ...

[edk2-devel] edk2 master: AMD SEV-ES guest boot with OvmfPkgX64 fails

2025-01-28 Thread Aithal, Srikanth via groups.io
Hello, With current edk2/master booting AMD SEV-ES guest with OvmfPkgX64 package is failing with below error: [    0.240243] Memory Encryption Features active: AMD SEV SEV-ES [    0.241170] SEV: Status: SEV SEV-ES [    0.241783] pid_max: default: 32768 minimum: 301 [    0.243627] BUG: unable

Re: [edk2-devel] edk2 master: AMD SEV-ES guest boot with OvmfPkgX64 fails

2025-01-28 Thread Ard Biesheuvel via groups.io
On Tue, 28 Jan 2025 at 23:38, Tom Lendacky wrote: > > On 1/28/25 14:57, Lendacky, Thomas via groups.io wrote: > > On 1/28/25 10:26, Ard Biesheuvel via groups.io wrote: > >> Please retry with a build created from the latest HEAD. There was a > >> bug in that change that got fixed today. > > > > I t

Re: [edk2-devel] Error in UefiPayloadPkg building with SMM_SUPPORT

2025-01-28 Thread Abdul Lateef Attar via groups.io
[AMD Official Use Only - AMD Internal Distribution Only] Hi, You need to define MmSaveStateLib library in the UefiPayloadPkg.dsc Something like below UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf { MmSaveStateLib|UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf

Re: [edk2-devel] edk2 master: AMD SEV-ES guest boot with OvmfPkgX64 fails

2025-01-28 Thread Lendacky, Thomas via groups.io
On 1/28/25 14:57, Lendacky, Thomas via groups.io wrote: > On 1/28/25 10:26, Ard Biesheuvel via groups.io wrote: >> Please retry with a build created from the latest HEAD. There was a >> bug in that change that got fixed today. > > I tried the latest HEAD and the issue is still there. > > On a whi

Re: [edk2-devel] edk2 master: AMD SEV-ES guest boot with OvmfPkgX64 fails

2025-01-28 Thread Ard Biesheuvel via groups.io
Please retry with a build created from the latest HEAD. There was a bug in that change that got fixed today. On Tue, 28 Jan 2025 at 10:09, Aithal, Srikanth via groups.io wrote: > > Hello, > > With current edk2/master booting AMD SEV-ES guest with OvmfPkgX64 package is > failing with below error

Re: [edk2-devel] edk2 master: AMD SEV-ES guest boot with OvmfPkgX64 fails

2025-01-28 Thread Lendacky, Thomas via groups.io
On 1/28/25 10:26, Ard Biesheuvel via groups.io wrote: > Please retry with a build created from the latest HEAD. There was a > bug in that change that got fixed today. I tried the latest HEAD and the issue is still there. On a whim, I deleted the added DEBUG () calls from the patch and the issue w