]> Git Repo - linux.git/commit
ACPI: CPPC: Check _OSC for flexible address space
authorPierre Gondois <[email protected]>
Wed, 18 May 2022 09:08:57 +0000 (11:08 +0200)
committerRafael J. Wysocki <[email protected]>
Thu, 19 May 2022 17:45:34 +0000 (19:45 +0200)
commit0651ab90e4ade17f1d4f4367b70f6120480410f3
tree5876bb3f8913c34b617e391d7fa36d59a8a02ed7
parent514ff1bcd98d7f57361025e2200b803d3ddde6c8
ACPI: CPPC: Check _OSC for flexible address space

ACPI 6.2 Section 6.2.11.2 'Platform-Wide OSPM Capabilities':
  Starting with ACPI Specification 6.2, all _CPC registers can be in
  PCC, System Memory, System IO, or Functional Fixed Hardware address
  spaces. OSPM support for this more flexible register space scheme is
  indicated by the “Flexible Address Space for CPPC Registers” _OSC bit

Otherwise (cf ACPI 6.1, s8.4.7.1.1.X), _CPC registers must be in:
- PCC or Functional Fixed Hardware address space if defined
- SystemMemory address space (NULL register) if not defined

Add the corresponding _OSC bit and check it when parsing _CPC objects.

Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/bus.c
drivers/acpi/cppc_acpi.c
include/linux/acpi.h
This page took 0.065439 seconds and 4 git commands to generate.