lkml.org 
[lkml]   [2024]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHv10 04/18] cpu/hotplug, x86/acpi: Disable CPU offlining for ACPI MADT wakeup
    On Tue, Apr 23, 2024 at 06:02:58PM +0200, Borislav Petkov wrote:
    > >
    > > Currently CPU hotplug is prevented based on the confidential computing
    > > attribute which is set for Intel TDX. But TDX is not the only possible
    > > user of the wake up method.
    > >
    > > Disable CPU offlining on ACPI MADT wakeup enumeration.
    >
    > Something's missing in that "justification". It should explain why
    > CC_ATTR_HOTPLUG_DISABLED is not needed anymore.

    It was wrong from beginning. If ACPI MADT wake up method is used on the
    platform, we cannot handle offline, regardless if it is TDX or not.

    > And looking at patch 3, I'm still unclear as to why this change is done.
    > Is it that the "ACPI MADT mailbox wakeup method" is going to be used by
    > TDX guests now too so that you don't need CC_ATTR_HOTPLUG_DISABLED
    > anymore?

    ACPI MADT is the only wakeup method supported in TDX guests. But offline
    is broken is because of ACPI MADT, not because of TDX.

    --
    Kiryl Shutsemau / Kirill A. Shutemov

    \
     
     \ /
      Last update: 2024-04-24 10:38    [W:4.396 / U:3.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site