Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-13 Thread Daniel Lezcano
On 13/12/2020 02:11, Matthew Garrett wrote: > On Sun, Dec 13, 2020 at 12:39:26AM +0100, Daniel Lezcano wrote: >> On 12/12/2020 21:08, Matthew Garrett wrote: >>> Anything that provides a trip point that has no active notifications and >>> doesn't provide any information that tells the kernel to poll

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Matthew Garrett
On Sun, Dec 13, 2020 at 12:39:26AM +0100, Daniel Lezcano wrote: > On 12/12/2020 21:08, Matthew Garrett wrote: > > Anything that provides a trip point that has no active notifications and > > doesn't provide any information that tells the kernel to poll it. > > I'm not able to create a setup as you

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Daniel Lezcano
On 12/12/2020 21:08, Matthew Garrett wrote: > On Sat, Dec 12, 2020 at 10:11:31AM +0100, Daniel Lezcano wrote: >> On 12/12/2020 04:50, Matthew Garrett wrote: >>> Yes - what's the reason to do so? >> >> I'm cleaning up the thermal core code, so questioning every old ABI. >> >>> The code isn't specifi

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Matthew Garrett
On Sat, Dec 12, 2020 at 10:11:31AM +0100, Daniel Lezcano wrote: > On 12/12/2020 04:50, Matthew Garrett wrote: > > Yes - what's the reason to do so? > > I'm cleaning up the thermal core code, so questioning every old ABI. > > > The code isn't specific to ACPI, > > so being able to override ACPI ta

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-12 Thread Daniel Lezcano
On 12/12/2020 04:50, Matthew Garrett wrote: > On Fri, Dec 11, 2020 at 02:17:55PM +0100, Daniel Lezcano wrote: >> On 08/12/2020 16:30, Daniel Lezcano wrote: >>> The passive file in sysfs forces the usage of a passive trip point set >>> by the userspace when a broken BIOS does not provide the mitigat

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-11 Thread Matthew Garrett
On Fri, Dec 11, 2020 at 02:17:55PM +0100, Daniel Lezcano wrote: > On 08/12/2020 16:30, Daniel Lezcano wrote: > > The passive file in sysfs forces the usage of a passive trip point set > > by the userspace when a broken BIOS does not provide the mitigation > > temperature for such thermal zone. The

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-11 Thread Daniel Lezcano
On 08/12/2020 16:30, Daniel Lezcano wrote: > The passive file in sysfs forces the usage of a passive trip point set > by the userspace when a broken BIOS does not provide the mitigation > temperature for such thermal zone. The hardware evolved a lot since > 2008 as a good thermal management is no l

[PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-08 Thread Daniel Lezcano
The passive file in sysfs forces the usage of a passive trip point set by the userspace when a broken BIOS does not provide the mitigation temperature for such thermal zone. The hardware evolved a lot since 2008 as a good thermal management is no longer an option. Linux on the other side also prov