1. Sep 30, 2022
  2. Sep 25, 2022
  3. Sep 24, 2022
    • Linus Torvalds's avatar
      Merge tag 'tty-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 7e2cd21e
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are some small, and late, serial driver fixes for 6.0-rc7 to
        resolve some reported problems.
      
        Included in here are:
      
         - tegra icount accounting fixes, including a framework function that
           other drivers will be converted over to using in 6.1-rc1.
      
         - fsl_lpuart reset bugfix
      
         - 8250 omap 485 bugfix
      
         - sifive serial clock bugfix
      
        The last three patches have not shown up in linux-next due to them
        being added to my tree only 2 days ago, but they are tiny and
        self-contained and the developers say they resolve issues that they
        have with 6.0-rc. The other three have been in linux-next for a while
        with no reported issues"
      
      * tag 'tty-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        serial: sifive: enable clocks for UART when probed
        serial: 8250: omap: Use serial8250_em485_supported
        serial: fsl_lpuart: Reset prior to registration
        serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
        serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
        serial: Create uart_xmit_advance()
      7e2cd21e
    • Linus Torvalds's avatar
      Merge tag 'cgroup-for-6.0-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 1772094f
      Linus Torvalds authored
      Pull cgroup fixes from Tejun Heo:
      
       - Add Waiman Long as a cpuset maintainer
      
       - cgroup_get_from_id() could be fed a kernfs ID which doesn't point to
         a cgroup directory but a knob file and then crash. Error out if the
         lookup kernfs_node isn't a directory.
      
      * tag 'cgroup-for-6.0-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
        cpuset: Add Waiman Long as a cpuset maintainer
      1772094f
    • Linus Torvalds's avatar
      Merge tag 'wq-for-6.0-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · aae8dda5
      Linus Torvalds authored
      Pull workqueue fix from Tejun Heo:
       "Just one patch to improve flush lockdep coverage"
      
      * tag 'wq-for-6.0-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: don't skip lockdep work dependency in cancel_work_sync()
      aae8dda5
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-23' of git://git.kernel.dk/linux · 3db61221
      Linus Torvalds authored
      Pull io_uring fix from Jens Axboe:
       "Just a single fix for an issue with un-reaped IOPOLL requests on ring
        exit"
      
      * tag 'io_uring-6.0-2022-09-23' of git://git.kernel.dk/linux:
        io_uring: ensure that cached task references are always put on exit
      3db61221
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-09-22' of git://git.kernel.dk/linux · 0be27f7b
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Fix a regression that's been plaguing us by reverting the offending
        commit, as attempts to both reproduce the issue and fix it in a saner
        fashion have failed.
      
        Fix for a potential oops condition in the s390 dasd block driver"
      
      * tag 'block-6.0-2022-09-22' of git://git.kernel.dk/linux:
        Revert "block: freeze the queue earlier in del_gendisk"
        s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
      0be27f7b
    • Sergiu Moga's avatar
      MAINTAINERS: Solve warning regarding inexistent atmel-usart binding · 4c892885
      Sergiu Moga authored
      After the conversion to json-schema, what was previously known as
      `Documentation/devicetree/bindings/mfd/atmel-usart.txt`
      has been moved to another bindings directory and renamed to
      `Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml`.
      Thus, make `MAINTAINERS` reflect this change.
      
      Fixes: b9e947fb
      
       ("dt-bindings: serial: atmel,at91-usart: convert to json-schema")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
      Signed-off-by: default avatarSergiu Moga <sergiu.moga@microchip.com>
      Link: https://lore.kernel.org/r/20220923113415.90236-1-sergiu.moga@microchip.com
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c892885
    • Jens Axboe's avatar
      io_uring: ensure that cached task references are always put on exit · e775f93f
      Jens Axboe authored
      io_uring caches task references to avoid doing atomics for each of them
      per request. If a request is put from the same task that allocated it,
      then we can maintain a per-ctx cache of them. This obviously relies
      on io_uring always pruning caches in a reliable way, and there's
      currently a case off io_uring fd release where we can miss that.
      
      One example is a ring setup with IOPOLL, which relies on the task
      polling for completions, which will free them. However, if such a task
      submits a request and then exits or closes the ring without reaping
      the completion, then ring release will reap and put. If release happens
      from that very same task, the completed request task refs will get
      put back into the cache pool. This is problematic, as we're now beyond
      the point of pruning caches.
      
      Manually drop these caches after doing an IOPOLL reap. This releases
      references from the current task, which is enough. If another task
      happens to be doing the release, then the caching will not be
      triggered and there's no issue.
      
      Cc: stable@vger.kernel.org
      Fixes: e98e49b2
      
       ("io_uring: extend task put optimisations")
      Reported-by: default avatarHomin Rhee <hominlab@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e775f93f
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · a63f2e7c
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "These are all very simple and self-contained, although the CFI
        jump-table fix touches the generic linker script as that's where the
        problematic macro lives.
      
         - Fix false positive "sleeping while atomic" warning resulting from
           the kPTI rework taking a mutex too early.
      
         - Fix possible overflow in AMU frequency calculation
      
         - Fix incorrect shift in CMN PMU driver which causes problems with
           newer versions of the IP
      
         - Reduce alignment of the CFI jump table to avoid huge kernel images
           and link errors with !4KiB page size configurations"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
        perf/arm-cmn: Add more bits to child node address offset field
        arm64: topology: fix possible overflow in amu_fie_setup()
        arm64: mm: don't acquire mutex when rewriting swapper
      a63f2e7c
    • Ming Lei's avatar
      cgroup: cgroup_get_from_id() must check the looked-up kn is a directory · df02452f
      Ming Lei authored
      
      
      cgroup has to be one kernfs dir, otherwise kernel panic is caused,
      especially cgroup id is provide from userspace.
      
      Reported-by: default avatarMarco Patalano <mpatalan@redhat.com>
      Fixes: 6b658c48
      
       ("scsi: cgroup: Add cgroup_get_from_id()")
      Cc: Muneendra <muneendra.kumar@broadcom.com>
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Acked-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
      Cc: stable@vger.kernel.org # v5.14+
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      df02452f
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 1707c39a
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are two tiny driver core fixes for 6.0-rc7 that resolve some
        oft-reported problems.
      
        The first is a revert of the "fw_devlink.strict=1" default option that
        we keep trying to enable, but we keep finding platforms that this just
        breaks everything on. So again, we need it reverted and hopefully it
        can be worked on in future releases.
      
        The second is a sysfs file-size bugfix that resolves an issue that
        many people are starting to hit as the fix it is fixing also was
        backported to stable kernels. The util-linux developers are starting
        to get bugreports about sysfs files that contain no data because of
        this problem, and this fix which has been in linux-next in the
        bitfield tree for a long time, resolves it. I'm submitting it here as
        it needs to be merged for 6.0-final, not for 6.1-rc1.
      
        Both of these have been in linux-next with no reported issues, only
        reports were that these fixed problems"
      
      * tag 'driver-core-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
        Revert "driver core: Set fw_devlink.strict=1 by default"
      1707c39a
    • Linus Torvalds's avatar
      Merge tag 'usb-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 33a4e37e
      Linus Torvalds authored
      Pull USB / Thunderbolt driver fixes and ids from Greg KH:
       "Here are a few small USB and Thunderbolt driver fixes and new device
        ids for 6.0-rc7.
      
        They contain:
      
         - new usb-serial driver ids
      
         - documentation build warning fix in USB hub code
      
         - flexcop-usb long-posted bugfix (the v4l maintainer for this is MIA
           so I have finally picked this up as it is a fix for a reported
           problem.)
      
         - dwc3 64bit DMA bugfix
      
         - new thunderbolt device ids
      
         - typec build error fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: typec: anx7411: Fix build error without CONFIG_POWER_SUPPLY
        media: flexcop-usb: fix endpoint type check
        USB: serial: option: add Quectel RM520N
        USB: serial: option: add Quectel BG95 0x0203 composition
        thunderbolt: Add support for Intel Maple Ridge single port controller
        usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
        USB: core: Fix RST error in hub.c
      33a4e37e
  4. Sep 23, 2022