Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address

From: Andy Shevchenko
Date: Wed Jan 31 2018 - 10:41:35 EST


On Mon, Jan 29, 2018 at 5:01 AM, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> On Fri, Jan 26, 2018 at 7:08 PM, Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:

>> I have stumbled on the similar stuff and realize that.
>>
>> Perhaps, one of the solution is to have an additional struct under
>> x86_init to alternate ACPI related stuff.
>
> I'm not sure if that really is a problem in this particular case.
>
> Why would you want to use different RSDP retrieval functions for one arch?

I was not clear. I'm talking about approach struct x86_init vs. __weak function.
In my case it has nothing to do with RDSP, but with ACPI stubs.

--
With Best Regards,
Andy Shevchenko