[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADFYyO6STKPEgnGVJiAAhXXKSaFEHD2h6dcJPgYMEHRtrnOKCQ@mail.gmail.com>
Date: Mon, 1 Mar 2021 07:10:13 -0800
From: Weidong Cui <weidongcui@...il.com>
To: "Kaneda, Erik" <erik.kaneda@...el.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
"Moore, Robert" <robert.moore@...el.com>,
"Wysocki, Rafael J" <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>, Xinyang Ge <aegiryy@...il.com>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
"open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <devel@...ica.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Enable ACPI_ADR_SPACE_PCI_CONFIG in acpi_gbl_default_address_spaces
only when ACPI_PCI_CONFIGURED is defined
> Hi, I’ll take a look next week.. Sorry about the delay
Hi Erik,
I would like to gently ping you about this patch. Please let us know
if you have any questions.
Thanks!
Weidong
>
> From: Weidong Cui <weidongcui@...il.com>
> Sent: Wednesday, February 17, 2021 6:55 PM
> To: Rafael J. Wysocki <rafael@...nel.org>
> Cc: Moore, Robert <robert.moore@...el.com>; Kaneda, Erik <erik.kaneda@...el.com>; Wysocki, Rafael J <rafael.j.wysocki@...el.com>; Len Brown <lenb@...nel.org>; Xinyang Ge <aegiryy@...il.com>; ACPI Devel Maling List <linux-acpi@...r.kernel.org>; open list:ACPI COMPONENT ARCHITECTURE (ACPICA) <devel@...ica.org>; Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
> Subject: Re: [PATCH] Enable ACPI_ADR_SPACE_PCI_CONFIG in acpi_gbl_default_address_spaces only when ACPI_PCI_CONFIGURED is defined
>
>
>
> Erik and Bob, please let us know if you have any questions or comments.
>
>
>
> Thanks,
>
> Weidong
>
>
>
> On Tue, Feb 9, 2021 at 6:35 AM Rafael J. Wysocki <rafael@...nel.org> wrote:
>
> On Tue, Feb 9, 2021 at 4:22 AM Weidong Cui <weidongcui@...il.com> wrote:
> >
> > Signed-off-by: Weidong Cui <weidongcui@...il.com>
> > Signed-off-by: Xinyang Ge <aegiryy@...il.com>
>
> ACPICA material, left to Erik & Bob, thanks!
>
> > ---
> > drivers/acpi/acpica/evhandler.c | 2 ++
> > include/acpi/acconfig.h | 4 ++++
> > 2 files changed, 6 insertions(+)
> >
> > diff --git a/drivers/acpi/acpica/evhandler.c b/drivers/acpi/acpica/evhandler.c
> > index 5884eba04..4c25ad433 100644
> > --- a/drivers/acpi/acpica/evhandler.c
> > +++ b/drivers/acpi/acpica/evhandler.c
> > @@ -26,7 +26,9 @@ acpi_ev_install_handler(acpi_handle obj_handle,
> > u8 acpi_gbl_default_address_spaces[ACPI_NUM_DEFAULT_SPACES] = {
> > ACPI_ADR_SPACE_SYSTEM_MEMORY,
> > ACPI_ADR_SPACE_SYSTEM_IO,
> > +#ifdef ACPI_PCI_CONFIGURED
> > ACPI_ADR_SPACE_PCI_CONFIG,
> > +#endif
> > ACPI_ADR_SPACE_DATA_TABLE
> > };
> >
> > diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h
> > index a225eff49..790999028 100644
> > --- a/include/acpi/acconfig.h
> > +++ b/include/acpi/acconfig.h
> > @@ -162,7 +162,11 @@
> > /* Maximum space_ids for Operation Regions */
> >
> > #define ACPI_MAX_ADDRESS_SPACE 255
> > +#ifdef ACPI_PCI_CONFIGURED
> > #define ACPI_NUM_DEFAULT_SPACES 4
> > +#else
> > +#define ACPI_NUM_DEFAULT_SPACES 3
> > +#endif
> >
> > /* Array sizes. Used for range checking also */
> >
> > --
> > 2.24.3 (Apple Git-128)
> >
Powered by blists - more mailing lists