1. 21 Feb, 2023 1 commit
    • Thomas Zimmermann's avatar
      drm/fb-helper: Remove drm_fb_helper_unprepare() from drm_fb_helper_fini() · 3fb1f62f
      Thomas Zimmermann authored
      Move drm_fb_helper_unprepare() from drm_fb_helper_fini() into the
      calling fbdev implementation. Avoids a possible stale mutex with
      generic fbdev code.
      
      As indicated by its name, drm_fb_helper_prepare() prepares struct
      drm_fb_helper before setting up the fbdev support with a call to
      drm_fb_helper_init(). In legacy fbdev emulation, this happens next
      to each other. If successful, drm_fb_helper_fini() later tear down
      the fbdev device and also unprepare via drm_fb_helper_unprepare().
      
      Generic fbdev emulation prepares struct drm_fb_helper immediately
      after allocating the instance. It only calls drm_fb_helper_init()
      as part of processing a hotplug event. If the hotplug-handling fails,
      it runs drm_fb_helper_fini(). This unprepares the fb-helper instance
      and the next hotplug event runs on stale data.
      
      Solve this by moving drm_fb_helper_unprepare() from drm_fb_helper_fini()
      into the fbdev implementations. Call it right before freeing the
      fb-helper instance.
      
      Fixes: 643231b2 ("drm/fbdev-generic: Minimize hotplug error handling")
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Javier Martinez Canillas <javierm@redhat.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230216140620.17699-1-tzimmermann@suse.de
      3fb1f62f
  2. 17 Feb, 2023 1 commit
  3. 16 Feb, 2023 1 commit
  4. 15 Feb, 2023 1 commit
  5. 13 Feb, 2023 4 commits
  6. 09 Feb, 2023 1 commit
  7. 07 Feb, 2023 2 commits
  8. 06 Feb, 2023 4 commits
  9. 02 Feb, 2023 1 commit
  10. 01 Feb, 2023 6 commits
  11. 31 Jan, 2023 1 commit
    • Daniel Vetter's avatar
      Merge v6.2-rc6 into drm-next · aebd8f0c
      Daniel Vetter authored
      Due to holidays we started -next with more -fixes in-flight than
      usual, and people have been asking where they are. Backmerge to get
      things better in sync.
      
      Conflicts:
      - Tiny conflict in drm_fbdev_generic.c between variable rename and
        missing error handling that got added.
      - Conflict in drm_fb_helper.c between the added call to vgaswitcheroo
        in drm_fb_helper_single_fb_probe and a refactor patch that extracted
        lots of helpers and incidentally removed the dev local variable.
        Readd it to make things compile.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      aebd8f0c
  12. 30 Jan, 2023 6 commits
  13. 29 Jan, 2023 6 commits
  14. 28 Jan, 2023 5 commits
    • Linus Torvalds's avatar
      Fix up more non-executable files marked executable · c9661827
      Linus Torvalds authored
      Joe found another DT file that shouldn't be executable, and that
      frustrated me enough that I went hunting with this script:
      
          git ls-files -s |
              grep '^100755' |
              cut -f2 |
              xargs grep -L '^#!'
      
      and that found another file that shouldn't have been marked executable
      either, despite being in the scripts directory.
      
      Maybe these two are the last ones at least for now.  But I'm sure we'll
      be back in a few years, fixing things up again.
      
      Fixes: 8c6789f4 ("ASoC: dt-bindings: Add Everest ES8326 audio CODEC")
      Fixes: 4d8e5cd2 ("locking/atomics: Fix scripts/atomic/ script permissions")
      Reported-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c9661827
    • Linus Torvalds's avatar
      Merge tag '6.2-rc5-ksmbd-server-fixes' of git://git.samba.org/ksmbd · 2543fdbd
      Linus Torvalds authored
      Pull ksmbd server fixes from Steve French:
       "Four smb3 server fixes, all also for stable:
      
         - fix for signing bug
      
         - fix to more strictly check packet length
      
         - add a max connections parm to limit simultaneous connections
      
         - fix error message flood that can occur with newer Samba xattr
           format"
      
      * tag '6.2-rc5-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
        ksmbd: downgrade ndr version error message to debug
        ksmbd: limit pdu length size according to connection status
        ksmbd: do not sign response to session request for guest login
        ksmbd: add max connections parameter
      2543fdbd
    • Linus Torvalds's avatar
      Merge tag '6.2-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 5af6ce70
      Linus Torvalds authored
      Pull cifs fix from Steve French:
       "Fix for reconnect oops in smbdirect (RDMA), also is marked for stable"
      
      * tag '6.2-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: Fix oops due to uncleared server->smbd_conn in reconnect
      5af6ce70
    • Linus Torvalds's avatar
      Merge tag 'block-6.2-2023-01-27' of git://git.kernel.dk/linux · 90aaef4e
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Minor tweaks for this release:
      
         - NVMe pull request via Christoph:
              - Flush initial scan_work for async probe (Keith Busch)
              - Fix passthrough csi check (Keith Busch)
              - Fix nvme-fc initialization order (Ross Lagerwall)
      
         - Fix for tearing down non-started device in ublk (Ming)"
      
      * tag 'block-6.2-2023-01-27' of git://git.kernel.dk/linux:
        block: ublk: move ublk_chr_class destroying after devices are removed
        nvme: fix passthrough csi check
        nvme-pci: flush initial scan_work for async probe
        nvme-fc: fix initialization order
      90aaef4e
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.2-2023-01-27' of git://git.kernel.dk/linux · f851453b
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two small fixes for this release:
      
         - Sanitize how async prep is done for drain requests, so we ensure
           that it always gets done (Dylan)
      
         - A ring provided buffer recycling fix for multishot receive (me)"
      
      * tag 'io_uring-6.2-2023-01-27' of git://git.kernel.dk/linux:
        io_uring: always prep_async for drain requests
        io_uring/net: cache provided buffer group value for multishot receives
      f851453b