Skip to content
  1. Jul 28, 2017
    • Linus Torvalds's avatar
      Merge tag 'acpi-4.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0ce2f385
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These are two fixups for the suspend-to-idle handling in the ACPI
        subsystem after recent changes in that area and two simple fixes of
        the ACPI NUMA code.
      
        Specifics:
      
         - Add an ACPI module parameter to allow users to override the new
           default behavior on some systems where the EC GPE is not disabled
           during suspend-to-idle in case the EC on their systems generates
           excessive wakeup events and they want to sacrifice some
           functionality (like power button wakeups) for extra battery life
           while suspended (Rafael Wysocki).
      
         - Fix flushing of the outstanding EC work in the ACPI core
           suspend-to-idle code (Rafael Wysocki).
      
         - Add a missing include and fix a messed-up comment in the ACPI NUMA
           code (Ross Zwisler)"
      
      * tag 'acpi-4.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: NUMA: Fix typo in the full name of SRAT
        ACPI: NUMA: add missing include in acpi_numa.h
        ACPI / PM / EC: Flush all EC work in acpi_freeze_sync()
        ACPI / EC: Add parameter to force disable the GPE on suspend
      0ce2f385
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pm' and 'acpi-numa' · f6248dd8
      Rafael J. Wysocki authored
      * acpi-pm:
        ACPI / PM / EC: Flush all EC work in acpi_freeze_sync()
        ACPI / EC: Add parameter to force disable the GPE on suspend
      
      * acpi-numa:
        ACPI: NUMA: Fix typo in the full name of SRAT
        ACPI: NUMA: add missing include in acpi_numa.h
      f6248dd8
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 36cb531d
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
      
       - The majority of lines changed are due to regenerated defconfig files.
      
       - The support for the Page Deallocation Table (PDT) which was merged in
         the merge window for 4.13 contained a bug which crashes the kernel if
         a bad page is reported by firmware. This is now fixed and the kernel
         messages will show which memory slot holds the broken DIMM.
      
       - Commit 3a166fc2 ("kbuild: handle libs-y archives separately from
         built-in.o archives") broke linking the parisc kernel due to
         millicode symbols which can't be reached then any longer. This was
         fixed by modifying the parisc vmlinux.lds linker script.
      
       - If the stack checker panics on stack overflow, avoid recursive
         panics.
      
       - Some parisc machines can't physically power off and thus instead
         start after some time to flood the console by presumably detected
         soft lockups. Avoid this by disabling the lockup detectors before
         entering the endless for-next loop.
      
       - Dave Anglin provided fixes which prevents TLB speculation on flushed
         pages on PA8800/PA9000 CPUs.
      
       - Arvind Yadav sent a trivial patch to constify the attribute_group
         structure in our firmware on-board-flash storage driver
         (pdc_stable.c)
      
      * 'parisc-4.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Extend disabled preemption in copy_user_page
        parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases
        parisc: Suspend lockup detectors before system halt
        parisc: Show DIMM slot number which holds broken memory module
        parisc: Add function to return DIMM slot of physical address
        parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function
        parisc: regenerate defconfig files
        parisc: pdc_stable: constify attribute_group structures.
        parisc: Merge millicode routines via linker script
        parisc: Disable further stack checks when panic occurs during stack check
      36cb531d
    • Linus Torvalds's avatar
      Merge tag 'sound-4.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 8cdaad96
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This is a pretty boring pull request, containing a few HD-audio quirks
        and ID updates as usual suspects, as well as a fix for a regression of
        FM801 chip on ia64 (what a legacy combination!)"
      
      * tag 'sound-4.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Add mute led support for HP ProBook 440 G4
        ALSA: hda/realtek - No loopback on ALC225/ALC295 codec
        ALSA: hda/realtek - Update headset mode for ALC225
        ALSA: fm801: Initialize chip after IRQ handler is registered
        ALSA: hda/realtek - Update headset mode for ALC298
        ALSA: hda - Add missing NVIDIA GPU codec IDs to patch table
      8cdaad96
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm · 60187bd4
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
       "Two areas addressed by these fixes:
      
         - Fixes from Dave Martin for the signal frames that were broken with
           certain configurations. No one noticed until recently.
      
         - More kexec fixes to ensure that the crashkernel region is correctly
           allocated, and a fix for the location of the device tree when
           several kexec kernels are loaded"
      
      * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8687/1: signal: Fix unparseable iwmmxt_sigframe in uc_regspace[]
        ARM: 8686/1: iwmmxt: Add missing __user annotations to sigframe accessors
        ARM: kexec: fix failure to boot crash kernel
        ARM: kexec: avoid allocating crashkernel region outside lowmem
      60187bd4
  2. Jul 27, 2017
  3. Jul 26, 2017
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · fd2b2c57
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Three small fixes.
      
        The transfer size fixes are actually correcting some performance drops
        on the hpsa and smartpqi cards. The cards actually have an internal
        cache for request speed up but bypass it for transfers > 1MB. Since
        4.3 the efficiency of our merges has rendered the cache mostly unused,
        so limit transfers to under 1MB to recover the cache boost"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: sg: fix static checker warning in sg_is_valid_dxfer
        scsi: smartpqi: limit transfer length to 1MB
        scsi: hpsa: limit transfer length to 1MB
      fd2b2c57
    • Linus Torvalds's avatar
      Merge tag 'uuid-for-4.13-2' of git://git.infradead.org/users/hch/uuid · 5d4eeb8a
      Linus Torvalds authored
      Pull uuid fixes from Christoph Hellwig:
      
       - add a missing "!" in the uuid tests
      
       - remove the last remaining user of the uuid_be type, and then the type
         and its helpers
      
      * tag 'uuid-for-4.13-2' of git://git.infradead.org/users/hch/uuid:
        uuid: remove uuid_be
        thunderbolt: use uuid_t instead of uuid_be
        uuid: fix incorrect uuid_equal conversion in test_uuid_test
      5d4eeb8a
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-4.13-2' of git://git.infradead.org/users/hch/dma-mapping · cef55b51
      Linus Torvalds authored
      Pull dma mapping fixes from Christoph Hellwig:
       "split the global dma coherent pool from the per-device pool.
      
        This fixes a regression in the earlier 4.13 pull requests where the
        global pool would override a per-device CMA pool (Vladimir Murzin)"
      
      * tag 'dma-mapping-4.13-2' of git://git.infradead.org/users/hch/dma-mapping:
        ARM: NOMMU: Wire-up default DMA interface
        dma-coherent: introduce interface for default DMA pool
      cef55b51
    • John David Anglin's avatar
      parisc: Extend disabled preemption in copy_user_page · 56008c04
      John David Anglin authored
      
      
      It's always bothered me that we only disable preemption in
      copy_user_page around the call to flush_dcache_page_asm.
      This patch extends this to after the copy.
      
      Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
      Cc: stable@vger.kernel.org # 4.9+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      56008c04
    • John David Anglin's avatar
      parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases · ae7a609c
      John David Anglin authored
      
      
      Helge noticed that we flush the TLB page in flush_cache_page but not in
      flush_cache_range or flush_cache_mm.
      
      For a long time, we have had random segmentation faults building
      packages on machines with PA8800/8900 processors.  These machines only
      support equivalent aliases.  We don't see these faults on machines that
      don't require strict coherency.  So, it appears TLB speculation
      sometimes leads to cache corruption on machines that require coherency.
      
      This patch adds TLB flushes to flush_cache_range and flush_cache_mm when
      coherency is required.  We only flush the TLB in flush_cache_page when
      coherency is required.
      
      The patch also optimizes flush_cache_range.  It turns out we always have
      the right context to use flush_user_dcache_range_asm and
      flush_user_icache_range_asm.
      
      The patch has been tested for some time on rp3440, rp3410 and A500-44.
      It's been boot tested on c8000.  No random segmentation faults were
      observed during testing.
      
      Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
      Cc: stable@vger.kernel.org # 4.9+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      ae7a609c
    • Kai-Heng Feng's avatar
      ALSA: hda - Add mute led support for HP ProBook 440 G4 · ba92b114
      Kai-Heng Feng authored
      
      
      Mic mute led does not work on HP ProBook 440 G4.
      We can use CXT_FIXUP_MUTE_LED_GPIO fixup to support it.
      
      BugLink: https://bugs.launchpad.net/bugs/1705586
      Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Cc: <stable@vger.kernel.org> # v4.12+
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ba92b114
    • Helge Deller's avatar
      parisc: Suspend lockup detectors before system halt · 56188832
      Helge Deller authored
      
      
      Some machines can't power off the machine, so disable the lockup detectors to
      avoid this watchdog BUG to show up every few seconds:
      watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: stable@vger.kernel.org # 4.9+
      56188832
    • Helge Deller's avatar
      parisc: Show DIMM slot number which holds broken memory module · c46bafc4
      Helge Deller authored
      
      
      The Page Deallocation Table (PDT) holds the physical addresses of all broken
      memory addresses. With the physical address we now are able to show which DIMM
      slot (e.g. 1a, 3c) actually holds the broken memory module so that users are
      able to replace it.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      c46bafc4
    • Helge Deller's avatar
      parisc: Add function to return DIMM slot of physical address · 25a9b765
      Helge Deller authored
      
      
      Add a firmware wrapper function, which asks PDC firmware for the DIMM slot of a
      physical address. This is needed to show users which DIMM module needs
      replacement in case a broken DIMM was encountered.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      25a9b765
    • Helge Deller's avatar
      parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function · f520e552
      Helge Deller authored
      Commit c9c2877d ("parisc: Add Page Deallocation Table (PDT) support")
      introduced the pdc_pat_mem_read_pd_pdt() firmware helper function, which
      crashed the system because it trashed the stack if the
      pdc_pat_mem_read_pd_retinfo struct was located on the stack (and which is
      in size less than the required 32 64-bit values).
      
      Fix it by using the pdc_result struct instead when calling firmware and copy
      the return values back into the result struct when finished sucessfully.
      
      While debugging this code I noticed that the pdc_type wasn't set correctly
      either, so let's fix that too.
      
      Fixes: c9c2877d
      
       ("parisc: Add Page Deallocation Table (PDT) support")
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      f520e552
  4. Jul 25, 2017
  5. Jul 24, 2017
  6. Jul 23, 2017
    • Juergen Gross's avatar
      xen/balloon: don't online new memory initially · 96edd61d
      Juergen Gross authored
      
      
      When setting up the Xenstore watch for the memory target size the new
      watch will fire at once. Don't try to reach the configured target size
      by onlining new memory in this case, as the current memory size will
      be smaller in almost all cases due to e.g. BIOS reserved pages.
      
      Onlining new memory will lead to more problems e.g. undesired conflicts
      with NVMe devices meant to be operated as block devices.
      
      Instead remember the difference between target size and current size
      when the watch fires for the first time and apply it to any further
      size changes, too.
      
      In order to avoid races between balloon.c and xen-balloon.c init calls
      do the xen-balloon.c initialization from balloon.c.
      
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      96edd61d
    • Juergen Gross's avatar
      xen/x86: fix cpu hotplug · c185ddec
      Juergen Gross authored
      Commit dc6416f1
      
       ("xen/x86: Call
      cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead()")
      introduced an error leading to a stack overflow of the idle task when
      a cpu was brought offline/online many times: by calling
      cpu_startup_entry() instead of returning at the end of xen_play_dead()
      do_idle() would be entered again and again.
      
      Don't use cpu_startup_entry(), but cpuhp_online_idle() instead allowing
      to return from xen_play_dead().
      
      Cc: <stable@vger.kernel.org> # 4.12
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      c185ddec