Re: [PATCH v3 02/13] x86/acpi: Add a helper function to get a pointer to the wakeup mailbox

Ricardo Neri
2025-05-06T05:17:58Z

On Mon, May 05, 2025 at 11:55:03AM +0200, Rafael J. Wysocki wrote:
> On Sat, May 3, 2025 at 9:10 PM Ricardo Neri
> <ricardo.neri-calderon@linux.intel.com> wrote:
> >
> > In preparation to move the functionality to wake secondary CPUs up out
> > of the ACPI code, add a helper function to get a pointer to the mailbox.
> >
> > Use this helper function only in the portions of the code for which the
> > variable acpi_mp_wake_mailbox will be out of scope once it is relocated
> > out of the ACPI directory.
> >
> > The wakeup mailbox is only supported for CONFIG_X86_64 and needed only
> > with CONFIG_SMP.
> >
> > Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
> > ---
> > Changes since v2:
> > - Introduced this patch.
>
> Have you considered merging it with the previous patch? They both do
> analogous things.

Indeed, I can merge these two patches.

Thanks and BR,
Ricardo