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

2018-02-02 Thread Rafael J. Wysocki
On Thu, Feb 1, 2018 at 4:45 PM, Andy Shevchenko wrote: > On Thu, Feb 1, 2018 at 9:57 AM, Rafael J. Wysocki wrote: >> On Wed, Jan 31, 2018 at 4:43 PM, Andy Shevchenko >> wrote: >>> On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki >>> wrote: On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenk

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

2018-02-01 Thread Andy Shevchenko
On Thu, Feb 1, 2018 at 9:57 AM, Rafael J. Wysocki wrote: > On Wed, Jan 31, 2018 at 4:43 PM, Andy Shevchenko > wrote: >> On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: >>> On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko >>> wrote: >> Instead of declaring function as __weak, establis

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

2018-01-31 Thread Rafael J. Wysocki
On Wed, Jan 31, 2018 at 4:43 PM, Andy Shevchenko wrote: > On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: >> On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko >> wrote: >>> On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: On 26/01/18 19:08, Andy Shevchenko wrote: > On Thu

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

2018-01-31 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: > On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko > wrote: >> On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: >>> On 26/01/18 19:08, Andy Shevchenko wrote: On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: The probl

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

2018-01-31 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 5:01 AM, Rafael J. Wysocki wrote: > On Fri, Jan 26, 2018 at 7:08 PM, Andy Shevchenko > 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. >

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

2018-01-28 Thread Rafael J. Wysocki
On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko wrote: > On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: >> On 26/01/18 19:08, Andy Shevchenko wrote: >>> On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: Add a function to get the address of the RSDP table. Per default use a

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

2018-01-28 Thread Rafael J. Wysocki
On Fri, Jan 26, 2018 at 7:08 PM, Andy Shevchenko wrote: > On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: >> Add a function to get the address of the RSDP table. Per default use a >> __weak annotated function being a nop. > > The problem with weak functions that we can't have more than one

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

2018-01-28 Thread Andy Shevchenko
On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: > On 26/01/18 19:08, Andy Shevchenko wrote: >> On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: >>> Add a function to get the address of the RSDP table. Per default use a >>> __weak annotated function being a nop. >> >> The problem with w

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

2018-01-27 Thread Juergen Gross
On 26/01/18 19:08, Andy Shevchenko wrote: > On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: >> Add a function to get the address of the RSDP table. Per default use a >> __weak annotated function being a nop. > > The problem with weak functions that we can't have more than one > implementati

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

2018-01-26 Thread Andy Shevchenko
On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: > Add a function to get the address of the RSDP table. Per default use a > __weak annotated function being a nop. The problem with weak functions that we can't have more than one implementation per kernel while we would like to built several c