1. 09 Mar, 2018 18 commits
  2. 08 Mar, 2018 2 commits
  3. 07 Mar, 2018 7 commits
    • Arkadiusz Hiler's avatar
      Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI" · 5444a992
      Arkadiusz Hiler authored
      This reverts commit 48282969 which
      caused the following issues:
      
      1. On T460p with BIOS version 2.22 touchpad and trackpoint stop working
      after suspend-resume cycle. Due to strange state of the device another
      suspend is impossible.
      
      The following dmesg errors can be observed:
      thinkpad_acpi: EC reports that Thermal Table has changed
      rmi4_smbus 7-002c: failed to get SMBus version number!
      rmi4_physical rmi4-00: rmi_driver_reset_handler: Failed to read current IRQ mask.
      rmi4_f01 rmi4-00.fn01: Failed to restore normal operation: -16.
      rmi4_f01 rmi4-00.fn01: Resume failed with code -16.
      rmi4_physical rmi4-00: Failed to suspend functions: -16
      rmi4_smbus 7-002c: Failed to resume device: -16
      PM: resume devices took 0.640 seconds
      rmi4_f03 rmi4-00.fn03: rmi_f03_pt_write: Failed to write to F03 TX register (-16).
      rmi4_physical rmi4-00: rmi_driver_clear_irq_bits: Failed to change enabled interrupts!
      rmi4_physical rmi4-00: rmi_driver_set_irq_bits: Failed to change enabled interrupts!
      psmouse: probe of serio3 failed with error -1
      
      2. On another T460p with BIOS version 2.15 two finger scrolling gesture
      on the touchpad stops working after suspend-resume cycle (about 75%
      reproducibility, when it still works, the scrolling gesture becomes
      laggy). Nothing suspicious appears in the dmesg.
      
      Analysis form Richard Schütz:
      
      "RMI is unreliable on the ThinkPad T460p because the device is affected
      by the firmware behavior addressed in a7ae8195 ("i2c: i801: Allow
      ACPI SystemIO OpRegion to conflict with PCI BAR")."
      
      The affected devices often show:
      
      i801_smbus 0000:00:1f.4: BIOS is accessing SMBus registers
      i801_smbus 0000:00:1f.4: Driver SMBus register access inhibited
      Reported-by: default avatarRichard Schütz <rschuetz@uni-koblenz.de>
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Tested-by: default avatarMartin Peres <martin.peres@linux.intel.com>
      Tested-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      5444a992
    • Linus Torvalds's avatar
      Merge tag 'gfs2-4.16.rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · ea9b5ee3
      Linus Torvalds authored
      Pull gfs2 fix from Bob Peterson:
       "An additional patch from Andreas Gruenbacher that fixes another
        unfortunate GFS2 regression"
      
      * tag 'gfs2-4.16.rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: Fixes to "Implement iomap for block_map" (2)
      ea9b5ee3
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 69f39c57
      Linus Torvalds authored
      Pull s390 fixes from Martin Schwidefsky:
       "Nine bug fixes for s390:
      
         - Three fixes for the expoline code, one of them is strictly speaking
           a cleanup but as it relates to code added with 4.16 I would like to
           include the patch.
      
         - Three timer related fixes in the common I/O layer
      
         - A fix for the handling of internal DASD request which could cause
           panics.
      
         - One correction in regard to the accounting of pud page tables vs.
           compat tasks.
      
         - The register scrubbing in entry.S caused spurious crashes, this is
           fixed now as well"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/entry.S: fix spurious zeroing of r0
        s390: Fix runtime warning about negative pgtables_bytes
        s390: do not bypass BPENTER for interrupt system calls
        s390/cio: clear timer when terminating driver I/O
        s390/cio: fix return code after missing interrupt
        s390/cio: fix ccw_device_start_timeout API
        s390/clean-up: use CFI_* macros in entry.S
        s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
        s390/dasd: fix handling of internal requests
      69f39c57
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v4.16-rc4' of... · b910a918
      Linus Torvalds authored
      Merge tag 'regulator-fix-v4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "A couple of fixes here:
      
         - another half of the supend to idle fix from Geert that went in
           earlier, both he and I are confused as to why he didn't notice that
           this was missing when his earlier fix was merged.
      
         - a simple fix for a test done the wrong way round in the
           stm32-vrefbuf driver"
      
      * tag 'regulator-fix-v4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: Fix resume from suspend to idle
        regulator: stm32-vrefbuf: fix check on ready flag
      b910a918
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · be75b1b8
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is mostly fixes for driver specific issues (nine of them) and the
        storvsc performance improvement with interrupt handling which was
        dropped from the previous fixes pull request.
      
        We also have two regressions: one is a double call_rcu() in ATA error
        handling and the other is a missed conversion to BLK_STS_OK in
        __scsi_error_from_host_byte()"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: qedi: Fix kernel crash during port toggle
        scsi: qla2xxx: Fix FC-NVMe LUN discovery
        scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()
        scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
        scsi: qla2xxx: ensure async flags are reset correctly
        scsi: qla2xxx: do not check login_state if no loop id is assigned
        scsi: qla2xxx: Fixup locking for session deletion
        scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
        scsi: mpt3sas: wait for and flush running commands on shutdown/unload
        scsi: mpt3sas: fix oops in error handlers after shutdown/unload
        scsi: storvsc: Spread interrupts when picking a channel for I/O requests
        scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
      be75b1b8
    • Andreas Gruenbacher's avatar
      gfs2: Fixes to "Implement iomap for block_map" (2) · 3b5da96e
      Andreas Gruenbacher authored
      It turns out that commit 3229c18c0d6b2 'Fixes to "Implement iomap for
      block_map"' introduced another bug in gfs2_iomap_begin that can cause
      gfs2_block_map to set bh->b_size of an actual buffer to 0.  This can
      lead to arbitrary incorrect behavior including crashes or disk
      corruption.  Revert the incorrect part of that commit.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      3b5da96e
    • Mark Brown's avatar
      Merge remote-tracking branches 'regulator/fix/resume' and... · 82a917c5
      Mark Brown authored
      Merge remote-tracking branches 'regulator/fix/resume' and 'regulator/fix/stm32-vfrefbuf' into regulator-linus
      82a917c5
  4. 06 Mar, 2018 5 commits
  5. 05 Mar, 2018 8 commits
    • Colin Ian King's avatar
      ia64/err-inject: fix spelling mistake: "capapbilities" -> "capabilities" · 48e362dd
      Colin Ian King authored
      Trivial fix to spelling mistake in debug message text.
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      48e362dd
    • Davidlohr Bueso's avatar
      ia64/err-inject: Use get_user_pages_fast() · 69c90702
      Davidlohr Bueso authored
      At the point of sysfs callback, the call to gup is
      done without mmap_sem (or any lock for that matter).
      This is racy. As such, use the get_user_pages_fast()
      alternative and safely avoid taking the lock, if possible.
      Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      69c90702
    • Sergei Trofimovich's avatar
      ia64: doc: tweak whitespace for 'console=' parameter · 339d541a
      Sergei Trofimovich authored
      CC: Tony Luck <tony.luck@intel.com>
      CC: Fenghua Yu <fenghua.yu@intel.com>
      CC: linux-ia64@vger.kernel.org
      CC: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      339d541a
    • Matthew Wilcox's avatar
      ia64: Convert remaining atomic operations · 2879b65f
      Matthew Wilcox authored
      While we've only seen inlining problems with atomic_sub_return(),
      the other atomic operations could have the same problem.  Convert all
      remaining operations to use the same solution as atomic_sub_return().
      Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      2879b65f
    • Corentin Labbe's avatar
      ia64: convert unwcheck.py to python3 · bd5edbe6
      Corentin Labbe authored
      Since my system use python3 as default, arch/ia64/scripts/unwcheck.py no
      longer run.
      
      This patch convert it to the python3 syntax.
      I have ran it with python2/python3 while printing values of
      start/end/rlen_sum which could be impacted by this change and I see no difference.
      
      Fixes: 94a47083 ("scripts: change scripts to use system python instead of env")
      Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      bd5edbe6
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-4.16-rc5' of... · 094b58e1
      Linus Torvalds authored
      Merge tag 'linux-kselftest-4.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fixes from Shuah Khan:
       "A fix for regression in memory-hotplug install script that prevents
        the test from running on the target"
      
      * tag 'linux-kselftest-4.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests: memory-hotplug: fix emit_tests regression
      094b58e1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 54704614
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Use an appropriate TSQ pacing shift in mac80211, from Toke
          Høiland-Jørgensen.
      
       2) Just like ipv4's ip_route_me_harder(), we have to use skb_to_full_sk
          in ip6_route_me_harder, from Eric Dumazet.
      
       3) Fix several shutdown races and similar other problems in l2tp, from
          James Chapman.
      
       4) Handle missing XDP flush properly in tuntap, for real this time.
          From Jason Wang.
      
       5) Out-of-bounds access in powerpc ebpf tailcalls, from Daniel
          Borkmann.
      
       6) Fix phy_resume() locking, from Andrew Lunn.
      
       7) IFLA_MTU values are ignored on newlink for some tunnel types, fix
          from Xin Long.
      
       8) Revert F-RTO middle box workarounds, they only handle one dimension
          of the problem. From Yuchung Cheng.
      
       9) Fix socket refcounting in RDS, from Ka-Cheong Poon.
      
      10) Don't allow ppp unit registration to an unregistered channel, from
          Guillaume Nault.
      
      11) Various hv_netvsc fixes from Stephen Hemminger.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (98 commits)
        hv_netvsc: propagate rx filters to VF
        hv_netvsc: filter multicast/broadcast
        hv_netvsc: defer queue selection to VF
        hv_netvsc: use napi_schedule_irqoff
        hv_netvsc: fix race in napi poll when rescheduling
        hv_netvsc: cancel subchannel setup before halting device
        hv_netvsc: fix error unwind handling if vmbus_open fails
        hv_netvsc: only wake transmit queue if link is up
        hv_netvsc: avoid retry on send during shutdown
        virtio-net: re enable XDP_REDIRECT for mergeable buffer
        ppp: prevent unregistered channels from connecting to PPP units
        tc-testing: skbmod: fix match value of ethertype
        mlxsw: spectrum_switchdev: Check success of FDB add operation
        net: make skb_gso_*_seglen functions private
        net: xfrm: use skb_gso_validate_network_len() to check gso sizes
        net: sched: tbf: handle GSO_BY_FRAGS case in enqueue
        net: rename skb_gso_validate_mtu -> skb_gso_validate_network_len
        rds: Incorrect reference counting in TCP socket creation
        net: ethtool: don't ignore return from driver get_fecparam method
        vrf: check forwarding on the original netdevice when generating ICMP dest unreachable
        ...
      54704614
    • David S. Miller's avatar
      Merge branch 'hv_netvsc-minor-fixes' · a7f0fb1b
      David S. Miller authored
      Stephen Hemminger says:
      
      ====================
      hv_netvsc: minor fixes
      
      These are improvements to netvsc driver. They aren't functionality
      changes so not targeting net-next; and they are not show stopper
      bugs that need to go to stable either.
      
      v2
         - drop the irq flags patch, defer it to net-next
         - split the multicast filter flag patch out
         - change propogate rx mode patch to handle startup of vf
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a7f0fb1b