[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V2 06/10] hw/acpi: Update GED _EVT method AML with cpu scan
From: |
Jonathan Cameron |
Subject: |
Re: [PATCH V2 06/10] hw/acpi: Update GED _EVT method AML with cpu scan |
Date: |
Tue, 3 Oct 2023 12:53:51 +0100 |
> > aml_notify(aml_name(ACPI_POWER_BUTTON_DEVICE),
> > > diff --git a/include/hw/acpi/cpu_hotplug.h
> > b/include/hw/acpi/cpu_hotplug.h
> > > index 48b291e45e..ef631750b4 100644
> > > --- a/include/hw/acpi/cpu_hotplug.h
> > > +++ b/include/hw/acpi/cpu_hotplug.h
> > > @@ -20,6 +20,8 @@
> > > #include "hw/acpi/cpu.h"
> > >
> > > #define ACPI_CPU_HOTPLUG_REG_LEN 12
> > > +#define ACPI_CPU_SCAN_METHOD "CSCN"
> >
> > This seems to already be defined in hw/acpi/cpu.c
> > Can we drop it from there given that file now includes this
> > header anyway.
>
> Perhaps I can assign this to the macro in the hw/acpi/cpu.c?
hw/acpi/cpu.c includes this header now anyway I think.
So just drop that definition and should all be good.
Jonathan
>
> Thanks
> Salil.