Re: [PATCH] ACPI: processor: fix LPI when built as module

2017-05-26 Thread Mian Yousaf Kaukab
On 5/23/17 3:08 PM, Sudeep Holla wrote: On 19/05/17 10:28, Mian Yousaf Kaukab wrote: Low Power Idle(LPI) support added acpi_processor_ffh_lpi_probe() and acpi_processor_ffh_lpi_enter() as __weak functions and arch code is supposed to provide the actual callbacks. This breaks if ACPI_PROCESSOR

Re: [PATCH] ACPI: processor: fix LPI when built as module

2017-05-23 Thread Sudeep Holla
On 19/05/17 10:28, Mian Yousaf Kaukab wrote: > Low Power Idle(LPI) support added acpi_processor_ffh_lpi_probe() and > acpi_processor_ffh_lpi_enter() as __weak functions and arch code is > supposed to provide the actual callbacks. This breaks if > ACPI_PROCESSOR is configured as a module. > > Add

[PATCH] ACPI: processor: fix LPI when built as module

2017-05-19 Thread Mian Yousaf Kaukab
Low Power Idle(LPI) support added acpi_processor_ffh_lpi_probe() and acpi_processor_ffh_lpi_enter() as __weak functions and arch code is supposed to provide the actual callbacks. This breaks if ACPI_PROCESSOR is configured as a module. Add CONFIG_ARCH_HAS_ACPI_LPI configuration option to fix this.