[PATCH 0/3] ACPI: PCC: optimize pcc codes and fix one bug

From: Huisong Li
Date: Wed Nov 09 2022 - 20:52:55 EST


This series optimizes PCC codes as follows:
- Rename platform interrupt bit macro name to make it more reasonable and
readable.
- add check for platform interrupt in acpi_pcc.c

In addition, this series fixes a problem that mailbox channel can still be
requested successfully when fail to initialize PCC.

Huisong Li (3):
mailbox: pcc: rename platform interrupt bit macro name
ACPI: PCC: add check for platform interrupt
mailbox: pcc: fix 'pcc_chan_count' when fail to initialize PCC

drivers/acpi/acpi_pcc.c | 47 +++++++++++++++++++++++++----------------
drivers/mailbox/pcc.c | 13 ++++++++----
include/acpi/actbl2.h | 2 +-
3 files changed, 39 insertions(+), 23 deletions(-)

--
2.22.0