Re: [dpdk-dev] [PATCH v1 1/1] power: do not skip saving original acpi governor

2021-05-05 Thread Thomas Monjalon
28/04/2021 17:41, Pattan, Reshma: > > > -Original Message- > > From: dev On Behalf Of Anatoly Burakov > > + /* Save the original governor */ > > + rte_strscpy(pi->governor_ori, buf, sizeof(pi->governor_ori)); > > + > > Acked-by: Reshma Pattan Applied, thanks

Re: [dpdk-dev] [PATCH v1 1/1] power: do not skip saving original acpi governor

2021-04-28 Thread Pattan, Reshma
> -Original Message- > From: dev On Behalf Of Anatoly Burakov > + /* Save the original governor */ > + rte_strscpy(pi->governor_ori, buf, sizeof(pi->governor_ori)); > + Acked-by: Reshma Pattan

[dpdk-dev] [PATCH v1 1/1] power: do not skip saving original acpi governor

2021-04-23 Thread Anatoly Burakov
Currently, when we set the acpi governor to "userspace", we check if it is already set to this value, and if it is, we skip setting it. However, we never save this value anywhere, so that next time we come back and request the governor to be set to its original value, the original value is empty.