Re: [dpdk-dev] [PATCH v2 2/2] power: refactor pstate and acpi code

2021-06-22 Thread David Hunt
On 22/6/2021 1:43 PM, David Hunt wrote: From: Anatoly Burakov Currently, ACPI and PSTATE modes have lots of code duplication, confusing logic, and a bunch of other issues that can, and have, led to various bugs and resource leaks. This commit factors out the common parts of sysfs reading/wri

[dpdk-dev] [PATCH v2 2/2] power: refactor pstate and acpi code

2021-06-22 Thread David Hunt
From: Anatoly Burakov Currently, ACPI and PSTATE modes have lots of code duplication, confusing logic, and a bunch of other issues that can, and have, led to various bugs and resource leaks. This commit factors out the common parts of sysfs reading/writing for ACPI and PSTATE drivers. Signed-of