1. 27 Mar, 2020 5 commits
  2. 26 Mar, 2020 9 commits
    • David Howells's avatar
      afs: Fix unpinned address list during probing · 9efcc4a1
      David Howells authored
      When it's probing all of a fileserver's interfaces to find which one is
      best to use, afs_do_probe_fileserver() takes a lock on the server record
      and notes the pointer to the address list.
      It doesn't, however, pin the address list, so as soon as it drops the
      lock, there's nothing to stop the address list from being freed under
      Fix this by taking a ref on the address list inside the locked section
      and dropping it at the end of the function.
      Fixes: 3bf0fb6f ("afs: Probe multiple fileservers simultaneously")
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Reviewed-by: default avatarMarc Dionne <marc.dionne@auristor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.6-rc8' of git://github.com/ceph/ceph-client · 60268940
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
       "A patch for a rather old regression in fullness handling and two
        memory leak fixes, marked for stable"
      * tag 'ceph-for-5.6-rc8' of git://github.com/ceph/ceph-client:
        ceph: fix memory leak in ceph_cleanup_snapid_map()
        libceph: fix alloc_msg_with_page_vector() memory leaks
        ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULL
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a53071bd
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "x86 bug fixes"
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: X86: Narrow down the IPI fastpath to single target IPI
        KVM: LAPIC: Also cancel preemption timer when disarm LAPIC timer
        KVM: VMX: don't allow memory operands for inline asm that modifies SP
        KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
        KVM: SVM: Issue WBINVD after deactivating an SEV guest
        KVM: SVM: document KVM_MEM_ENCRYPT_OP, let userspace detect if SEV is available
        KVM: x86: remove bogus user-triggerable WARN_ON
    • Linus Torvalds's avatar
      MAINTAINERS: fix bad file pattern · 23cb8490
      Linus Torvalds authored
      Testing 'parse-maintainers' due to the previous commit shows a bad file
      pattern for the "TI VPE/CAL DRIVERS" entry in the MAINTAINERS file.
      There's also a lot of mis-ordered entries, but I'm still a bit nervous
      about the inevitable and annoying merge problems it would probably cause
      to fix them up.
      The MAINTAINERS file is one of my least favorite files due to being huge
      and centralized, but fixing it is also horribly painful for that reason.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Joe Perches's avatar
      parse-maintainers: Do not sort section content by default · 5cdbec10
      Joe Perches authored
      Add an --order switch to control section reordering.
      Default for --order is off.
      Change the default ordering to a slightly more sensible:
      M:  Person acting as a maintainer
      R:  Person acting as a patch reviewer
      L:  Mailing list where patches should be sent
      S:  Maintenance status
      W:  URI for general information
      Q:  URI for patchwork tracking
      B:  URI for bug tracking/submission
      C:  URI for chat
      P:  URI or file for subsystem specific coding styles
      T:  SCM tree type and location
      F:  File and directory pattern
      X:  File and directory exclusion pattern
      N:  File glob
      K:  Keyword - patch content regex
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Dmitry Torokhov's avatar
      Input: move the new KEY_SELECTIVE_SCREENSHOT keycode · fbf66796
      Dmitry Torokhov authored
      We should try to keep keycodes sequential unless there is a reason to leave
      a gap in numbering, so let's move it from 0x280 to 0x27a while we still
      Fixes: 3b059da9 ("Input: allocate keycode for Selective Screenshot key")
      Acked-by: default avatarRajat Jain <rajatja@google.com>
      Link: https://lore.kernel.org/r/20200326182711.GA259753@dtor-wsSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 9420e8ad
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "A small set of late-rc patches, mostly fixes for various crashers,
        some syzkaller fixes and a mlx5 HW limitation:
         - Several MAINTAINERS updates
         - Memory leak regression in ODP
         - Several fixes for syzkaller related crashes. Google recently taught
           syzkaller to create the software RDMA devices
         - Crash fixes for HFI1
         - Several fixes for mlx5 crashes
         - Prevent unprivileged access to an unsafe mlx5 HW resource"
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/mlx5: Block delay drop to unprivileged users
        RDMA/mlx5: Fix access to wrong pointer while performing flush due to error
        RDMA/core: Ensure security pkey modify is not lost
        MAINTAINERS: Clean RXE section and add Zhu as RXE maintainer
        IB/hfi1: Ensure pq is not left on waitlist
        IB/rdmavt: Free kernel completion queue when done
        RDMA/mad: Do not crash if the rdma device does not have a umad interface
        RDMA/core: Fix missing error check on dev_set_name()
        RDMA/nl: Do not permit empty devices names during RDMA_NLDEV_CMD_NEWLINK/SET
        RDMA/mlx5: Fix the number of hwcounters of a dynamic counter
        MAINTAINERS: Update maintainers for HISILICON ROCE DRIVER
        RDMA/odp: Fix leaking the tgid for implicit ODP
    • Yintian Tao's avatar
      drm/scheduler: fix rare NULL ptr race · 3c0fdf33
      Yintian Tao authored
      There is one one corner case at dma_fence_signal_locked
      which will raise the NULL pointer problem just like below.
      here trigger dma_fence_release happen due to the zero of fence refcount.
      here make the union fled “cb_list” at finished fence
      to NULL because struct rcu_head contains two pointer
      which is same as struct list_head cb_list
      Therefore, to hold the reference of finished fence at drm_sched_process_job
      to prevent the null pointer during finished fence dma_fence_signal
      [  732.912867] BUG: kernel NULL pointer dereference, address: 0000000000000008
      [  732.914815] #PF: supervisor write access in kernel mode
      [  732.915731] #PF: error_code(0x0002) - not-present page
      [  732.916621] PGD 0 P4D 0
      [  732.917072] Oops: 0002 [#1] SMP PTI
      [  732.917682] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G           OE     5.4.0-rc7 #1
      [  732.918980] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
      [  732.920906] RIP: 0010:dma_fence_signal_locked+0x3e/0x100
      [  732.938569] Call Trace:
      [  732.939003]  <IRQ>
      [  732.939364]  dma_fence_signal+0x29/0x50
      [  732.940036]  drm_sched_fence_finished+0x12/0x20 [gpu_sched]
      [  732.940996]  drm_sched_process_job+0x34/0xa0 [gpu_sched]
      [  732.941910]  dma_fence_signal_locked+0x85/0x100
      [  732.942692]  dma_fence_signal+0x29/0x50
      [  732.943457]  amdgpu_fence_process+0x99/0x120 [amdgpu]
      [  732.944393]  sdma_v4_0_process_trap_irq+0x81/0xa0 [amdgpu]
      v2: hold the finished fence at drm_sched_process_job instead of
      v3: resume the blank line
      Signed-off-by: default avatarYintian Tao <yttao@amd.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    • Wanpeng Li's avatar
      KVM: X86: Narrow down the IPI fastpath to single target IPI · e1be9ac8
      Wanpeng Li authored
      The original single target IPI fastpath patch forgot to filter the
      ICR destination shorthand field. Multicast IPI is not suitable for
      this feature since wakeup the multiple sleeping vCPUs will extend
      the interrupt disabled time, it especially worse in the over-subscribe
      and VM has a little bit more vCPUs scenario. Let's narrow it down to
      single target IPI.
      Two VMs, each is 76 vCPUs, one running 'ebizzy -M', the other
      running cyclictest on all vCPUs, w/ this patch, the avg score
      of cyclictest can improve more than 5%. (pv tlb, pv ipi, pv
      sched yield are disabled during testing to avoid the disturb).
      Signed-off-by: default avatarWanpeng Li <wanpengli@tencent.com>
      Message-Id: <1585189202-1708-3-git-send-email-wanpengli@tencent.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  3. 25 Mar, 2020 16 commits
  4. 24 Mar, 2020 10 commits