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

David Hunt david.hunt at intel.com
Tue Jun 22 15:00:27 CEST 2021


On 22/6/2021 1:43 PM, David Hunt wrote:
> From: Anatoly Burakov <anatoly.burakov at intel.com>
>
> 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-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Signed-off-by: David Hunt <david.hunt at intel.com>
>
> ---
> changes in v2
> * fixed bugs raised by Richael Zhuang in review - open file rw+, etc.
> * removed FOPS* and FOPEN* macros, which contained control statements.
> * fixed some checkpatch warnings.




Please ignore, should have been sent as v5.




More information about the dev mailing list