From f7d1c8d1eb651dcf1c692e33fd662500e93ad1fc Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 28 Nov 2018 12:22:59 +0100 Subject: soc/intel/broadwell: Rework acpi/cpu.asl Use acpigen_write_processor_cnot to implement notifications to the CPU. Automatically generate \PPKG in SSDT. Change-Id: I79d2eed9b89b420554ce10d1fc0f151b1872afe2 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/29890 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie --- src/soc/intel/broadwell/acpi.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel/broadwell/acpi.c') diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c index 2d9d0b7050..9c6bd9b125 100644 --- a/src/soc/intel/broadwell/acpi.c +++ b/src/soc/intel/broadwell/acpi.c @@ -570,6 +570,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); } static unsigned long acpi_fill_dmar(unsigned long current) -- cgit v1.2.3