From: Rafael J. Wysocki Date: Mon, 26 Apr 2021 15:03:05 +0000 (+0200) Subject: Merge branches 'acpi-pci' and 'acpi-processor' X-Git-Tag: v5.15~1299^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25d95763269135b995a10f7ff9662aae66094258;p=platform%2Fkernel%2Flinux-starfive.git Merge branches 'acpi-pci' and 'acpi-processor' * acpi-pci: ACPI: PCI: Replace direct printk() invocations in pci_link.c ACPI: PCI: Drop ACPI_PCI_COMPONENT that is not used any more ACPI: PCI: Replace ACPI_DEBUG_PRINT() and ACPI_EXCEPTION() ACPI: PCI: IRQ: Consolidate printing diagnostic messages * acpi-processor: ACPI: processor: perflib: Eliminate redundant status check ACPI: processor: Get rid of ACPICA message printing ACPI: processor: idle: Drop extra prefix from pr_notice() ACPI: processor: Remove initialization of static variable --- 25d95763269135b995a10f7ff9662aae66094258 diff --cc drivers/acpi/processor_idle.c index 4e2d76b,d93e400,0925b14..45a0196 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@@@ -29,12 -29,11 -29,9 +29,9 @@@@ */ #ifdef CONFIG_X86 #include + #include #endif -- #define _COMPONENT ACPI_PROCESSOR_COMPONENT -- ACPI_MODULE_NAME("processor_idle"); -- #define ACPI_IDLE_STATE_START (IS_ENABLED(CONFIG_ARCH_HAS_CPU_RELAX) ? 1 : 0) static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER; @@@@ -542,10 -541,6 -538,12 +538,10 @@@@ static int acpi_idle_play_dead(struct c wait_for_freeze(); } else return -ENODEV; + + #if defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU) - /* If NMI wants to wake up CPU0, start CPU0. */ - if (wakeup_cpu0()) - start_cpu0(); ++ cond_wakeup_cpu0(); + #endif } /* Never reached */