1. 07 Jun, 2024 2 commits
  2. 06 Jun, 2024 3 commits
  3. 03 Jun, 2024 4 commits
  4. 30 May, 2024 1 commit
  5. 28 May, 2024 1 commit
  6. 22 May, 2024 2 commits
  7. 20 May, 2024 2 commits
    • Kirill Artemev's avatar
      Input: xpad - add support for Machenike G5 Pro Controller · e7647cba
      Kirill Artemev authored
      Add VID and PID to the xpad_device and VID to the xpad_table
      to allow driver to use Machenike G5 Pro Controller, which is
      XTYPE_XBOX360 compatible in Xinput mode.
      Signed-off-by: default avatarKirill Artemev <artewar6767@gmail.com>
      Link: https://lore.kernel.org/r/20240516032926.12501-2-artewar6767@gmail.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      e7647cba
    • Dmitry Torokhov's avatar
      Input: try trimming too long modalias strings · 0774d190
      Dmitry Torokhov authored
      If an input device declares too many capability bits then modalias
      string for such device may become too long and not fit into uevent
      buffer, resulting in failure of sending said uevent. This, in turn,
      may prevent userspace from recognizing existence of such devices.
      
      This is typically not a concern for real hardware devices as they have
      limited number of keys, but happen with synthetic devices such as
      ones created by xen-kbdfront driver, which creates devices as being
      capable of delivering all possible keys, since it doesn't know what
      keys the backend may produce.
      
      To deal with such devices input core will attempt to trim key data,
      in the hope that the rest of modalias string will fit in the given
      buffer. When trimming key data it will indicate that it is not
      complete by placing "+," sign, resulting in conversions like this:
      
      old: k71,72,73,74,78,7A,7B,7C,7D,8E,9E,A4,AD,E0,E1,E4,F8,174,
      new: k71,72,73,74,78,7A,7B,7C,+,
      
      This should allow existing udev rules continue to work with existing
      devices, and will also allow writing more complex rules that would
      recognize trimmed modalias and check input device characteristics by
      other means (for example by parsing KEY= data in uevent or parsing
      input device sysfs attributes).
      
      Note that the driver core may try adding more uevent environment
      variables once input core is done adding its own, so when forming
      modalias we can not use the entire available buffer, so we reduce
      it by somewhat an arbitrary amount (96 bytes).
      Reported-by: default avatarJason Andryuk <jandryuk@gmail.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Tested-by: default avatarJason Andryuk <jandryuk@gmail.com>
      Link: https://lore.kernel.org/r/ZjAWMQCJdrxZkvkB@google.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      0774d190
  8. 13 May, 2024 3 commits
  9. 12 May, 2024 5 commits
  10. 11 May, 2024 10 commits
  11. 10 May, 2024 7 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-05-11' of https://gitlab.freedesktop.org/drm/kernel · cf87f46f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This should be the last set of fixes for 6.9, i915, xe and amdgpu are
        the bulk here, one of the previous nouveau fixes turned up an issue,
        so reverting it, otherwise one core and a couple of meson fixes.
      
        core:
         - fix connector debugging output
      
        i915:
         - Automate CCS Mode setting during engine resets
         - Fix audio time stamp programming for DP
         - Fix parsing backlight BDB data
      
        xe:
         - Fix use zero-length element array
         - Move more from system wq to ordered private wq
         - Do not ignore return for drmm_mutex_init
      
        amdgpu:
         - DCN 3.5 fix
         - MST DSC fixes
         - S0i3 fix
         - S4 fix
         - HDP MMIO mapping fix
         - Fix a regression in visible vram handling
      
        amdkfd:
         - Spatial partition fix
      
        meson:
         - dw-hdmi: power-up fixes
         - dw-hdmi: add badngap setting for g12
      
        nouveau:
         - revert SG_DEBUG fix that has a side effect"
      
      * tag 'drm-fixes-2024-05-11' of https://gitlab.freedesktop.org/drm/kernel:
        Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()"
        drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible
        drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
        drm/xe: Use ordered WQ for G2H handler
        drm/xe/guc: Check error code when initializing the CT mutex
        drm/xe/ads: Use flexible-array
        Revert "drm/amdkfd: Add partition id field to location_id"
        dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users
        drm/amd/display: MST DSC check for older devices
        drm/amd/display: Fix idle optimization checks for multi-display and dual eDP
        drm/amd/display: Fix DSC-re-computing
        drm/amd/display: Enable urgent latency adjustments for DCN35
        drm/connector: Add \n to message about demoting connector force-probes
        drm/i915/bios: Fix parsing backlight BDB data
        drm/i915/audio: Fix audio time stamp programming for DP
        drm/i915/gt: Automate CCS Mode setting during engine resets
        drm/meson: dw-hdmi: add bandgap setting for g12
        drm/meson: dw-hdmi: power up phy on device init
      cf87f46f
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2024-05-10-13-14' of... · c22c3e07
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2024-05-10-13-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull MM fixes from Andrew Morton:
       "18 hotfixes, 7 of which are cc:stable.
      
        More fixups for this cycle's page_owner updates. And a few userfaultfd
        fixes. Otherwise, random singletons - see the individual changelogs
        for details"
      
      * tag 'mm-hotfixes-stable-2024-05-10-13-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        mailmap: add entry for Barry Song
        selftests/mm: fix powerpc ARCH check
        mailmap: add entry for John Garry
        XArray: set the marks correctly when splitting an entry
        selftests/vDSO: fix runtime errors on LoongArch
        selftests/vDSO: fix building errors on LoongArch
        mm,page_owner: don't remove __GFP_NOLOCKDEP in add_stack_record_to_list
        fs/proc/task_mmu: fix uffd-wp confusion in pagemap_scan_pmd_entry()
        fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan
        mm/vmalloc: fix return value of vb_alloc if size is 0
        mm: use memalloc_nofs_save() in page_cache_ra_order()
        kmsan: compiler_types: declare __no_sanitize_or_inline
        lib/test_xarray.c: fix error assumptions on check_xa_multi_store_adv_add()
        tools: fix userspace compilation with new test_xarray changes
        MAINTAINERS: update URL's for KEYS/KEYRINGS_INTEGRITY and TPM DEVICE DRIVER
        mm: page_owner: fix wrong information in dump_page_owner
        maple_tree: fix mas_empty_area_rev() null pointer dereference
        mm/userfaultfd: reset ptes when close() for wr-protected ones
      c22c3e07
    • Dave Airlie's avatar
      Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()" · a222a647
      Dave Airlie authored
      This reverts commit 52a6947b.
      
      This causes loading failures in
      [    0.367379] nouveau 0000:01:00.0: NVIDIA GP104 (134000a1)
      [    0.474499] nouveau 0000:01:00.0: bios: version 86.04.50.80.13
      [    0.474620] nouveau 0000:01:00.0: pmu: firmware unavailable
      [    0.474977] nouveau 0000:01:00.0: fb: 8192 MiB GDDR5
      [    0.484371] nouveau 0000:01:00.0: sec2(acr): mbox 00000001 00000000
      [    0.484377] nouveau 0000:01:00.0: sec2(acr):load: boot failed: -5
      [    0.484379] nouveau 0000:01:00.0: acr: init failed, -5
      [    0.484466] nouveau 0000:01:00.0: init failed with -5
      [    0.484468] nouveau: DRM-master:00000000:00000080: init failed with -5
      [    0.484470] nouveau 0000:01:00.0: DRM-master: Device allocation failed: -5
      [    0.485078] nouveau 0000:01:00.0: probe with driver nouveau failed with error -50
      
      I tried tracking it down but ran out of time this week, will revisit next week.
      Reported-by: default avatarDan Moulding <dan@danm.net>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      a222a647
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2024-05-10' of... · b61821bb
      Dave Airlie authored
      Merge tag 'drm-misc-fixes-2024-05-10' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
      
      Short summary of fixes pull:
      
      core:
      - fix connector debugging output
      
      meson:
      - dw-hdmi: power-up fixes
      - dw-hdmi: add badngap setting for g12
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240510072027.GA9131@linux.fritz.box
      b61821bb
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · cfb4be1a
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
       "Some last-minute fixes for this release from the GPIO subsystem.
      
        The first two address a regression in performance reported to me after
        the conversion to using SRCU in GPIOLIB that was merged during the
        v6.9 merge window. The second patch is not technically a fix but since
        after the first one we no longer need to use a per-descriptor SRCU
        struct, I think it's worth to simplify the code before it gets
        released on Sunday.
      
        The next two commits fix two memory issues: one use-after-free bug and
        one instance of possibly leaking kernel stack memory to user-space.
      
        Summary:
      
         - fix a performance regression in GPIO requesting and releasing after
           the conversion to SRCU
      
         - fix a use-after-free bug due to a race-condition
      
         - fix leaking stack memory to user-space in a GPIO uABI corner case"
      
      * tag 'gpio-fixes-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpiolib: cdev: fix uninitialised kfifo
        gpiolib: cdev: Fix use after free in lineinfo_changed_notify
        gpiolib: use a single SRCU struct for all GPIO descriptors
        gpiolib: fix the speed of descriptor label setting with SRCU
      cfb4be1a
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.9-2024-05-10' of... · 06fbf84f
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.9-2024-05-10' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-6.9-2024-05-10:
      
      amdgpu:
      - DCN 3.5 fix
      - MST DSC fixes
      - S0i3 fix
      - S4 fix
      - HDP MMIO mapping fix
      - Fix a regression in visible vram handling
      
      amdkfd:
      - Spatial partition fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240510171110.1394940-1-alexander.deucher@amd.com
      06fbf84f
    • Barry Song's avatar
      mailmap: add entry for Barry Song · 672614a3
      Barry Song authored
      Include a .mailmap entry to synchronize with both my past and current
      emails.  Among them, three business mailboxes are dead.
      
      Link: https://lkml.kernel.org/r/20240506042009.10854-1-21cnbao@gmail.comSigned-off-by: default avatarBarry Song <v-songbaohua@oppo.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      672614a3