mbox series

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

Message ID 20221110015034.7943-1-lihuisong@huawei.com (mailing list archive)
Headers show
Series ACPI: PCC: optimize pcc codes and fix one bug | expand

Message

lihuisong (C) Nov. 10, 2022, 1:50 a.m. UTC
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(-)