]> Gentwo Git Trees - linux/.git/commit
ACPI: CPPC: Simplify PCC shared memory region handling
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 11 Apr 2025 11:31:44 +0000 (12:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Apr 2025 19:51:23 +0000 (21:51 +0200)
commit3a3ce10e7adcc02b333ffebbc414162e5d22fd16
tree92c2f72a7837b053ec434971bb84bdba4c7e9b9f
parent8960c45a0f41399770d408921180231395604e2f
ACPI: CPPC: Simplify PCC shared memory region handling

The PCC driver now handles mapping and unmapping of shared memory
areas as part of pcc_mbox_{request,free}_channel(). Without these before,
this ACPI CPPC driver did handling of those mappings like several
other PCC mailbox client drivers.

There were redundant operations, leading to unnecessary code. Maintaining
the consistency across these driver was harder due to scattered handling
of shmem.

Just use the mapped shmem and remove all redundant operations from this
driver.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/20250411113144.1151094-2-sudeep.holla@arm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/cppc_acpi.c