From 8f05527485776aab00115cfcb627c5eeb6debcde Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 28 Nov 2018 13:18:57 +0100 Subject: arch/x86/acpigen.c: Add a method to notify all CPU cores Change-Id: If8b07fdcec51c344a82309d4af3b6127ad758baf Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/29895 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/cpu/intel/speedstep/acpi.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index 0feaa2f4c2..b5e2c9e9e2 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -166,15 +166,5 @@ void generate_cpu_entries(struct device *device) of the first and only package. */ acpigen_write_processor_package("PPKG", 0, cores_per_package); - /* Add a method to notify processor nodes */ - acpigen_write_method("\\_PR.CNOT", 1); - for (coreID = 0; coreID < cores_per_package; coreID++) { - char buffer[DEVICE_PATH_MAX]; - snprintf(buffer, sizeof(buffer), "\\_PR.CP%c%c", - '0' + coreID / 10, '0' + coreID % 10); - acpigen_emit_byte(NOTIFY_OP); - acpigen_emit_namestring(buffer); - acpigen_emit_byte(ARG0_OP); - } - acpigen_pop_len(); + acpigen_write_processor_cnot(cores_per_package); } -- cgit v1.2.3