1. 16 May, 2014 3 commits
    • Toshi Kani's avatar
      ACPI / processor: Fix STARTING/DYING action in acpi_cpu_soft_notify() · 8da83734
      Toshi Kani authored
      During CPU online/offline testing on a large system, one of the
      processors got stuck after the message "bad: scheduling from the
      idle thread!".  The problem is that acpi_cpu_soft_notify() calls
      acpi_bus_get_device() for all action types.  CPU_STARTING and
      CPU_DYING do not allow the notify handlers to sleep.  However,
      acpi_bus_get_device() can sleep in acpi_ut_acquire_mutex().
      
      Change acpi_cpu_soft_notify() to return immediately for CPU_STARTING
      and CPU_DYING as they have no action in this handler.
      Signed-off-by: default avatarToshi Kani <toshi.kani@hp.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8da83734
    • Baoquan He's avatar
      ACPI / processor: Check if LAPIC is present during initialization · c401eb8e
      Baoquan He authored
      In acpi_processor_get_info(), ACPI processor info is initialized including
      ID, namely CPU index. Currently, on a UP system running an SMP kerenl with
      no LAPIC in the MADT, cpu0_initialized is checked to decide whether or not
      the CPU has been initialized.
      
      However, this check may not be sufficient for kdump kernels. Most of time
      only 1 CPU is supported because of known problems in kdump kernels. So say
      the multiple CPUs are present in the boot kernel and a crash happens on
      one specific CPU, say CPU2. Then it jumps into the kdump kernel with
      "nr_cpus=1" in the command line. In this situation, the kdump kernel
      will reuse the ACPI resources from the crashed kernel directly. That
      means all LAPIC instances are enabled in the MADT while only one CPU is
      in use.  In the kdump kernel, x86_cpu_to_apicid contains the correct APIC
      ID and it's related to the CPU ID. If cpu0_initialized is checked only, 0
      will be used as the CPU index instead of that APIC ID, which is not
      correct.
      
      In addition to checking cpu0_initialized, check acpi_lapic. If acpi_lapic
      is 0, then no LAPIC is available from the MADT and the system should be
      treated as a UP one without a LAPIC (that is, assign 0 to the CPU index).
      Otherwise, use the original (valid) CPU index.
      Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
      [rjw: Subject and changelog]
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c401eb8e
    • Baoquan He's avatar
      ACPI / ia64: introduce variable acpi_lapic into ia64 · 247dba58
      Baoquan He authored
      This variable was defined and assigned in x86, is used to indicate
      whether LAPIC exists in MADT. Now introduce it into ia64 to help
      make correct judgment when get information for ACPI processor later.
      Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      247dba58
  2. 15 May, 2014 4 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 68c8829d
      Rafael J. Wysocki authored
      * pm-cpufreq:
        intel_pstate: remove setting P state to MAX on init
        intel_pstate: Set turbo VID for BayTrail
      68c8829d
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-video' and 'acpi-blacklist' · 75fa7d28
      Rafael J. Wysocki authored
      * acpi-video:
        ACPI / video: correct DMI tag for Dell Inspiron 7520
        ACPI / video: Add use_native_backlight quirks for more systems
      
      * acpi-blacklist:
        ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX
        ACPI: blacklist win8 OSI for Dell Inspiron 7737
      75fa7d28
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-ac' and 'acpi-proc' · 3011ef60
      Rafael J. Wysocki authored
      * acpi-ac:
        ACPI: Revert "ACPI / AC: convert ACPI ac driver to platform bus"
      
      * acpi-proc:
        ACPI / proc: Do not say when /proc interfaces will be deleted in Kconfig
        ACPI: Revert "ACPI / Battery: Remove battery's proc directory"
        ACPI: Revert "ACPI: Remove CONFIG_ACPI_PROCFS_POWER and cm_sbsc.c"
      3011ef60
    • Rafael J. Wysocki's avatar
      Merge branches 'acpica', 'acpi-tpm' and 'acpi-processor' · 7d18aecd
      Rafael J. Wysocki authored
      * acpica:
        ACPICA: Tables: Restore old behavor to favor 32-bit FADT addresses.
        ACPICA: Tables: Fix invalid pointer accesses in acpi_tb_parse_root_table().
      
      * acpi-tpm:
        ACPI / TPM: Fix resume regression on Chromebooks
      
      * acpi-processor:
        ACPI / processor: do not mark present at boot but not onlined CPU as onlined
      7d18aecd
  3. 13 May, 2014 3 commits
  4. 11 May, 2014 2 commits
  5. 10 May, 2014 1 commit
  6. 09 May, 2014 6 commits
  7. 08 May, 2014 10 commits
  8. 07 May, 2014 9 commits
  9. 06 May, 2014 2 commits