[PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in

[PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > There are several reports of freeze on enabling HWP (Hardware PStates) > feature on Skylake based systems by Intel P states driver. The root > cause is identified as the HWP interrupts causing BIOS code to freeze. > HWP interrupts uses thermal

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > There are several reports of freeze on enabling HWP (Hardware PStates) > feature on Skylake based systems by Intel P states driver. The root > cause is identified as the HWP interrupts causing BIOS code to freeze. > HWP interrupts uses thermal

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: > On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > > > > There are several reports of freeze on enabling HWP (Hardware > > PStates) > > feature on Skylake based systems by Intel P states driver. The root > > cause is identified as the HWP

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: > On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > > > > There are several reports of freeze on enabling HWP (Hardware > > PStates) > > feature on Skylake based systems by Intel P states driver. The root > > cause is identified as the HWP

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 4:36 PM, Srinivas Pandruvada wrote: > On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: >> On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: >>> >>> There are several reports of freeze on enabling HWP (Hardware >>> PStates) >>> feature on Skylake based systems by Intel P

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 4:36 PM, Srinivas Pandruvada wrote: > On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: >> On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: >>> >>> There are several reports of freeze on enabling HWP (Hardware >>> PStates) >>> feature on Skylake based systems by Intel P

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Rafael J. Wysocki
On Thursday, March 17, 2016 07:44:47 PM Linda Knippers wrote: > > On 3/17/2016 5:12 PM, Srinivas Pandruvada wrote: > > > This needs to be done > > before SMM code path looks for _OSC capabilities. The bit 12 of > > _OSC in processor scope defines whether OS will handle thermal >

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Rafael J. Wysocki
On Thursday, March 17, 2016 07:44:47 PM Linda Knippers wrote: > > On 3/17/2016 5:12 PM, Srinivas Pandruvada wrote: > > > This needs to be done > > before SMM code path looks for _OSC capabilities. The bit 12 of > > _OSC in processor scope defines whether OS will handle thermal >

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 5:12 PM, Srinivas Pandruvada wrote: > This needs to be done > before SMM code path looks for _OSC capabilities. The bit 12 of > _OSC in processor scope defines whether OS will handle thermal > interrupts. > When bit 12 is set to 1, OS will handle thermal

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 5:12 PM, Srinivas Pandruvada wrote: > This needs to be done > before SMM code path looks for _OSC capabilities. The bit 12 of > _OSC in processor scope defines whether OS will handle thermal > interrupts. > When bit 12 is set to 1, OS will handle thermal

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
On Thu, 2016-03-17 at 16:51 -0400, Linda Knippers wrote: > > On 3/17/2016 4:36 PM, Srinivas Pandruvada wrote: > > > > On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: > > > > > > On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > > > > > > > > > > > > There are several reports of

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
On Thu, 2016-03-17 at 16:51 -0400, Linda Knippers wrote: > > On 3/17/2016 4:36 PM, Srinivas Pandruvada wrote: > > > > On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: > > > > > > On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: > > > > > > > > > > > > There are several reports of

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 8:17 PM, Rafael J. Wysocki wrote: >>> This change introduces a new function >>> acpi_early_processor_set_osc(), >>> which walks acpi name space and finds acpi processor object and >>> set capability via _OSC method to take over thermal LVT. >> Does this change

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 8:17 PM, Rafael J. Wysocki wrote: >>> This change introduces a new function >>> acpi_early_processor_set_osc(), >>> which walks acpi name space and finds acpi processor object and >>> set capability via _OSC method to take over thermal LVT. >> Does this change