1. 24 Nov, 2022 26 commits
  2. 23 Nov, 2022 3 commits
  3. 22 Nov, 2022 4 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2022-11-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 3d335a52
      Dave Airlie authored
      GVT Changes:
      - gvt-next stuff mostly with refactor for the new MDEV interface.
      
      i915 Changes:
      - PSR fixes and improvements (Jouni)
      - DP DSC fixes (Vinod, Jouni)
      - More general display cleanups (Jani)
      - More display collor management cleanup targetting degamma (Ville)
      - remove circ_buf.h includes (Jiri)
      - wait power off delay at driver remove to optimize probe (Jani)
      - More audio cleanup targeting the ELD precompute readout (Ville)
      - Enable DC power states on all eDP ports (Imre)
      - RPL-P stepping info (Matt Atwood)
      - MTL enabling patches (RK)
      - Removal of DG2 force_probe (Matt)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y3f71obyEkImXoUF@intel.com
      3d335a52
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2022-11-18' of... · 242eb7b0
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2022-11-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Core Changes:
      
      - Backmerge of drm-next
      
      Driver Changes:
      
      - Restore probe_range behaviour for userptr (Matt A)
      - Fix use-after-free on lmem_userfault_list (Matt A)
      - Never purge busy TTM objects (Matt A)
      - Meteorlake enabling (Daniele, Badal, Daniele, Stuart, Aravind, Alan)
      - Demote GuC kernel contexts to normal priority (John)
      
      - Use RC6 residency types as arguments to residency functions (Ashutosh,
        Rodrigo, Jani)
      - Convert some legacy DRM debugging macros to new ones (Tvrtko)
      - Don't deadlock GuC busyness stats vs reset (John)
      - Remove excessive line feeds in GuC state dumps (John)
      - Use i915_sg_dma_sizes() for all backends (Matt A)
      - Prefer REG_FIELD_GET in intel_rps_get_cagf (Ashutosh, Rodrigo)
      - Use GEN12_RPSTAT register for GT freq (Don, Badal, Ashutosh)
      - Remove unwanted TTM ghost obj check (Matt A)
      - Update workaround documentation (Lucas)
      
      - Coding style and static checker fixes and cleanups
        (Jani, Umesh, Tvrtko, Lucas, Andrzej)
      - Selftest improvements (Chris, Daniele, Riana, Andrzej)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y3dMd9HDpfDehhWm@jlahtine-mobl.ger.corp.intel.com
      242eb7b0
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.2-2022-11-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · fc58764b
      Dave Airlie authored
      amd-drm-next-6.2-2022-11-18:
      
      amdgpu:
      - SR-IOV fixes
      - Clean up DC checks
      - DCN 3.2.x fixes
      - DCN 3.1.x fixes
      - Don't enable degamma on asics which don't support it
      - IP discovery fixes
      - BACO fixes
      - Fix vbios allocation handling when vkms is enabled
      - Drop buggy tdr advanced mode GPU reset handling
      - Fix the build when DCN is not set in kconfig
      - MST DSC fixes
      - Userptr fixes
      - FRU and RAS EEPROM fixes
      - VCN 4.x RAS support
      - Aldrebaran CU occupancy reporting fix
      - PSP ring cleanup
      
      amdkfd:
      - Memory limit fix
      - Enable cooperative launch on gfx 10.3
      
      amd-drm-next-6.2-2022-11-11:
      
      amdgpu:
      - SMU 13.x updates
      - GPUVM TLB race fix
      - DCN 3.1.4 updates
      - DCN 3.2.x updates
      - PSR fixes
      - Kerneldoc fix
      - Vega10 fan fix
      - GPUVM locking fixes in error pathes
      - BACO fix for Beige Goby
      - EEPROM I2C address cleanup
      - GFXOFF fix
      - Fix DC memory leak in error pathes
      - Flexible array updates
      - Mtype fix for GPUVM PTEs
      - Move Kconfig into amdgpu directory
      - SR-IOV updates
      - Fix possible memory leak in CS IOCTL error path
      
      amdkfd:
      - Fix possible memory overrun
      - CRIU fixes
      
      radeon:
      - ACPI ref count fix
      - HDA audio notifier support
      - Move Kconfig into radeon directory
      
      UAPI:
      - Add new GEM_CREATE flags to help to transition more KFD functionality to the DRM UAPI.
        These are used internally in the driver to align location based memory coherency
        requirements from memory allocated in the KFD with how we manage GPUVM PTEs.  They
        are currently blocked in the GEM_CREATE IOCTL as we don't have a user right now.
        They are just used internally in the kernel driver for now for existing KFD memory
        allocations. So a change to the UAPI header, but no functional change in the UAPI.
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221118170807.6505-1-alexander.deucher@amd.comSigned-off-by: default avatarDave Airlie <airlied@redhat.com>
      fc58764b
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · 819683a1
      Dave Airlie authored
      please pull the following etnaviv changes for the next merge window.
      Mostly some small workarounds to get new hardware support going. But
      also more fixes to the softpin MMU handling and a nice addition from
      Christian to make the kernel logs on hang detection more useful.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Lucas Stach <l.stach@pengutronix.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/adcb1b3dec89a18d6c3c4ee6e179b9b2c9f25046.camel@pengutronix.de
      819683a1
  4. 21 Nov, 2022 4 commits
  5. 20 Nov, 2022 3 commits
    • Linus Torvalds's avatar
      Merge tag 'trace-probes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · c6c67bf9
      Linus Torvalds authored
      Pull tracing/probes fixes from Steven Rostedt:
      
       - Fix possible NULL pointer dereference on trace_event_file in
         kprobe_event_gen_test_exit()
      
       - Fix NULL pointer dereference for trace_array in
         kprobe_event_gen_test_exit()
      
       - Fix memory leak of filter string for eprobes
      
       - Fix a possible memory leak in rethook_alloc()
      
       - Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case which
         can cause a possible use-after-free
      
       - Fix warning in eprobe filter creation
      
       - Fix eprobe filter creation as it picked the wrong event for the
         fields
      
      * tag 'trace-probes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing/eprobe: Fix eprobe filter to make a filter correctly
        tracing/eprobe: Fix warning in filter creation
        kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
        rethook: fix a potential memleak in rethook_alloc()
        tracing/eprobe: Fix memory leak of filter string
        tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
        tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
      c6c67bf9
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 5239ddeb
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - Fix polling to block on watermark like the reads do, as user space
         applications get confused when the select says read is available, and
         then the read blocks
      
       - Fix accounting of ring buffer dropped pages as it is what is used to
         determine if the buffer is empty or not
      
       - Fix memory leak in tracing_read_pipe()
      
       - Fix struct trace_array warning about being declared in parameters
      
       - Fix accounting of ftrace pages used in output at start up.
      
       - Fix allocation of dyn_ftrace pages by subtracting one from order
         instead of diving it by 2
      
       - Static analyzer found a case were a pointer being used outside of a
         NULL check (rb_head_page_deactivate())
      
       - Fix possible NULL pointer dereference if kstrdup() fails in
         ftrace_add_mod()
      
       - Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
      
       - Fix bad pointer dereference in register_synth_event() on error path
      
       - Remove unused __bad_type_size() method
      
       - Fix possible NULL pointer dereference of entry in list 'tr->err_log'
      
       - Fix NULL pointer deference race if eprobe is called before the event
         setup
      
      * tag 'trace-v6.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing: Fix race where eprobes can be called before the event
        tracing: Fix potential null-pointer-access of entry in list 'tr->err_log'
        tracing: Remove unused __bad_type_size() method
        tracing: Fix wild-memory-access in register_synth_event()
        tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
        ftrace: Fix null pointer dereference in ftrace_add_mod()
        ring_buffer: Do not deactivate non-existant pages
        ftrace: Optimize the allocation for mcount entries
        ftrace: Fix the possible incorrect kernel message
        tracing: Fix warning on variable 'struct trace_array'
        tracing: Fix memory leak in tracing_read_pipe()
        ring-buffer: Include dropped pages in counting dirty patches
        tracing/ring-buffer: Have polling block on watermark
      5239ddeb
    • Steven Rostedt (Google)'s avatar
      tracing: Fix race where eprobes can be called before the event · 94eedf3d
      Steven Rostedt (Google) authored
      The flag that tells the event to call its triggers after reading the event
      is set for eprobes after the eprobe is enabled. This leads to a race where
      the eprobe may be triggered at the beginning of the event where the record
      information is NULL. The eprobe then dereferences the NULL record causing
      a NULL kernel pointer bug.
      
      Test for a NULL record to keep this from happening.
      
      Link: https://lore.kernel.org/linux-trace-kernel/20221116192552.1066630-1-rafaelmendsr@gmail.com/
      Link: https://lore.kernel.org/linux-trace-kernel/20221117214249.2addbe10@gandalf.local.home
      
      Cc: Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>
      Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
      Cc: Tom Zanussi <zanussi@kernel.org>
      Cc: stable@vger.kernel.org
      Fixes: 7491e2c4 ("tracing: Add a probe that attaches to trace events")
      Acked-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
      Reported-by: default avatarRafael Mendonca <rafaelmendsr@gmail.com>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      94eedf3d