From: Paul Gortmaker <pa...@kernel.org> This reverts commit 239bff0171a86e1bafd7da03631d74df1dfec6f1.
This (1/5) is a part of a fix from the v6.6.7 content. However during repeated boot testing on qemu-x86 (32 and 64) with NFS root it hangs during the verbose printk of the PCI register layout map. The v6.6.6 and the v6.6.7 with 5 reverts does not have this issue. Note that NFS root seems to be key for some reason. https://bugzilla.yoctoproject.org/show_bug.cgi?id=15463 Signed-off-by: Paul Gortmaker <pa...@kernel.org> --- arch/x86/coco/tdx/tdx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/x86/coco/tdx/tdx.c b/arch/x86/coco/tdx/tdx.c index f3c75809fed2..70d708cae961 100644 --- a/arch/x86/coco/tdx/tdx.c +++ b/arch/x86/coco/tdx/tdx.c @@ -821,5 +821,14 @@ void __init tdx_early_init(void) */ x86_cpuinit.parallel_bringup = false; + /* + * The VMM is capable of injecting interrupt 0x80 and triggering the + * compatibility syscall path. + * + * By default, the 32-bit emulation is disabled in order to ensure + * the safety of the VM. + */ + ia32_disable(); + pr_info("Guest detected\n"); } -- 2.44.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13838): https://lists.yoctoproject.org/g/linux-yocto/message/13838 Mute This Topic: https://lists.yoctoproject.org/mt/105625699/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-