[PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-07-04 Thread Hoan Tran
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform supports CPPC, the _CPC object must exist under all processor objects. If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() should return error and CPPC cpufreq driver can not be registered. Signed-off-by: Hoan Tran

[PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-07-04 Thread Hoan Tran
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform supports CPPC, the _CPC object must exist under all processor objects. If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() should return error and CPPC cpufreq driver can not be registered. Signed-off-by: Hoan Tran

Re: [PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-24 Thread Rafael J. Wysocki
On Wednesday, June 22, 2016 11:01:42 AM Prakash, Prashanth wrote: > Hi Hoan, > > On 6/17/2016 4:16 PM, Hoan Tran wrote: > > Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform > > supports CPPC, the _CPC object must exist under all processor objects. > > If cpc_desc_ptr pointer is

Re: [PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-24 Thread Rafael J. Wysocki
On Wednesday, June 22, 2016 11:01:42 AM Prakash, Prashanth wrote: > Hi Hoan, > > On 6/17/2016 4:16 PM, Hoan Tran wrote: > > Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform > > supports CPPC, the _CPC object must exist under all processor objects. > > If cpc_desc_ptr pointer is

Re: [PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-22 Thread Prakash, Prashanth
Hi Hoan, On 6/17/2016 4:16 PM, Hoan Tran wrote: > Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform > supports CPPC, the _CPC object must exist under all processor objects. > If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() > should return error and CPPC

Re: [PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-22 Thread Prakash, Prashanth
Hi Hoan, On 6/17/2016 4:16 PM, Hoan Tran wrote: > Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform > supports CPPC, the _CPC object must exist under all processor objects. > If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() > should return error and CPPC

[PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-17 Thread Hoan Tran
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform supports CPPC, the _CPC object must exist under all processor objects. If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() should return error and CPPC cpufreq driver can not be registered. Signed-off-by: Hoan Tran

[PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-17 Thread Hoan Tran
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform supports CPPC, the _CPC object must exist under all processor objects. If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map() should return error and CPPC cpufreq driver can not be registered. Signed-off-by: Hoan Tran