1. 20 Jan, 2017 4 commits
    • Eric Dumazet's avatar
      percpu_counter: percpu_counter_hotcpu_callback() cleanup · aaf0f2fa
      Eric Dumazet authored
      In commit ebd8fef3 ("percpu_counter: make percpu_counters_lock
      irq-safe") we disabled irqs in percpu_counter_hotcpu_callback()
      
      We can grab every counter spinlock without having to disable
      irqs again.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      aaf0f2fa
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 44b4b461
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "We've been sitting on fixes for a while, and they keep trickling in at
        a low rate. Nothing in here comes across as particularly scary or
        noteworthy, for the most part it's a large collection of small DT
        tweaks"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (24 commits)
        ARM: dts: da850-evm: fix read access to SPI flash
        ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
        ARM64: dts: meson-gxbb-odroidc2: Disable SCPI DVFS
        ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
        ARM: dts: NSP: Fix DT ranges error
        ARM: multi_v7_defconfig: set bcm47xx watchdog
        ARM: multi_v7_defconfig: fix config typo
        ARM: dts: dra72-evm-revc: fix typo in ethernet-phy node
        soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
        ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
        ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc
        ARM: dts: sun8i: Support DTB build for NanoPi M1
        ARM: dts: sun6i: hummingbird: Enable display engine again
        ARM: dts: sun6i: Disable display pipeline by default
        ARM, ARM64: dts: drop "arm,amba-bus" in favor of "simple-bus" part 3
        ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init
        ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
        ARM: OMAP1: DMA: Correct the number of logical channels
        ARM: dts: am335x-icev2: Remove the duplicated pinmux setting
        ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
        ...
      44b4b461
    • Linus Torvalds's avatar
      Merge tag 'xfs-for-linux-4.10-rc5-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 6e0362b3
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
       "I have a few more patches this week -- one to make the behavior of a
        quota id ioctl consistent with the other filesystems, and the rest
        improve validation of i_mode & i_size values coming into xfs so that
        we don't read off the ends of arrays or crash when handed garbage disk
        data.
      
        Summary:
         - inode i_mode sanitization
         - prevent overflows in getnextquota
         - minor build fixes"
      
      * tag 'xfs-for-linux-4.10-rc5-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix xfs_mode_to_ftype() prototype
        xfs: don't wrap ID in xfs_dq_get_next_id
        xfs: sanity check inode di_mode
        xfs: sanity check inode mode when creating new dentry
        xfs: replace xfs_mode_to_ftype table with switch statement
        xfs: add missing include dependencies to xfs_dir2.h
        xfs: sanity check directory inode di_size
        xfs: make the ASSERT() condition likely
      6e0362b3
    • Fabien Parent's avatar
      ARM: dts: da850-evm: fix read access to SPI flash · 43849785
      Fabien Parent authored
      Read access to the SPI flash are broken on da850-evm, i.e. the data
      read is not what is actually programmed on the flash.
      According to the datasheet for the M25P64 part present on the da850-evm,
      if the SPI frequency is higher than 20MHz then the READ command is not
      usable anymore and only the FAST_READ command can be used to read data.
      
      This commit specifies in the DTS that we should use FAST_READ command
      instead of the READ command.
      
      Cc: stable@vger.kernel.org
      Tested-by: default avatarKevin Hilman <khilman@baylibre.com>
      Signed-off-by: default avatarFabien Parent <fparent@baylibre.com>
      [nsekhar@ti.com: subject line adjustment]
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      43849785
  2. 19 Jan, 2017 6 commits
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 81aaeaac
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
      
       - recognize that a PCI-to-PCIe bridge originates a PCIe hierarchy, so
         we enumerate that hierarchy correctly
      
       - X-Gene: fix a change merged for v4.10 that broke MSI
      
       - Keystone: avoid reading undefined registers, which can cause
         asynchronous external aborts
      
       - Supermicro X8DTH-i/6/iF/6F: ignore broken _CRS that caused us to
         change (and break) existing I/O port assignments
      
      * tag 'pci-v4.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI/MSI: pci-xgene-msi: Fix CPU hotplug registration handling
        PCI: Enumerate switches below PCI-to-PCIe bridges
        x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
        PCI: designware: Check for iATU unroll only on platforms that use ATU
      81aaeaac
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 2ed5e5af
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
      
       - regression fix for generic Wacom devices, from Jason Gerecke
      
       - DMA-on-stack fixes for hid-corsair driver, from Johan Hovold
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: wacom: Fix sibling detection regression
        HID: corsair: fix control-transfer error handling
        HID: corsair: fix DMA buffers on stack
      2ed5e5af
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 4a1cc2e8
      Linus Torvalds authored
      Pull two s390 bug fixes from Martin Schwidefsky:
       "Two changes, the first is a fix to add a missing memory clobber to the
        inline assembly to load control registers. This has not caused any
        issues so far, but who knows what code gcc will generate in future
        versions.
      
        The second change is an update for the default configurations. This
        includes CONFIG_BUG_ON_DATA_CORRUPTION=y, we want this to be enabled
        for s390. The usual approach to debug problems on production systems
        is to use crash on a system dump and for us avoiding data corruptions
        is priority one"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390: update defconfigs
        s390/ctl_reg: make __ctl_load a full memory barrier
      4a1cc2e8
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.10-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 08667577
      Linus Torvalds authored
      Pull xen fix from Juergen Gross:
       "A fix for Xen running in nested virtualization environment"
      
      * tag 'for-linus-4.10-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        partially revert "xen: Remove event channel notification through Xen PCI platform device"
      08667577
    • Jason Gerecke's avatar
      HID: wacom: Fix sibling detection regression · a9ce7856
      Jason Gerecke authored
      Commit 345857bb ("HID: wacom: generic: Add support for sensor offsets") included
      a change to the operation and location of the call to 'wacom_add_shared_data'
      in 'wacom_parse_and_register'. The modifications included moving it higher up
      so that it would occur before the call to 'wacom_retrieve_hid_descriptor'. This
      was done to prevent a crash that would have occured when the report containing
      tablet offsets was fed into the driver with 'wacom_hid_report_raw_event'
      (specifically: the various 'wacom_wac_*_report' functions were written with the
      assumption that they would only be called once tablet setup had completed;
      'wacom_wac_pen_report' in particular dereferences 'shared' which wasn't yet
      allocated).
      
      Moving the call to 'wacom_add_shared_data' effectively prevented the crash but
      also broke the sibiling detection code which assumes that the HID descriptor
      has been read and the various device_type flags set.
      
      To fix this situation, we restore the original 'wacom_add_shared_data'
      operation and location and instead implement an alternative change that can
      also prevent the crash. Specifically, we notice that the report functions
      mentioned above expect to be called only for input reports.  By adding a check,
      we can prevent feature reports (such as the offset report) from
      causing trouble.
      
      Fixes: 345857bb ("HID: wacom: generic: Add support for sensor offsets")
      Signed-off-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
      Tested-by: default avatarPing Cheng <pingc@wacom.com>
      Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      a9ce7856
    • Olof Johansson's avatar
      Merge tag 'omap-for-v4.10/fixes-rc4' of... · e47a8b17
      Olof Johansson authored
      Merge tag 'omap-for-v4.10/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      Fixes for omaps for v4.10-rc cycle. Mostly a DMA regression fix for
      omap1, and then a handful of trivial fixes for boards and devices to
      work:
      
      - Fixes TI wilink bluetooth strange platform data baud rate
      - Remove duplicate pinmux line for am335x-icev2
      - Fix omap1 dma regression
      - Fix uninitialized return value for wkup_m3_ipc_probe()
      - Fix Ethernet PHY binding typo for dra72-evm
      - Fix init for omap5 and dra7 sata ports
      - Fix mmc card detect pin for Logic PD SOM-LV
      
      * tag 'omap-for-v4.10/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
        ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
        ARM: dts: dra72-evm-revc: fix typo in ethernet-phy node
        soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
        ARM: OMAP1: DMA: Correct the number of logical channels
        ARM: dts: am335x-icev2: Remove the duplicated pinmux setting
        ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e47a8b17
  3. 18 Jan, 2017 7 commits
  4. 17 Jan, 2017 23 commits