summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-09-22 15:43:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-25 18:16:26 +0200
commitfa9c7ee692988edddc1da74bc5257d53dd3c7130 (patch)
treef40e7480e652adbd90f279acac16ff0bbf617ee9 /tools/perf/scripts/python/bin/stackcollapse-report
parent46c263c213876bdc2297ef61aa90f0b210ebac73 (diff)
ACPI: PCC: Free channel on OpRegion deactivation
ACPICA calls the address space setup callback with ACPI_REGION_DEACTIVATE when a PCC OperationRegion is torn down. The PCC setup callback currently allocates a fresh pcc_data and requests the mailbox channel before looking at the function argument. If ACPICA deactivates a region, this can leave the existing region context and mailbox channel unreleased, and may also request a channel during teardown. Handle ACPI_REGION_DEACTIVATE before allocation. Free the PCC mailbox channel, release the region context and clear the context pointer. Fixes: 77e2a04745ff ("ACPI: PCC: Implement OperationRegion handler for the PCC Type 3 subtype") Reviewed-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org> Link: https://patch.msgid.link/20260922144302.3847593-4-sudeep.holla@kernel.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions