1. 16 5月, 2014 3 次提交
    • T
      ACPI / processor: Fix STARTING/DYING action in acpi_cpu_soft_notify() · 8da83734
      Toshi Kani 提交于
      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: NToshi Kani <toshi.kani@hp.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8da83734
    • B
      ACPI / processor: Check if LAPIC is present during initialization · c401eb8e
      Baoquan He 提交于
      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: NBaoquan He <bhe@redhat.com>
      [rjw: Subject and changelog]
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c401eb8e
    • B
      ACPI / ia64: introduce variable acpi_lapic into ia64 · 247dba58
      Baoquan He 提交于
      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: NBaoquan He <bhe@redhat.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      247dba58
  2. 15 5月, 2014 4 次提交
    • R
      Merge branch 'pm-cpufreq' · 68c8829d
      Rafael J. Wysocki 提交于
      * pm-cpufreq:
        intel_pstate: remove setting P state to MAX on init
        intel_pstate: Set turbo VID for BayTrail
      68c8829d
    • R
      Merge branches 'acpi-video' and 'acpi-blacklist' · 75fa7d28
      Rafael J. Wysocki 提交于
      * 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
    • R
      Merge branches 'acpi-ac' and 'acpi-proc' · 3011ef60
      Rafael J. Wysocki 提交于
      * 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
    • R
      Merge branches 'acpica', 'acpi-tpm' and 'acpi-processor' · 7d18aecd
      Rafael J. Wysocki 提交于
      * 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 5月, 2014 3 次提交
  4. 12 5月, 2014 2 次提交
  5. 10 5月, 2014 3 次提交
    • R
      ACPI / proc: Do not say when /proc interfaces will be deleted in Kconfig · 3afcb96f
      Rafael J. Wysocki 提交于
      Do not tell people in the Kconfig help when exactly we are going to
      remove the deprecated ACPI interfaces in /proc, because, honestly,
      we don't know.  We will remove them when they are not used any more.
      
      In particular, do not tell them that the interfaces will be removed
      in a kernel release that already happened long ago.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3afcb96f
    • L
      Linux 3.15-rc5 · d6d211db
      Linus Torvalds 提交于
      d6d211db
    • L
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 181da3c3
      Linus Torvalds 提交于
      Pull x86 fixes from Peter Anvin:
       "A somewhat unpleasantly large collection of small fixes.  The big ones
        are the __visible tree sweep and a fix for 'earlyprintk=efi,keep'.  It
        was using __init functions with predictably suboptimal results.
      
        Another key fix is a build fix which would produce output that simply
        would not decompress correctly in some configuration, due to the
        existing Makefiles picking up an unfortunate local label and mistaking
        it for the global symbol _end.
      
        Additional fixes include the handling of 64-bit numbers when setting
        the vdso data page (a latent bug which became manifest when i386
        started exporting a vdso with time functions), a fix to the new MSR
        manipulation accessors which would cause features to not get properly
        unblocked, a build fix for 32-bit userland, and a few new platform
        quirks"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, vdso, time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()
        x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro
        x86: Fix typo preventing msr_set/clear_bit from having an effect
        x86/intel: Add quirk to disable HPET for the Baytrail platform
        x86/hpet: Make boot_hpet_disable extern
        x86-64, build: Fix stack protector Makefile breakage with 32-bit userland
        x86/reboot: Add reboot quirk for Certec BPC600
        asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*
        asmlinkage, x86: Add explicit __visible to arch/x86/*
        asmlinkage: Revert "lto: Make asmlinkage __visible"
        x86, build: Don't get confused by local symbols
        x86/efi: earlyprintk=efi,keep fix
      181da3c3
  6. 09 5月, 2014 8 次提交
  7. 08 5月, 2014 14 次提交
  8. 07 5月, 2014 3 次提交