1. 13 12月, 2020 1 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 643e69af
      Linus Torvalds 提交于
      Pull input fixes from Dmitry Torokhov:
      
       - a fix for cm109 stomping on its own control URB if it tries to toggle
         buzzer immediately after userspace opens input device (found by
         syzcaller)
      
       - another fix for Raydium touchscreens that do not like splitting
         command transfers
      
       - quirks for i8042, soc_button_array, and goodix drivers to make them
         work better with certain hardware.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
        Input: cm109 - do not stomp on control URB
        Input: i8042 - add Acer laptops to the i8042 reset list
        Input: cros_ec_keyb - send 'scancodes' in addition to key events
        Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list
        Input: raydium_ts_i2c - do not split tx transactions
      643e69af
  2. 12 12月, 2020 27 次提交
  3. 11 12月, 2020 12 次提交
    • L
      Merge tag 'drm-fixes-2020-12-11' of git://anongit.freedesktop.org/drm/drm · 059fe829
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Last week of fixes, just amdgpu and i915 collections. We had a i915
        regression reported by HJ Lu reported this morning, and this contains
        a fix for that he has tested.
      
        There are a fair few other fixes, but they are spread across the two
        drivers, and all fairly self contained.
      
        amdgpu:
         - Fan fix for CI asics
         - Fix a warning in possible_crtcs
         - Build fix for when debugfs is disabled
         - Display overflow fix
         - Display watermark fixes for Renoir
         - SDMA 5.2 fix
         - Stolen vga memory regression fix
         - Power profile fixes
         - Fix a regression from removal of GEM and PRIME callbacks
      
        amdkfd:
         - Fix a memory leak in dmabuf import
      
        i915:
         - rc7 regression fix for modesetting
         - vdsc/dp slice fixes
         - gen9 mocs entries fix
         - preemption timeout fix
         - unsigned compare against 0 fix
         - selftest fix
         - submission error propogatig fix
         - request flow suspend fix"
      
      * tag 'drm-fixes-2020-12-11' of git://anongit.freedesktop.org/drm/drm:
        drm/i915/display: Go softly softly on initial modeset failure
        drm/amd/pm: typo fix (CUSTOM -> COMPUTE)
        drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs
        drm/amdgpu: fix size calculation with stolen vga memory
        drm/amd/pm: update smu10.h WORKLOAD_PPLIB setting for raven
        drm/amdkfd: Fix leak in dmabuf import
        drm/amdgpu: fix sdma instance fw version and feature version init
        drm/amd/display: Add wm table for Renoir
        drm/amd/display: Prevent bandwidth overflow
        drm/amdgpu: fix debugfs creation/removal, again
        drm/amdgpu/disply: set num_crtc earlier
        drm/amdgpu/powerplay: parse fan table for CI asics
        drm/i915/gt: Declare gen9 has 64 mocs entries!
        drm/i915/display/dp: Compute the correct slice count for VDSC on DP
        drm/i915: fix size_t greater or equal to zero comparison
        drm/i915/gt: Cancel the preemption timeout on responding to it
        drm/i915/gt: Ignore repeated attempts to suspend request flow across reset
        drm/i915/gem: Propagate error from cancelled submit due to context closure
        drm/i915/gem: Check the correct variable in selftest
      059fe829
    • L
      Merge tag 'ktest-v5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest · 33dc9614
      Linus Torvalds 提交于
      Pull ktest fix from Steven Rostedt:
       "Fix issues with grub2bls in ktest.pl
      
        ktest.pl did not know about grub2bls that was introduced in Fedora 30,
        and now it does"
      
      * tag 'ktest-v5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest:
        ktest.pl: Fix incorrect reboot for grub2bls
      33dc9614
    • L
      Merge tag 'powerpc-5.10-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 47003b99
      Linus Torvalds 提交于
      Pull powerpc fix from Michael Ellerman:
       "One commit to implement copy_from_kernel_nofault_allowed(), otherwise
        copy_from_kernel_nofault() can trigger warnings when accessing bad
        addresses in some configurations.
      
        Thanks to Christophe Leroy and Qian Cai"
      
      * tag 'powerpc-5.10-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()
      47003b99
    • L
      Merge tag 'fixes-v5.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 197c61cb
      Linus Torvalds 提交于
      Pull namespaced fscaps fix from James Morris:
       "Fix namespaced fscaps when !CONFIG_SECURITY (Serge Hallyn)"
      
      * tag 'fixes-v5.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        [SECURITY] fix namespaced fscaps when !CONFIG_SECURITY
      197c61cb
    • C
      drm/i915/display: Go softly softly on initial modeset failure · b1f195fc
      Chris Wilson 提交于
      Reduce the module/device probe error into a mere debug to hide issues
      where the initial modeset is failing (after lies told by hw probe) and
      the system hangs with a livelock in cleaning up the failed commit.
      Reported-by: NH.J. Lu <hjl.tools@gmail.com>
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210619
      Fixes: b3bf99da ("drm/i915/display: Defer initial modeset until after GGTT is initialised")
      Fixes: ccc9e67a ("drm/i915/display: Defer initial modeset until after GGTT is initialised")
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: H.J. Lu <hjl.tools@gmail.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201210230741.17140-1-chris@chris-wilson.co.uk
      b1f195fc
    • D
      Merge tag 'drm-intel-fixes-2020-12-09' of... · de2df164
      Dave Airlie 提交于
      Merge tag 'drm-intel-fixes-2020-12-09' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      Fixes for VDSC/DP, selftests, shmem_utils, preemption, submission, and gt reset:
      
      - Check the correct variable in selftest (Dan)
      - Propagate error from canceled submit due to context closure (Chris)
      - Ignore repeated attempts to suspend request flow across reset (Chris)
      - Cancel the preemption timeout on responding to it (Chris)
      - Fix unsigned compared against 0 (Colin)
      - Compute the correct slice count for VDSC on DP (Manasi)
      - Declar gen9 has 64 mocs entries (Chris)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201209235010.GA10554@intel.com
      de2df164
    • D
      Merge tag 'amd-drm-fixes-5.10-2020-12-09' of... · a81ac299
      Dave Airlie 提交于
      Merge tag 'amd-drm-fixes-5.10-2020-12-09' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
      
      amd-drm-fixes-5.10-2020-12-09:
      
      amdgpu:
      - Fan fix for CI asics
      - Fix a warning in possible_crtcs
      - Build fix for when debugfs is disabled
      - Display overflow fix
      - Display watermark fixes for Renoir
      - SDMA 5.2 fix
      - Stolen vga memory regression fix
      - Power profile fixes
      - Fix a regression from removal of GEM and PRIME callbacks
      
      amdkfd:
      - Fix a memory leak in dmabuf import
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201210034848.18108-1-alexander.deucher@amd.com
      a81ac299
    • L
      Merge tag 'nfs-for-5.10-3' of git://git.linux-nfs.org/projects/anna/linux-nfs · 6840a3dc
      Linus Torvalds 提交于
      Pull NFS client fixes from Anna Schumaker:
       "Here are a handful more bugfixes for 5.10.
      
        Unfortunately, we found some problems with the new READ_PLUS operation
        that aren't easy to fix. We've decided to disable this codepath
        through a Kconfig option for now, but a series of patches going into
        5.11 will clean up the code and fix the issues at the same time. This
        seemed like the best way to go about it.
      
        Summary:
      
         - Fix array overflow when flexfiles mirroring is enabled
      
         - Fix rpcrdma_inline_fixup() crash with new LISTXATTRS
      
         - Fix 5 second delay when doing inter-server copy
      
         - Disable READ_PLUS by default"
      
      * tag 'nfs-for-5.10-3' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        NFS: Disable READ_PLUS by default
        NFSv4.2: Fix 5 seconds delay when doing inter server copy
        NFS: Fix rpcrdma_inline_fixup() crash with new LISTXATTRS operation
        pNFS/flexfiles: Fix array overflow when flexfiles mirroring is enabled
      6840a3dc
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 4d31058b
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) IPsec compat fixes, from Dmitry Safonov.
      
       2) Fix memory leak in xfrm_user_policy(). Fix from Yu Kuai.
      
       3) Fix polling in xsk sockets by using sk_poll_wait() instead of
          datagram_poll() which keys off of sk_wmem_alloc and such which xsk
          sockets do not update. From Xuan Zhuo.
      
       4) Missing init of rekey_data in cfgh80211, from Sara Sharon.
      
       5) Fix destroy of timer before init, from Davide Caratti.
      
       6) Missing CRYPTO_CRC32 selects in ethernet driver Kconfigs, from Arnd
          Bergmann.
      
       7) Missing error return in rtm_to_fib_config() switch case, from Zhang
          Changzhong.
      
       8) Fix some src/dest address handling in vrf and add a testcase. From
          Stephen Suryaputra.
      
       9) Fix multicast handling in Seville switches driven by mscc-ocelot
          driver. From Vladimir Oltean.
      
      10) Fix proto value passed to skb delivery demux in udp, from Xin Long.
      
      11) HW pkt counters not reported correctly in enetc driver, from Claudiu
          Manoil.
      
      12) Fix deadlock in bridge, from Joseph Huang.
      
      13) Missing of_node_pur() in dpaa2 driver, fromn Christophe JAILLET.
      
      14) Fix pid fetching in bpftool when there are a lot of results, from
          Andrii Nakryiko.
      
      15) Fix long timeouts in nft_dynset, from Pablo Neira Ayuso.
      
      16) Various stymmac fixes, from Fugang Duan.
      
      17) Fix null deref in tipc, from Cengiz Can.
      
      18) When mss is biog, coose more resonable rcvq_space in tcp, fromn Eric
          Dumazet.
      
      19) Revert a geneve change that likely isnt necessary, from Jakub
          Kicinski.
      
      20) Avoid premature rx buffer reuse in various Intel driversm from Björn
          Töpel.
      
      21) retain EcT bits during TIS reflection in tcp, from Wei Wang.
      
      22) Fix Tso deferral wrt. cwnd limiting in tcp, from Neal Cardwell.
      
      23) MPLS_OPT_LSE_LABEL attribute is 342 ot 8 bits, from Guillaume Nault
      
      24) Fix propagation of 32-bit signed bounds in bpf verifier and add test
          cases, from Alexei Starovoitov.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (81 commits)
        selftests: fix poll error in udpgro.sh
        selftests/bpf: Fix "dubious pointer arithmetic" test
        selftests/bpf: Fix array access with signed variable test
        selftests/bpf: Add test for signed 32-bit bound check bug
        bpf: Fix propagation of 32-bit signed bounds from 64-bit bounds.
        MAINTAINERS: Add entry for Marvell Prestera Ethernet Switch driver
        net: sched: Fix dump of MPLS_OPT_LSE_LABEL attribute in cls_flower
        net/mlx4_en: Handle TX error CQE
        net/mlx4_en: Avoid scheduling restart task if it is already running
        tcp: fix cwnd-limited bug for TSO deferral where we send nothing
        net: flow_offload: Fix memory leak for indirect flow block
        tcp: Retain ECT bits for tos reflection
        ethtool: fix stack overflow in ethnl_parse_bitset()
        e1000e: fix S0ix flow to allow S0i3.2 subset entry
        ice: avoid premature Rx buffer reuse
        ixgbe: avoid premature Rx buffer reuse
        i40e: avoid premature Rx buffer reuse
        igb: avoid transmit queue timeout in xdp path
        igb: use xdp_do_flush
        igb: skb add metasize for xdp
        ...
      4d31058b
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf · d9838b1d
      David S. Miller 提交于
      Alexei Starovoitov says:
      
      ====================
      pull-request: bpf 2020-12-10
      
      The following pull-request contains BPF updates for your *net* tree.
      
      We've added 21 non-merge commits during the last 12 day(s) which contain
      a total of 21 files changed, 163 insertions(+), 88 deletions(-).
      
      The main changes are:
      
      1) Fix propagation of 32-bit signed bounds from 64-bit bounds, from Alexei.
      
      2) Fix ring_buffer__poll() return value, from Andrii.
      
      3) Fix race in lwt_bpf, from Cong.
      
      4) Fix test_offload, from Toke.
      
      5) Various xsk fixes.
      
      Please consider pulling these changes from:
      
        git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
      
      Thanks a lot!
      
      Also thanks to reporters, reviewers and testers of commits in this pull-request:
      
      Cong Wang, Hulk Robot, Jakub Kicinski, Jean-Philippe Brucker, John
      Fastabend, Magnus Karlsson, Maxim Mikityanskiy, Yonghong Song
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9838b1d
    • A
      NFS: Disable READ_PLUS by default · 21e31401
      Anna Schumaker 提交于
      We've been seeing failures with xfstests generic/091 and generic/263
      when using READ_PLUS. I've made some progress on these issues, and the
      tests fail later on but still don't pass. Let's disable READ_PLUS by
      default until we can work out what is going on.
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      21e31401
    • D
      NFSv4.2: Fix 5 seconds delay when doing inter server copy · fe8eb820
      Dai Ngo 提交于
      Since commit b4868b44 ("NFSv4: Wait for stateid updates after
      CLOSE/OPEN_DOWNGRADE"), every inter server copy operation suffers 5
      seconds delay regardless of the size of the copy. The delay is from
      nfs_set_open_stateid_locked when the check by nfs_stateid_is_sequential
      fails because the seqid in both nfs4_state and nfs4_stateid are 0.
      
      Fix __nfs42_ssc_open to delay setting of NFS_OPEN_STATE in nfs4_state,
      until after the call to update_open_stateid, to indicate this is the 1st
      open. This fix is part of a 2 patches, the other patch is the fix in the
      source server to return the stateid for COPY_NOTIFY request with seqid 1
      instead of 0.
      
      Fixes: ce0887ac ("NFSD add nfs4 inter ssc to nfsd4_copy")
      Signed-off-by: NDai Ngo <dai.ngo@oracle.com>
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      fe8eb820