1. 15 4月, 2017 1 次提交
    • L
      Merge tag 'acpi-4.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 321ae379
      Linus Torvalds 提交于
      Pull ACPI fixes from Rafael Wysocki:
      
       "These revert a recent ACPICA commit that turned out to be problematic
        and fix a device enumeration breakage from the 4.8 cycle.
      
        Specifics:
      
         - Revert a recent ACPICA commit targeted at catching firmware bugs
           which promptly did that and caused functional problems to appear
           (Rafael Wysocki).
      
         - Fix a device enumeration problem introduced in the 4.8 time frame
           which caused the ACPI docking station driver to report incorrect
           status via sysfs among other things (Rafael Wysocki)"
      
      * tag 'acpi-4.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        Revert "ACPICA: Resources: Not a valid resource if buffer length too long"
        ACPI / scan: Set the visited flag for all enumerated devices
      321ae379
  2. 14 4月, 2017 18 次提交
  3. 13 4月, 2017 8 次提交
    • L
      Merge tag 'drm-fixes-for-v4.11-rc7' of git://people.freedesktop.org/~airlied/linux · ee921c76
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "i915, gvt, nouveau, udl and etnaviv fixes.
      
        I was away the end of last week, so some of these would have been in
        rc6, and it's Easter from tomorrow, so I decided I better dequeue what
        I have now.
      
        The nouveau changes, just add a hw enable for GP107 display (like a
        pci id addition really), and fix a couple of regressions. i915 has
        some more gvt fixes, along with a few run of the mill ones, the rcu
        one seems like a few people have hit it.
      
        Otherwise a small udl and small etnaviv fix"
      
      * tag 'drm-fixes-for-v4.11-rc7' of git://people.freedesktop.org/~airlied/linux: (22 commits)
        drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
        drm/udl: Fix unaligned memory access in udl_render_hline
        drm/i915: Don't call synchronize_rcu_expedited under struct_mutex
        drm/i915: Suspend GuC prior to GPU Reset during GEM suspend
        drm/nouveau: initial support (display-only) for GP107
        drm/nouveau/kms/nv50: fix double dma_fence_put() when destroying plane state
        drm/nouveau/kms/nv50: fix setting of HeadSetRasterVertBlankDmi method
        drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
        drm/nouveau/mpeg: mthd returns true on success now
        drm/i915/gvt: set the correct default value of CTX STATUS PTR
        drm/i915/gvt: Fix firmware loading interface for GVT-g golden HW state
        drm/i915: Use a dummy timeline name for a signaled fence
        drm/i915: Ironlake do_idle_maps w/a may be called w/o struct_mutex
        drm/i915/gvt: remove the redundant info NULL check
        drm/i915/gvt: adjust mem size for low resolution type
        drm/i915: Avoid lock dropping between rescheduling
        drm/i915/gvt: exclude cfg space from failsafe mode
        drm/i915/gvt: Activate/de-activate vGPU in mdev ops.
        drm/i915/execlists: Wrap tail pointer after reset tweaking
        drm/i915/perf: remove user triggerable warn
        ...
      ee921c76
    • L
      Merge tag 'pwm/for-4.11-rc7' of... · 827c30a7
      Linus Torvalds 提交于
      Merge tag 'pwm/for-4.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm fixes from Thierry Reding:
       "This contain a fix for the atomic update support recently added to
        the Rockchip driver where the clock reference count would become
        unbalanced and result in the clock feeding the PWM to always be
        disabled.
      
        Another fix to the Intel LPSS driver that adds an update bit quirk
        required for a specific configuration"
      
      * tag 'pwm/for-4.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
        pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
        pwm: lpss: Set enable-bit before waiting for update-bit to go low
        pwm: lpss: Split Tangier configuration
      827c30a7
    • R
      ACPI / scan: Set the visited flag for all enumerated devices · f406270b
      Rafael J. Wysocki 提交于
      Commit 10c7e20b (ACPI / scan: fix enumeration (visited) flags for
      bus rescans) attempted to fix a problem with ACPI-based enumerateion
      of I2C/SPI devices, but it forgot to ensure that the visited flag
      will be set for all of the other enumerated devices, so fix that.
      
      Fixes: 10c7e20b (ACPI / scan: fix enumeration (visited) flags for bus rescans)
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=194885Reported-and-tested-by: NKevin Locke <kevin@kevinlocke.name>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Cc: 4.8+ <stable@vger.kernel.org> # 4.8+
      f406270b
    • D
      Merge branch 'linux-4.11' of git://github.com/skeggsb/linux into drm-fixes · 2ca62d8a
      Dave Airlie 提交于
      GP107 modesetting support (just recognising the chipset, no other changes until 4.12)
      a couple of regression fixes, one of them a rather serious double-free issue that appeared in 4.10.
      * 'linux-4.11' of git://github.com/skeggsb/linux:
        drm/nouveau: initial support (display-only) for GP107
        drm/nouveau/kms/nv50: fix double dma_fence_put() when destroying plane state
        drm/nouveau/kms/nv50: fix setting of HeadSetRasterVertBlankDmi method
        drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
        drm/nouveau/mpeg: mthd returns true on success now
      2ca62d8a
    • D
      Merge tag 'drm-intel-fixes-2017-04-12' of... · 88b0b92b
      Dave Airlie 提交于
      Merge tag 'drm-intel-fixes-2017-04-12' of git://anongit.freedesktop.org/git/drm-intel into drm-fixes
      
      drm/i915 fixes for v4.11-rc7
      
      one rcu related fix, and a few GVT fixes.
      
      * tag 'drm-intel-fixes-2017-04-12' of git://anongit.freedesktop.org/git/drm-intel:
        drm/i915: Don't call synchronize_rcu_expedited under struct_mutex
        drm/i915: Suspend GuC prior to GPU Reset during GEM suspend
        drm/i915/gvt: set the correct default value of CTX STATUS PTR
        drm/i915/gvt: Fix firmware loading interface for GVT-g golden HW state
        drm/i915: Use a dummy timeline name for a signaled fence
        drm/i915: Ironlake do_idle_maps w/a may be called w/o struct_mutex
        drm/i915/gvt: remove the redundant info NULL check
        drm/i915/gvt: adjust mem size for low resolution type
        drm/i915: Avoid lock dropping between rescheduling
        drm/i915/gvt: exclude cfg space from failsafe mode
        drm/i915/gvt: Activate/de-activate vGPU in mdev ops.
        drm/i915/execlists: Wrap tail pointer after reset tweaking
        drm/i915/perf: remove user triggerable warn
        drm/i915/perf: destroy stream on sample_flags mismatch
        drm/i915: Align "unfenced" tiled access on gen2, early gen3
      88b0b92b
    • D
      Merge tag 'drm-misc-fixes-2017-04-11' of git://anongit.freedesktop.org/git/drm-misc into drm-fixes · 97d93f35
      Dave Airlie 提交于
      drm-misc-fixes for 2017-04-11
      
      Core changes:
       - None
      
      Driver changes
       - udl: Fix unaligned memory access on SPARC (Jonathan)
      
      * tag 'drm-misc-fixes-2017-04-11' of git://anongit.freedesktop.org/git/drm-misc:
        drm/udl: Fix unaligned memory access in udl_render_hline
      97d93f35
    • D
      Merge branch 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux into drm-fixes · c7aae622
      Dave Airlie 提交于
      Single etnaviv error path fix.
      
      * 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux:
        drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
      c7aae622
    • K
      mm: Tighten x86 /dev/mem with zeroing reads · a4866aa8
      Kees Cook 提交于
      Under CONFIG_STRICT_DEVMEM, reading System RAM through /dev/mem is
      disallowed. However, on x86, the first 1MB was always allowed for BIOS
      and similar things, regardless of it actually being System RAM. It was
      possible for heap to end up getting allocated in low 1MB RAM, and then
      read by things like x86info or dd, which would trip hardened usercopy:
      
      usercopy: kernel memory exposure attempt detected from ffff880000090000 (dma-kmalloc-256) (4096 bytes)
      
      This changes the x86 exception for the low 1MB by reading back zeros for
      System RAM areas instead of blindly allowing them. More work is needed to
      extend this to mmap, but currently mmap doesn't go through usercopy, so
      hardened usercopy won't Oops the kernel.
      Reported-by: NTommi Rantala <tommi.t.rantala@nokia.com>
      Tested-by: NTommi Rantala <tommi.t.rantala@nokia.com>
      Signed-off-by: NKees Cook <keescook@chromium.org>
      a4866aa8
  4. 12 4月, 2017 6 次提交
    • W
      drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit() · 45abdf35
      Wei Yongjun 提交于
      Add the missing unlock before return from function etnaviv_gpu_submit()
      in the error handling case.
      
      lst: fixed label name.
      
      Fixes: f3cd1b06 ("drm/etnaviv: (re-)protect fence allocation with
      GPU mutex")
      CC: stable@vger.kernel.org #4.9+
      Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: NLucas Stach <l.stach@pengutronix.de>
      45abdf35
    • L
      Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/audit · b9b3322f
      Linus Torvalds 提交于
      Pull audit fix from Paul Moore:
       "One more small audit fix, this should be the last for v4.11.
      
        Seth Forshee noticed a problem where the audit retry queue wasn't
        being flushed properly when audit was enabled and the audit daemon
        wasn't running; this patches fixes the problem (see the commit
        description for more details on the change).
      
        Both Seth and I have tested this and everything looks good"
      
      * 'stable-4.11' of git://git.infradead.org/users/pcmoore/audit:
        audit: make sure we don't let the retry queue grow without bounds
      b9b3322f
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 025def92
      Linus Torvalds 提交于
      Pull SCSI target fixes from Nicholas Bellinger:
      
       "There has been work in a number of different areas over the last
        weeks, including:
      
         - Fix target-core-user (TCMU) back-end bi-directional handling (Xiubo
           Li + Mike Christie + Ilias Tsitsimpis)
      
         - Fix iscsi-target TMR reference leak during session shutdown (Rob
           Millner + Chu Yuan Lin)
      
         - Fix target_core_fabric_configfs.c race between LUN shutdown +
           mapped LUN creation (James Shen)
      
         - Fix target-core unknown fabric callback queue-full errors (Potnuri
           Bharat Teja)
      
         - Fix iscsi-target + iser-target queue-full handling in order to
           support iw_cxgb4 RNICs. (Potnuri Bharat Teja + Sagi Grimberg)
      
         - Fix ALUA transition state race between multiple initiator (Mike
           Christie)
      
         - Drop work-around for legacy GlobalSAN initiator, to allow QLogic
           57840S + 579xx offload HBAs to work out-of-the-box in MSFT
           environments. (Martin Svec + Arun Easi)
      
        Note that a number are CC'ed for stable, and although the queue-full
        bug-fixes required for iser-target to work with iw_cxgb4 aren't CC'ed
        here, they'll be posted to Greg-KH separately"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
        iscsi-target: Drop work-around for legacy GlobalSAN initiator
        target: Fix ALUA transition state race between multiple initiators
        iser-target: avoid posting a recv buffer twice
        iser-target: Fix queue-full response handling
        iscsi-target: Propigate queue_data_in + queue_status errors
        target: Fix unknown fabric callback queue-full errors
        tcmu: Fix wrongly calculating of the base_command_size
        tcmu: Fix possible overwrite of t_data_sg's last iov[]
        target: Avoid mappedlun symlink creation during lun shutdown
        iscsi-target: Fix TMR reference leak during session shutdown
        usb: gadget: Correct usb EP argument for BOT status request
        tcmu: Allow cmd_time_out to be set to zero (disabled)
      025def92
    • L
      Merge branch 'for-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 06ea4c38
      Linus Torvalds 提交于
      Pull cgroup fixes from Tejun Heo:
       "This contains fixes for two long standing subtle bugs:
      
         - kthread_bind() on a new kthread binds it to specific CPUs and
           prevents userland from messing with the affinity or cgroup
           membership. Unfortunately, for cgroup membership, there's a window
           between kthread creation and kthread_bind*() invocation where the
           kthread can be moved into a non-root cgroup by userland.
      
           Depending on what controllers are in effect, this can assign the
           kthread unexpected attributes. For example, in the reported case,
           workqueue workers ended up in a non-root cpuset cgroups and had
           their CPU affinities overridden. This broke workqueue invariants
           and led to workqueue stalls.
      
           Fixed by closing the window between kthread creation and
           kthread_bind() as suggested by Oleg.
      
         - There was a bug in cgroup mount path which could allow two
           competing mount attempts to attach the same cgroup_root to two
           different superblocks.
      
           This was caused by mishandling return value from kernfs_pin_sb().
      
           Fixed"
      
      * 'for-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: avoid attaching a cgroup root to two different superblocks
        cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
      06ea4c38
    • L
      Merge branch 'for-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata · af94bdfa
      Linus Torvalds 提交于
      Pull libata fixes from Tejun Heo:
       "Two libata fixes.
      
        One to disable hotplug on VT6420 which never worked properly. The
        other reverts an earlier patch which disabled the second port on
        SB600/700. There were some confusions due to earlier datasheets which
        incorrectly indicated that the second port is not implemented on both
        SB600 and 700"
      
      * 'for-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
        sata_via: Enable hotplug only on VT6421
        Revert "pata_atiixp: Don't use unconnected secondary port on SB600/SB700"
      af94bdfa
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · fe251c4b
      Linus Torvalds 提交于
      Pull HID fixes from Jiri Kosina:
      
       - revert of a commit that switched all Synaptics touchpads over to be
         driven by hid-rmi. It turns out that this caused several user-visible
         regressions, and therefore we revert back to the original state
         before all the reported issues have been fixed.
      
       - a new uclogic device ID addition, from Xiaolei Yu.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        Revert "HID: rmi: Handle all Synaptics touchpads using hid-rmi"
        HID: uclogic: add support for Ugee Tablet EX07S
      fe251c4b
  5. 11 4月, 2017 7 次提交