Skip to content

Tyche AP Boot Failure on Linux v6.5+ #68

@YuChen-Qian

Description

@YuChen-Qian

Linux v6.5 causes the AP to directly generate a triple fault when we enable SMP on x86. A bisect shows Linux started to support parallel startup of secondary CPUs, which might causes an issue with the current ACPI mailbox mechanism. Some of the problematic commits are:

  • 8b5a0f95 x86/smpboot: Enable split CPU startup
  • f6f1ae91 x86/smpboot: Implement a bit spinlock to protect the realmode stack
  • 7e75178a x86/smpboot: Support parallel startup of secondary CPUs
  • 0c7ffa32 x86/smpboot/64: Implement arch_cpuhp_init_parallel_bringup() and enable it

I log this issue here and we should fix this issue if we have time. Since we have merged all of the guest-side patches back to v6.2, this does not create an immediate problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions