]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge branches 'acpi-processor' and 'acpi-pci' into linux-next
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Apr 2021 12:55:23 +0000 (14:55 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Apr 2021 12:55:23 +0000 (14:55 +0200)
* 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

* 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

1  2  3 
Documentation/firmware-guide/acpi/debug.rst
drivers/acpi/processor_idle.c
drivers/acpi/sysfs.c
include/acpi/acpi_drivers.h

index 4e2d76b8b697ecb7f7f14d4dfaab4a9a3e64909f,0925b14772309815d58a32db02319bd570529633,d93e400940a31b28aa90139e6958cae49abdd703..45a019619e4a5657d51e238f6af01d9ec3ad739c
    */
   #ifdef CONFIG_X86
   #include <asm/apic.h>
  +#include <asm/cpu.h>
   #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 -538,12 -541,6 +538,10 @@@@ static int acpi_idle_play_dead(struct c
                        wait_for_freeze();
                } else
                        return -ENODEV;
 -              /* If NMI wants to wake up CPU0, start CPU0. */
 -              if (wakeup_cpu0())
 -                      start_cpu0();
  +
  +#if defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU)
 ++             cond_wakeup_cpu0();
  +#endif
        }
   
        /* Never reached */
Simple merge
Simple merge