]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI / CPPC: Add support for functional fixed hardware address
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 1 Sep 2016 20:37:10 +0000 (13:37 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Sep 2016 21:02:14 +0000 (23:02 +0200)
commita6cbcdd5ab5f242d49f511127f0a601b71be2cc4
tree6c7b1fad06bc5dfce0d10ffa9c6903959060df8e
parent5448f14698b916e5b04112b104433b90247e01c7
ACPI / CPPC: Add support for functional fixed hardware address

The CPPC registers can also be accessed via functional fixed hardware
addresse(FFH) in X86. Add support by modifying cpc_read and cpc_write to
be able to read/write MSRs on x86 platform on per cpu basis.
Also with this change, acpi_cppc_processor_probe doesn't bail out if
address space id is not equal to PCC or memory address space and FFH
is supported on the system.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/Makefile
arch/x86/kernel/acpi/cppc_msr.c [new file with mode: 0644]
drivers/acpi/cppc_acpi.c