diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-11-28 12:09:23 +0100 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2018-11-30 21:52:00 +0000 |
commit | c54d14f5b45af0f64826c0a09eed3ab5740780ef (patch) | |
tree | 3cdfe29f9108c18f33a7531627693c56536e2a1a /src/cpu/intel/haswell/acpi.c | |
parent | 8afc1352f01bc96c2afdb9979fc9dbcdb19693e2 (diff) | |
download | coreboot-c54d14f5b45af0f64826c0a09eed3ab5740780ef.tar.xz |
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.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c index 40279bfb40..9dcd8ece1e 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 = { |