summaryrefslogtreecommitdiffstats
path: root/src/cpu/intel/haswell/acpi.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-11-28 12:09:23 +0100
committerDuncan Laurie <dlaurie@chromium.org>2018-11-30 21:52:00 +0000
commitc54d14f5b45af0f64826c0a09eed3ab5740780ef (patch)
tree3cdfe29f9108c18f33a7531627693c56536e2a1a /src/cpu/intel/haswell/acpi.c
parent8afc1352f01bc96c2afdb9979fc9dbcdb19693e2 (diff)
downloadcoreboot-c54d14f5b45af0f64826c0a09eed3ab5740780ef.tar.gz
coreboot-c54d14f5b45af0f64826c0a09eed3ab5740780ef.tar.bz2
coreboot-c54d14f5b45af0f64826c0a09eed3ab5740780ef.zip
cpu/intel/haswell: Rework acpi/cpu.asl
Use acpigen_write_processor_cnot to implement notifications the CPU. Generate PPKG in SSDT. Change-Id: I126989e8737720f55f7ce113ff4e32bfe0f22620 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/29885 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/intel/haswell/acpi.c')
-rw-r--r--src/cpu/intel/haswell/acpi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c
index 40279bfb401f..9dcd8ece1e2d 100644
--- a/src/cpu/intel/haswell/acpi.c
+++ b/src/cpu/intel/haswell/acpi.c
@@ -339,6 +339,13 @@ void generate_cpu_entries(struct device *device)
acpigen_pop_len();
}
}
+
+ /* PPKG is usually used for thermal management
+ of the first and only package. */
+ acpigen_write_processor_package("PPKG", 0, cores_per_package);
+
+ /* Add a method to notify processor nodes */
+ acpigen_write_processor_cnot(cores_per_package);
}
struct chip_operations cpu_intel_haswell_ops = {