Skip to content
Snippets Groups Projects
  1. Nov 26, 2024
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · ff2a7a06
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Fix the code that cleans up left-over unlinked files.
      
         Various fixes and minor improvements in deleting files cached or held
         open remotely.
      
       - Simplify the use of dlm's DLM_LKF_QUECVT flag.
      
       - A few other minor cleanups.
      
      * tag 'gfs2-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (21 commits)
        gfs2: Prevent inode creation race
        gfs2: Only defer deletes when we have an iopen glock
        gfs2: Simplify DLM_LKF_QUECVT use
        gfs2: gfs2_evict_inode clarification
        gfs2: Make gfs2_inode_refresh static
        gfs2: Use get_random_u32 in gfs2_orlov_skip
        gfs2: Randomize GLF_VERIFY_DELETE work delay
        gfs2: Use mod_delayed_work in gfs2_queue_try_to_evict
        gfs2: Update to the evict / remote delete documentation
        gfs2: Call gfs2_queue_verify_delete from gfs2_evict_inode
        gfs2: Clean up delete work processing
        gfs2: Minor delete_work_func cleanup
        gfs2: Return enum evict_behavior from gfs2_upgrade_iopen_glock
        gfs2: Rename dinode_demise to evict_behavior
        gfs2: Rename GIF_{DEFERRED -> DEFER}_DELETE
        gfs2: Faster gfs2_upgrade_iopen_glock wakeups
        KMSAN: uninit-value in inode_go_dump (5)
        gfs2: Fix unlinked inode cleanup
        gfs2: Allow immediate GLF_VERIFY_DELETE work
        gfs2: Initialize gl_no_formal_ino earlier
        ...
      ff2a7a06
    • Linus Torvalds's avatar
      Merge tag 'for-6.13/dm-changes' of... · 7eef7e30
      Linus Torvalds authored
      Merge tag 'for-6.13/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mikulas Patocka:
      
       - remove unused functions and variables
      
       - rate-limit error messages in syslog
      
       - fix typo
      
       - remove u64 alignment requirement for murmurhash
      
       - reset bi_ioprio to the default for dm-vdo
      
       - add support for get_unique_id
      
       - Add missing destroy_work_on_stack() to dm-thin
      
       - use kmalloc to allocate power-of-two sized buffers in bufio
      
      * tag 'for-6.13/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm-verity: remove the unused "data_start" variable
        dm-bufio: use kmalloc to allocate power-of-two sized buffers
        dm thin: Add missing destroy_work_on_stack()
        dm: add support for get_unique_id
        dm vdo: fix function doc comment formatting
        dm vdo int-map: remove unused parameters
        dm-vdo: reset bi_ioprio to the default value when the bio is reset
        dm-vdo murmurhash: remove u64 alignment requirement
        dm: Fix typo in error message
        dm ioctl: rate limit a couple of ioctl based error messages
        dm vdo: Remove unused uds_compute_index_size
        dm vdo: Remove unused functions
        dm: zoned: Remove unused functions
        dm: Remove unused dm_table_bio_based
        dm: Remove unused dm_set_md_type
        dm cache: Remove unused functions in bio-prison-v1
        dm cache: Remove unused dm_cache_size
        dm cache: Remove unused dm_cache_dump
        dm cache: Remove unused btracker_nr_writebacks_queued
      7eef7e30
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 0637a68b
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "Updates to the usual drivers (ufs, lpfc, hisi_sas, st).
      
        Amazingly enough, no core changes with the biggest set of driver
        changes being ufs (which conflicted with it's own fixes a bit, hence
        the merges) and the rest being minor fixes and updates"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (97 commits)
        scsi: st: New session only when Unit Attention for new tape
        scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
        scsi: st: Don't modify unknown block number in MTIOCGET
        scsi: ufs: core: Restore SM8650 support
        scsi: sun3: Mark driver struct with __refdata to prevent section mismatch
        scsi: sg: Enable runtime power management
        scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
        scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
        scsi: fusion: Remove unused variable 'rc'
        scsi: bfa: Fix use-after-free in bfad_im_module_exit()
        scsi: esas2r: Remove unused esas2r_build_cli_req()
        scsi: target: Fix incorrect function name in pscsi_create_type_disk()
        scsi: ufs: Replace deprecated PCI functions
        scsi: Switch back to struct platform_driver::remove()
        scsi: pm8001: Increase request sg length to support 4MiB requests
        scsi: pm8001: Initialize devices in pm8001_alloc_dev()
        scsi: pm8001: Use module param to set pcs event log severity
        scsi: ufs: ufs-mediatek: Configure individual LU queue flags
        scsi: MAINTAINERS: Update UFS Exynos entry
        scsi: lpfc: Copyright updates for 14.4.0.6 patches
        ...
      0637a68b
    • Linus Torvalds's avatar
      iommu: remove stale declaration left over by a merge conflict · 222974c6
      Linus Torvalds authored
      
      The merge commit ae3325f7 ("Merge branches 'arm/smmu', 'mediatek',
      's390', 'ti/omap', 'riscv' and 'core' into next") left a stale
      declaration of 'iommu_present()' even though the 'core' branch that was
      merged had removed the function (and the declaration).
      
      Remove it for real.
      
      Reported-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
      Cc: Joerg Roedel <jroedel@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      222974c6
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 78a2cbd8
      Linus Torvalds authored
      Pull nvdimm and DAX updates from Ira Weiny:
       "Most represent minor cleanups and code removals. One patch fixes
        potential NULL pointer arithmetic which was benign because the offset
        of the member was 0. Nevertheless it should be cleaned up.
      
         - typo fixes
      
         - clarify logic to remove potential NULL pointer math
      
         - remove dead code"
      
      * tag 'libnvdimm-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        dax: Remove an unused field in struct dax_operations
        dax: delete a stale directory pmem
        nvdimm: rectify the illogical code within nd_dax_probe()
        nvdimm: Correct some typos in comments
      78a2cbd8
    • Linus Torvalds's avatar
      Merge tag 'mailbox-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox · 2c22dc1e
      Linus Torvalds authored
      Pull mailbox updates from Jassi Brar:
       "Common:
         - switch back from remove_new() to remove() callback
      
        imx:
         - fix format specifier
      
        zynqmp:
         - setup IPI for each child node
      
        thead:
         - Add th1520 driver and bindings
      
        qcom:
         - add SM8750 and SAR2130p compatibles
         - fix expected clocks for callbacks
         - use IRQF_NO_SUSPEND for cpucp
      
        mtk-cmdq:
         - switch to __pm_runtime_put_autosuspend()
         - fix alloc size of clocks
      
        mpfs:
         - fix reg properties
      
        ti-msgmgr:
         - don't use of_match_ptr helper
         - enable COMPILE_TEST build
      
        pcc:
         - consider the PCC_ACK_FLAG
      
        arm_mhuv2:
         - fix non-fatal improper reuse of variable"
      
      * tag 'mailbox-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox:
        mailbox: pcc: Check before sending MCTP PCC response ACK
        mailbox: Switch back to struct platform_driver::remove()
        mailbox: imx: Modify the incorrect format specifier
        mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb()
        mailbox: zynqmp: setup IPI for each valid child node
        dt-bindings: mailbox: Add thead,th1520-mailbox bindings
        mailbox: Introduce support for T-head TH1520 Mailbox driver
        mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
        dt-bindings: mailbox: qcom-ipcc: Add SM8750
        dt-bindings: mailbox: qcom,apcs-kpss-global: correct expected clocks for fallbacks
        dt-bindings: mailbox: qcom-ipcc: Add SAR2130P compatible
        mailbox: ti-msgmgr: Allow building under COMPILE_TEST
        mailbox: ti-msgmgr: Remove use of of_match_ptr() helper
        mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag
        mailbox: mtk-cmdq-mailbox: Switch to __pm_runtime_put_autosuspend()
        mailbox: mpfs: support new, syscon based, devicetree configuration
        dt-bindings: mailbox: mpfs: fix reg properties
      2c22dc1e
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 2d32fba0
      Linus Torvalds authored
      Pull pin control updates from Linus Walleij:
       "No core changes this time.
      
        New drivers:
      
         - Xlinix Versal pin control driver
      
         - Ocelot LAN969x pin control driver
      
         - T-Head TH1520 RISC-V SoC pin control driver
      
         - Qualcomm SM8750, IPQ5424, QCS8300, SAR2130P and QCS615 SoC pin
           control drivers
      
         - Qualcomm SM8750 LPASS (low power audio subsystem) pin control
           driver
      
         - Qualcomm PM8937 mixsig IC pin control support, GPIO and MPP
           (multi-purpose-pin)
      
         - Samsung Exynos8895 and Exynos9810 SoC pin control driver
      
         - SpacemiT K1 SoC pin control driver
      
         - Airhoa EN7581 IC pin control driver
      
        Improvements:
      
         - The Renesas subdriver now supports schmitt-trigger and open drain
           pin configurations if the hardware supports it
      
         - Support GPIOF and GPIOG banks in the Aspeed G6 SoC
      
         - Support the DSW community in the Intel Elkhartlake SoC"
      
      * tag 'pinctrl-v6.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (105 commits)
        pinctrl: airoha: Use unsigned long for bit search
        pinctrl: k210: Undef K210_PC_DEFAULT
        pinctrl: qcom: spmi: fix debugfs drive strength
        pinctrl: qcom: Add sm8750 pinctrl driver
        dt-bindings: pinctrl: qcom: Add sm8750 pinctrl
        pinctrl: cy8c95x0: remove unneeded goto labels
        pinctrl: cy8c95x0: embed iterator to the for-loop
        pinctrl: cy8c95x0: Use temporary variable for struct device
        pinctrl: cy8c95x0: use flexible sleeping in reset function
        pinctrl: cy8c95x0: switch to using devm_regulator_get_enable()
        pinctrl: cy8c95x0: Use 2-argument strscpy()
        dt-bindings: pinctrl: sx150xq: allow gpio line naming
        pinctrl: single: add marvell,pxa1908-padconf compatible
        dt-bindings: pinctrl: pinctrl-single: add marvell,pxa1908-padconf compatible
        dt-bindings: pinctrl: correct typo of description for cv1800
        pinctrl: qcom: spmi-mpp: Add PM8937 compatible
        dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8937 compatible
        pinctrl: qcom-pmic-gpio: add support for PM8937
        dt-bindings: pinctrl: qcom,pmic-gpio: add PM8937
        pinctrl: Use of_property_present() for non-boolean properties
        ...
      2d32fba0
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.13-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 70dbb12e
      Linus Torvalds authored
      Pull more i2c updates from Wolfram Sang:
       "Andi was super busy the last weeks, so this pull requests contains one
        series (nomadik) and a number of smaller additions which were ready to
        go but nearly overlooked.
      
        New feature support:
      
         - Added support for frequencies up to 3.4 MHz on Nomadik I2C
      
         - DesignWare now accounts for bus capacitance and clock optimisation
           (declared as new parameters in the binding) to improve the
           calculation of signal rise and fall times (t_high and t_low)
      
        New Hardware support:
      
         - DWAPB I2C controller on FUJITSU-MONAKA (new ACPI HID)
      
         - Allwinner A523 (new compatible ID)
      
         - Mobileye EyeQ6H (new compatible ID)"
      
      * tag 'i2c-for-6.13-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        MAINTAINERS: transfer i2c-aspeed maintainership from Brendan to Ryan
        i2c: designware: determine HS tHIGH and tLOW based on HW parameters
        dt-bindings: i2c: snps,designware-i2c: declare bus capacitance and clk freq optimized
        i2c: nomadik: support >=1MHz speed modes
        i2c: nomadik: fix BRCR computation
        i2c: nomadik: support Mobileye EyeQ6H I2C controller
        i2c: nomadik: switch from of_device_is_compatible() to of_match_device()
        dt-bindings: i2c: nomadik: support 400kHz < clock-frequency <= 3.4MHz
        dt-bindings: i2c: nomadik: add mobileye,eyeq6h-i2c bindings
        dt-bindings: i2c: mv64xxx: Add Allwinner A523 compatible string
        i2c: designware: Add ACPI HID for DWAPB I2C controller on FUJITSU-MONAKA
        i2c: qup: use generic device property accessors
      70dbb12e
    • Linus Torvalds's avatar
      Merge tag 'firewire-updates-6.13' of... · 5d38cb9b
      Linus Torvalds authored
      Merge tag 'firewire-updates-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire updates from Takashi Sakamoto:
       "A few updates for the 6.13 kernel, including some typo corrections in
        the software stack and some fixes for tools. Additionally, it includes
        a change resulting from the deprecation of a kernel API in the PCI
        subsystem"
      
      * tag 'firewire-updates-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        tools/firewire: Fix several incorrect format specifiers
        firewire: ohci: Replace deprecated PCI functions
        firewire: Correct some typos
      5d38cb9b
    • Linus Torvalds's avatar
      Merge tag 'slab-for-6.13-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab · e06635e2
      Linus Torvalds authored
      Pull slab updates from Vlastimil Babka:
      
       - Add new slab_strict_numa boot parameter to enforce per-object memory
         policies on top of slab folio policies, for systems where saving cost
         of remote accesses is more important than minimizing slab allocation
         overhead (Christoph Lameter)
      
       - Fix for freeptr_offset alignment check being too strict for m68k
         (Geert Uytterhoeven)
      
       - krealloc() fixes for not violating __GFP_ZERO guarantees on
         krealloc() when slub_debug (redzone and object tracking) is enabled
         (Feng Tang)
      
       - Fix a memory leak in case sysfs registration fails for a slab cache,
         and also no longer fail to create the cache in that case (Hyeonggon
         Yoo)
      
       - Fix handling of detected consistency problems (due to buggy slab
         user) with slub_debug enabled, so that it does not cause further list
         corruption bugs (yuan.gao)
      
       - Code cleanup and kerneldocs polishing (Zhen Lei, Vlastimil Babka)
      
      * tag 'slab-for-6.13-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
        slab: Fix too strict alignment check in create_cache()
        mm/slab: Allow cache creation to proceed even if sysfs registration fails
        mm/slub: Avoid list corruption when removing a slab from the full list
        mm/slub, kunit: Add testcase for krealloc redzone and zeroing
        mm/slub: Improve redzone check and zeroing for krealloc()
        mm/slub: Consider kfence case for get_orig_size()
        SLUB: Add support for per object memory policies
        mm, slab: add kerneldocs for common SLAB_ flags
        mm/slab: remove duplicate check in create_cache()
        mm/slub: Move krealloc() and related code to slub.c
        mm/kasan: Don't store metadata inside kmalloc object when slub_debug_orig_size is on
      e06635e2
    • Linus Torvalds's avatar
      Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of... · f5f4745a
      Linus Torvalds authored
      Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull non-MM updates from Andrew Morton:
      
       - The series "resource: A couple of cleanups" from Andy Shevchenko
         performs some cleanups in the resource management code
      
       - The series "Improve the copy of task comm" from Yafang Shao addresses
         possible race-induced overflows in the management of
         task_struct.comm[]
      
       - The series "Remove unnecessary header includes from
         {tools/}lib/list_sort.c" from Kuan-Wei Chiu adds some cleanups and a
         small fix to the list_sort library code and to its selftest
      
       - The series "Enhance min heap API with non-inline functions and
         optimizations" also from Kuan-Wei Chiu optimizes and cleans up the
         min_heap library code
      
       - The series "nilfs2: Finish folio conversion" from Ryusuke Konishi
         finishes off nilfs2's folioification
      
       - The series "add detect count for hung tasks" from Lance Yang adds
         more userspace visibility into the hung-task detector's activity
      
       - Apart from that, singelton patches in many places - please see the
         individual changelogs for details
      
      * tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (71 commits)
        gdb: lx-symbols: do not error out on monolithic build
        kernel/reboot: replace sprintf() with sysfs_emit()
        lib: util_macros_kunit: add kunit test for util_macros.h
        util_macros.h: fix/rework find_closest() macros
        Improve consistency of '#error' directive messages
        ocfs2: fix uninitialized value in ocfs2_file_read_iter()
        hung_task: add docs for hung_task_detect_count
        hung_task: add detect count for hung tasks
        dma-buf: use atomic64_inc_return() in dma_buf_getfile()
        fs/proc/kcore.c: fix coccinelle reported ERROR instances
        resource: avoid unnecessary resource tree walking in __region_intersects()
        ocfs2: remove unused errmsg function and table
        ocfs2: cluster: fix a typo
        lib/scatterlist: use sg_phys() helper
        checkpatch: always parse orig_commit in fixes tag
        nilfs2: convert metadata aops from writepage to writepages
        nilfs2: convert nilfs_recovery_copy_block() to take a folio
        nilfs2: convert nilfs_page_count_clean_buffers() to take a folio
        nilfs2: remove nilfs_writepage
        nilfs2: convert checkpoint file to be folio-based
        ...
      f5f4745a
  2. Nov 25, 2024
    • Linus Torvalds's avatar
      Merge tag 'trace-rust-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 7f4f3b14
      Linus Torvalds authored
      Pull rust trace event support from Steven Rostedt:
       "Allow Rust code to have trace events
      
        Trace events is a popular way to debug what is happening inside the
        kernel or just to find out what is happening. Rust code is being added
        to the Linux kernel but it currently does not support the tracing
        infrastructure. Add support of trace events inside Rust code"
      
      * tag 'trace-rust-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        rust: jump_label: skip formatting generated file
        jump_label: rust: pass a mut ptr to `static_key_count`
        samples: rust: fix `rust_print` build making it a combined module
        rust: add arch_static_branch
        jump_label: adjust inline asm to be consistent
        rust: samples: add tracepoint to Rust sample
        rust: add tracepoint support
        rust: add static_branch_unlikely for static_key_false
      7f4f3b14
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 36843bfb
      Linus Torvalds authored
      Pull hardening updates from Kees Cook:
      
       - Disable __counted_by in Clang < 19.1.3 (Jan Hendrik Farr)
      
       - string_helpers: Silence output truncation warning (Bartosz
         Golaszewski)
      
       - compiler.h: Avoid needing BUILD_BUG_ON_ZERO() (Philipp Reisner)
      
       - MAINTAINERS: Add kernel hardening keywords __counted_by{_le|_be}
         (Thorsten Blum)
      
      * tag 'hardening-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        Compiler Attributes: disable __counted_by for clang < 19.1.3
        compiler.h: Fix undefined BUILD_BUG_ON_ZERO()
        lib: string_helpers: silence snprintf() output truncation warning
        MAINTAINERS: Add kernel hardening keywords __counted_by{_le|_be}
      36843bfb
    • David Laight's avatar
      x86: fix off-by-one in access_ok() · 573f45a9
      David Laight authored
      
      When the size isn't a small constant, __access_ok() will call
      valid_user_address() with the address after the last byte of the user
      buffer.
      
      It is valid for a buffer to end with the last valid user address so
      valid_user_address() must allow accesses to the base of the guard page.
      
      [ This introduces an off-by-one in the other direction for the plain
        non-sized accesses, but since we have that guard region that is a
        whole page, those checks "allowing" accesses to that guard region
        don't really matter. The access will fault anyway, whether to the
        guard page or if the address has been masked to all ones - Linus ]
      
      Fixes: 86e6b154 ("x86: fix user address masking non-canonical speculation issue")
      Signed-off-by: default avatarDavid Laight <david.laight@aculab.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      573f45a9
    • Linus Torvalds's avatar
      futex: improve user space accesses · 43a43faf
      Linus Torvalds authored
      Josh Poimboeuf reports that he got a "will-it-scale.per_process_ops 1.9%
      improvement" report for his patch that changed __get_user() to use
      pointer masking instead of the explicit speculation barrier.  However,
      that patch doesn't actually work in the general case, because some (very
      bad) architecture-specific code actually depends on __get_user() also
      working on kernel addresses.
      
      A profile showed that the offending __get_user() was the futex code,
      which really should be fixed up to not use that horrid legacy case.
      Rewrite futex_get_value_locked() to use the modern user acccess helpers,
      and inline it so that the compiler not only avoids the function call for
      a few instructions, but can do CSE on the address masking.
      
      It also turns out the x86 futex functions have unnecessary barriers in
      other places, so let's fix those up too.
      
      Link: https://lore.kernel.org/all/20241115230653.hfvzyf3aqqntgp63@jpoimboe/
      
      
      Reported-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      43a43faf
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · 4e07155d
      Linus Torvalds authored
      Pull fbdev updates from Helge Deller:
      
       - omapfb: Remove unused code (Dr. David Alan Gilbert)
      
       - sh7760fb: Fix memory leak in error path of sh7760fb_alloc_mem() (Zhen
         Lei)
      
      * tag 'fbdev-for-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        fbdev: omapfb: Remove some deadcode
        fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
      4e07155d
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.13-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 3e51108c
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
      
       - support for NT36672A touchscreen added to novatek-nvt-ts driver
      
       - a change to ads7846 driver to prevent XPT2046 from locking up
      
       - a change switching platform input dirves back to using remove()
         method (from remove_new())
      
       - updates to a number of input drivers to use the new cleanup
         facilities (__free(...), guard(), and scoped-guard()) which ensure
         that the resources and locks are released properly and automatically
      
       - other assorted driver cleanups and fixes.
      
      * tag 'input-for-v6.13-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (109 commits)
        Input: mpr121 - use devm_regulator_get_enable_read_voltage()
        Input: sun4i-lradc-keys - don't include 'pm_wakeup.h' directly
        Input: spear-keyboard - don't include 'pm_wakeup.h' directly
        Input: cypress-sf - constify struct i2c_device_id
        Input: ads7846 - increase xfer array size in 'struct ser_req'
        Input: fix the input_event struct documentation
        Input: i8042 - fix typo dublicate to duplicate
        Input: ads7846 - add dummy command register clearing cycle
        Input: cs40l50 - fix wrong usage of INIT_WORK()
        Input: introduce notion of passive observers for input handlers
        Input: maple_keyb - use guard notation when acquiring mutex
        Input: locomokbd - use guard notation when acquiring spinlock
        Input: hilkbd - use guard notation when acquiring spinlock
        Input: synaptics-rmi4 - switch to using cleanup functions in F34
        Input: synaptics - fix a typo
        dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
        Input: omap-keypad - use guard notation when acquiring mutex
        Input: imagis - fix warning regarding 'imagis_3038_data' being unused
        Input: userio - remove unneeded semicolon
        Input: sparcspkr - use cleanup facility for device_node
        ...
      3e51108c
    • Linus Torvalds's avatar
      Revert "HID: bpf: allow write access to quirks field in struct hid_device" · 919464de
      Linus Torvalds authored
      
      This reverts commit 6fd47eff, and the related self-test update
      commit e14e0eae ("selftests/hid: add test for assigning a given
      device to hid-generic").
      
      It results in things like the scroll wheel on Logitech mice not working
      after a reboot due to the kernel being confused about the state of the
      high-resolution mode.
      
      Quoting Benjamin Tissoires:
       "The idea of 6fd47eff was to be able to call hid_bpf_rdesc_fixup()
        once per reprobe of the device.
      
        However, because the bpf filter can now change the quirk value, the
        call had to be moved before the driver gets bound (which was
        previously ensuring the unicity of the call).
      
        The net effect is that now, in the case hid-generic gets loaded first
        and then the specific driver gets loaded once the disk is available,
        the value of ->quirks is not reset, but kept to the value that was set
        by hid-generic (HID_QUIRK_INPUT_PER_APP).
      
        Once hid-logitech-hidpp kicks in, that quirk is now set, which creates
        two inputs for the single mouse: one keyboard for fancy shortcuts, and
        one mouse node.
      
        However, hid-logitech-hidpp expects only one input node to be attached
        (it stores it into hidpp->input), and when a wheel event is received,
        because there is some processing with high-resolution wheel events,
        the wheel event is injected into hidpp->input.
      
        And of course, when HID_QUIRK_INPUT_PER_APP is set, hidpp->input gets
        the keyboard node, which doesn't have wheel event type, and the events
        are ignored"
      
      Reported-and-bisected-by: default avatarMike Galbraith <efault@gmx.de>
      Link: https://lore.kernel.org/all/CAHk-=wiUkQM3uheit2cNM0Y0OOY5qqspJgC8LkmOkJ2p2LDxcw@mail.gmail.com/
      
      
      Acked-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      919464de
    • Dmitry Torokhov's avatar
      Merge branch 'next' into for-linus · 0201710b
      Dmitry Torokhov authored
      Prepare input updates for 6.13 merge window.
      0201710b
  3. Nov 24, 2024
Loading