On Thu, Jan 25, 2024 at 08:47:56PM +0100, Laszlo Ersek wrote: > On 1/25/24 08:50, Gerd Hoffmann wrote: > > On Wed, Jan 24, 2024 at 05:43:29PM -0800, Erdem Aktas wrote: > >> Same for TDX, I did not run it but it should cause failure > >> as debugShowPostCode is called OvmfPkg/ResetVector/Ia32/IntelTdx.asm before > >> actually the #VE handlers are installed. > >> > >>> Had a meeting get canceled and so got a chance to test this. As I thought, > >>> this causes SEV-ES/SEV-SNP guest failures. > > > > Hmm, I guess that pretty much kills the idea. The first post code is > > sent before probing for TDX/SEV happens ... > > Can we salvage it, but make it depend on a minimal source code tweak > (ungating)? Changing a single line for debugging (non-TDX / non-SEV-ES > guests, anyway) is much easier than coming up with this patch from zero, > whenever needed. > > Can we add "DebugCon.asm" to the tree, plus a *comment* near > > %include "DebugDisabled.asm" > > about "DebugCon.asm"?
Sure, can do that. I assume the concern about the slowdown is moot if this requires an source code patch to be enabled? take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114610): https://edk2.groups.io/g/devel/message/114610 Mute This Topic: https://groups.io/mt/103933942/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-