1. 01 Jul, 2022 4 commits
    • Amir Goldstein's avatar
      fanotify: cleanups for fanotify_mark() input validations · 8afd7215
      Amir Goldstein authored
      Create helper fanotify_may_update_existing_mark() for checking for
      conflicts between existing mark flags and fanotify_mark() flags.
      
      Use variable mark_cmd to make the checks for mark command bits
      cleaner.
      
      Link: https://lore.kernel.org/r/20220629144210.2983229-3-amir73il@gmail.comSigned-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      8afd7215
    • Amir Goldstein's avatar
      fanotify: prepare for setting event flags in ignore mask · 31a371e4
      Amir Goldstein authored
      Setting flags FAN_ONDIR FAN_EVENT_ON_CHILD in ignore mask has no effect.
      The FAN_EVENT_ON_CHILD flag in mask implicitly applies to ignore mask and
      ignore mask is always implicitly applied to events on directories.
      
      Define a mark flag that replaces this legacy behavior with logic of
      applying the ignore mask according to event flags in ignore mask.
      
      Implement the new logic to prepare for supporting an ignore mask that
      ignores events on children and ignore mask that does not ignore events
      on directories.
      
      To emphasize the change in terminology, also rename ignored_mask mark
      member to ignore_mask and use accessors to get only the effective
      ignored events or the ignored events and flags.
      
      This change in terminology finally aligns with the "ignore mask"
      language in man pages and in most of the comments.
      
      Link: https://lore.kernel.org/r/20220629144210.2983229-2-amir73il@gmail.comSigned-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      31a371e4
    • Oliver Ford's avatar
      fs: inotify: Fix typo in inotify comment · c05787b4
      Oliver Ford authored
      Correct spelling in comment.
      Signed-off-by: default avatarOliver Ford <ojford@gmail.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20220518145959.41-1-ojford@gmail.com
      c05787b4
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-07-01' of git://anongit.freedesktop.org/drm/drm · a175eca0
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Bit quieter this week, the main thing is it pulls in the fixes for the
        sysfb resource issue you were seeing. these had been queued for next
        so should have had some decent testing.
      
        Otherwise amdgpu, i915 and msm each have a few fixes, and vc4 has one.
      
        fbdev:
         - sysfb fixes/conflicting fb fixes
      
        amdgpu:
         - GPU recovery fix
      
         - Fix integer type usage in fourcc header for AMD modifiers
      
         - KFD TLB flush fix for gfx9 APUs
      
         - Display fix
      
        i915:
         - Fix ioctl argument error return
      
         - Fix d3cold disable to allow PCI upstream bridge D3 transition
      
         - Fix setting cache_dirty for dma-buf objects on discrete
      
        msm:
         - Fix to increment vsync_cnt before calling drm_crtc_handle_vblank so
           that userspace sees the value *after* it is incremented if waiting
           for vblank events
      
         - Fix to reset drm_dev to NULL in dp_display_unbind to avoid a crash
           in probe/bind error paths
      
         - Fix to resolve the smatch error of de-referencing before NULL check
           in dpu_encoder_phys_wb.c
      
         - Fix error return to userspace if fence-id allocation fails in
           submit ioctl
      
        vc4:
         - NULL ptr dereference fix"
      
      * tag 'drm-fixes-2022-07-01' of git://anongit.freedesktop.org/drm/drm:
        Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"
        drm/amdgpu: To flush tlb for MMHUB of RAVEN series
        drm/fourcc: fix integer type usage in uapi header
        drm/amdgpu: fix adev variable used in amdgpu_device_gpu_recover()
        fbdev: Disable sysfb device registration when removing conflicting FBs
        firmware: sysfb: Add sysfb_disable() helper function
        firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
        drm/msm/gem: Fix error return on fence id alloc fail
        drm/i915: tweak the ordering in cpu_write_needs_clflush
        drm/i915/dgfx: Disable d3cold at gfx root port
        drm/i915/gem: add missing else
        drm/vc4: perfmon: Fix variable dereferenced before check
        drm/msm/dpu: Fix variable dereferenced before check
        drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()
        drm/msm/dpu: Increment vsync_cnt before waking up userspace
      a175eca0
  2. 30 Jun, 2022 23 commits
  3. 29 Jun, 2022 13 commits