mbox series

[V3,0/2] Optimize PCC OpRegion code and reset pcc_chan_count

Message ID 20221112020528.7837-1-lihuisong@huawei.com
Headers show
Series Optimize PCC OpRegion code and reset pcc_chan_count | expand

Message

lihuisong (C) Nov. 12, 2022, 2:05 a.m. UTC
This series clarifies the dependency of PCC OpRegion on interrupt and reset
pcc_chan_count to zero in case of PCC probe failure.


---
 - v3: fix commit log and goto tags.
 - v2: drop the patch that rename platform interrupt bit macro
---

Huisong Li (2):
  ACPI: PCC: Setup PCC Opregion handler only if platform interrupt is
    available
  mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe
    failure

 drivers/acpi/acpi_pcc.c | 47 +++++++++++++++++++++++++----------------
 drivers/mailbox/pcc.c   |  1 +
 2 files changed, 30 insertions(+), 18 deletions(-)

Comments

Rafael J. Wysocki Nov. 23, 2022, 6:28 p.m. UTC | #1
On Sat, Nov 12, 2022 at 3:07 AM Huisong Li <lihuisong@huawei.com> wrote:
>
> This series clarifies the dependency of PCC OpRegion on interrupt and reset
> pcc_chan_count to zero in case of PCC probe failure.
>
>
> ---
>  - v3: fix commit log and goto tags.
>  - v2: drop the patch that rename platform interrupt bit macro
> ---
>
> Huisong Li (2):
>   ACPI: PCC: Setup PCC Opregion handler only if platform interrupt is
>     available
>   mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe
>     failure
>
>  drivers/acpi/acpi_pcc.c | 47 +++++++++++++++++++++++++----------------
>  drivers/mailbox/pcc.c   |  1 +
>  2 files changed, 30 insertions(+), 18 deletions(-)
>
> --

Both applied as 6.2 material, thanks!