lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 02/22] cc_platform: Add new attribute to prevent ACPI CPU hotplug
From
Date
On Tue, 2022-06-28 at 19:33 +0200, Rafael J. Wysocki wrote:
> > Hi Rafael,
> >
> > I am not sure I got what you mean by "This will affect initialization, not
> > just
> > hotplug AFAICS", could you elaborate a little bit?  Thanks.
>
> So acpi_processor_add() is called for CPUs that are already present at
> init time, not just for the hot-added ones.
>
> One of the things it does is to associate an ACPI companion with the given
> CPU.
>
> Don't you need that to happen?

You are right. I did test again and yes it was also called after boot-time
present cpus are up (after smp_init()). I didn't check this carefully at my
previous test. Thanks for catching.

--
Thanks,
-Kai


\
 
 \ /
  Last update: 2022-06-29 01:41    [W:0.150 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site