1. 28 Oct, 2023 9 commits
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.6-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · db5cda7f
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some very small driver fixes for 6.6-final that have shown up
        in the past two weeks. Included in here are:
      
         - tiny fastrpc bugfixes for reported errors
      
         - nvmem register fixes
      
         - iio driver fixes for some reported problems
      
         - fpga test fix
      
         - MAINTAINERS file update for fpga
      
        All of these have been in linux-next this week with no reported
        problems"
      
      * tag 'char-misc-6.6-final' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        fpga: Fix memory leak for fpga_region_test_class_find()
        fpga: m10bmc-sec: Change contact for secure update driver
        fpga: disable KUnit test suites when module support is enabled
        iio: afe: rescale: Accept only offset channels
        nvmem: imx: correct nregs for i.MX6ULL
        nvmem: imx: correct nregs for i.MX6UL
        nvmem: imx: correct nregs for i.MX6SLL
        misc: fastrpc: Unmap only if buffer is unmapped from DSP
        misc: fastrpc: Clean buffers on remote invocation failures
        misc: fastrpc: Free DMA handles for RPC calls with no arguments
        misc: fastrpc: Reset metadata buffer to avoid incorrect free
        iio: exynos-adc: request second interupt only when touchscreen mode is used
        iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
        iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
        dt-bindings: iio: add missing reset-gpios constrain
      db5cda7f
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 8907bfd2
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Bugfixes for Axxia when it is a target and for PEC handling of
        stm32f7.
      
        Plus, fix an OF node leak pattern in the mux subsystem"
      
      * tag 'i2c-for-6.6-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
        i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
        i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
        i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
        i2c: aspeed: Fix i2c bus hang in slave read
      8907bfd2
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 67d4c879
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "Three fixes, one for the clk framework and two for clk drivers:
      
         - Avoid an oops in possible_parent_show() by checking for no parent
           properly when a DT index based lookup is used
      
         - Handle errors returned from divider_ro_round_rate() in
           clk_stm32_composite_determine_rate()
      
         - Fix clk_ops::determine_rate() implementation of socfpga's
           gateclk_ops that was ruining uart output because the divider
           was forgotten about"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: stm32: Fix a signedness issue in clk_stm32_composite_determine_rate()
        clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
        clk: socfpga: gate: Account for the divider in determine_rate
      67d4c879
    • Linus Torvalds's avatar
      Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d1b0949f
      Linus Torvalds authored
      Pull misc filesystem fixes from Al Viro:
       "Assorted fixes all over the place: literally nothing in common, could
        have been three separate pull requests.
      
        All are simple regression fixes, but not for anything from this cycle"
      
      * tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
        io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
        sparc32: fix a braino in fault handling in csum_and_copy_..._user()
      d1b0949f
    • Al Viro's avatar
      ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock · dc32464a
      Al Viro authored
      Use of dget() after we'd dropped ->d_lock is too late - dentry might
      be gone by that point.
      Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      dc32464a
    • Al Viro's avatar
      io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed · 1939316b
      Al Viro authored
      ->ki_pos value is unreliable in such cases.  For an obvious example,
      consider O_DSYNC write - we feed the data to page cache and start IO,
      then we make sure it's completed.  Update of ->ki_pos is dealt with
      by the first part; failure in the second ends up with negative value
      returned _and_ ->ki_pos left advanced as if sync had been successful.
      In the same situation write(2) does not advance the file position
      at all.
      Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
      Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      1939316b
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.6-2023-10-27' of git://git.kernel.dk/linux · 56567a20
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Fix for an issue reported where reading fdinfo could find a NULL
        thread as we didn't properly synchronize, and then a disable for the
        IOCB_DIO_CALLER_COMP optimization as a recent reported highlighted how
        that could lead to deadlocks if the task issued async O_DIRECT writes
        and then proceeded to do sync fallocate() calls"
      
      * tag 'io_uring-6.6-2023-10-27' of git://git.kernel.dk/linux:
        io_uring/rw: disable IOCB_DIO_CALLER_COMP
        io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
      56567a20
    • Al Viro's avatar
      sparc32: fix a braino in fault handling in csum_and_copy_..._user() · 1f36cd05
      Al Viro authored
      Fault handler used to make non-trivial calls, so it needed
      to set a stack frame up.  Used to be
      	save ... - grab a stack frame, old %o... become %i...
      	....
      	ret	- go back to address originally in %o7, currently %i7
      	 restore - switch to previous stack frame, in delay slot
      Non-trivial calls had been gone since ab5e8b33 and that code should
      have become
      	retl	- go back to address in %o7
      	 clr %o0 - have return value set to 0
      What it had become instead was
      	ret	- go back to address in %i7 - return address of *caller*
      	 clr %o0 - have return value set to 0
      which is not good, to put it mildly - we forcibly return 0 from
      csum_and_copy_{from,to}_iter() (which is what the call of that
      thing had been inlined into) and do that without dropping the
      stack frame of said csum_and_copy_..._iter().  Confuses the
      hell out of the caller of csum_and_copy_..._iter(), obviously...
      Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Fixes: ab5e8b33 "sparc32: propagate the calling conventions change down to __csum_partial_copy_sparc_generic()"
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      1f36cd05
    • Linus Torvalds's avatar
      Merge tag 'block-6.6-2023-10-27' of git://git.kernel.dk/linux · 2dc4e0f4
      Linus Torvalds authored
      Pull block fix from Jens Axboe:
       "Just a single fix for a potential divide-by-zero, introduced in this
        cycle"
      
      * tag 'block-6.6-2023-10-27' of git://git.kernel.dk/linux:
        blk-throttle: check for overflow in calculate_bytes_allowed
      2dc4e0f4
  2. 27 Oct, 2023 11 commits
  3. 26 Oct, 2023 8 commits
  4. 25 Oct, 2023 12 commits