1. 08 Oct, 2022 3 commits
    • Linus Torvalds's avatar
      Merge tag 'staging-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 3002b7a3
      Linus Torvalds authored
      Pull staging driver updates from Greg KH:
       "Here is the large set of staging driver changes for 6.1-rc1.
      
        Nothing really interesting in here at all except we deleted a driver
        (fwserial) as no one had been using it for a long time. Other than
        that, just the normal cleanups and minor fixes:
      
         - rtl8723bs driver cleanups
      
         - loads of r8188eu driver cleanups, making the driver smaller and
           fixing up some firmware dependency issues.
      
         - vt6655 driver cleanups.
      
         - lots of other small staging driver cleanups.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (266 commits)
        staging: rtl8192e: Rename variable Bandwidth to avoid CamelCase
        staging: r8188eu: remove PHY_RFConfig8188E()
        staging: r8188eu: remove PHY_RF6052_Config8188E()
        staging: r8188eu: convert ODM_ReadAndConfig_AGC_TAB_1T_8188E() to int
        staging: r8188eu: convert ODM_ReadAndConfig_PHY_REG_1T_8188E() to int
        staging: r8188eu: convert ODM_ReadAndConfig_RadioA_1T_8188E() to int
        staging: r8188eu: convert ODM_ReadAndConfig_MAC_REG_8188E() to int
        staging: rtl8192e: cmdpkt: Use skb_put_data() instead of skb_put/memcpy pair
        staging: r8188eu: Use skb_put_data() instead of skb_put/memcpy pair
        staging: r8188eu: remove hal/odm_RegConfig8188E.c
        staging: r8188eu: make odm_ConfigRF_RadioA_8188E() static
        staging: r8188eu: make odm_ConfigMAC_8188E() static
        staging: r8188eu: don't check for stop/removal in the blink worker
        staging: r8188eu: don't check bSurpriseRemoved in SwLedOff
        staging: rtl8192e: Remove unused variables ForcedAMSDUMaxSize, ...
        staging: rtl8192e: Rename CurrentMPDU..., ForcedAMPDU... and ForcedMPDU...
        staging: rtl8192e: Rename SelfMimoPs, CurrentOpMode and bForcedShortGI
        staging: rtl8192e: Rename PeerMimoPs, IOTAction and IOTRaFunc
        staging: rtl8192e: Rename RxRe...WinSize, RxReorder... and RxReorderDr...
        staging: rtl8192e: Rename szRT2RTAggBuffer, bRegRxRe... and bCurRxReo...
        ...
      3002b7a3
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · a0947666
      Linus Torvalds authored
      Pull char/misc and other driver updates from Greg KH:
       "Here is the large set of char/misc and other small driver subsystem
        changes for 6.1-rc1. Loads of different things in here:
      
         - IIO driver updates, additions, and changes. Probably the largest
           part of the diffstat
      
         - habanalabs driver update with support for new hardware and
           features, the second largest part of the diff.
      
         - fpga subsystem driver updates and additions
      
         - mhi subsystem updates
      
         - Coresight driver updates
      
         - gnss subsystem updates
      
         - extcon driver updates
      
         - icc subsystem updates
      
         - fsi subsystem updates
      
         - nvmem subsystem and driver updates
      
         - misc driver updates
      
         - speakup driver additions for new features
      
         - lots of tiny driver updates and cleanups
      
        All of these have been in the linux-next tree for a while with no
        reported issues"
      
      * tag 'char-misc-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (411 commits)
        w1: Split memcpy() of struct cn_msg flexible array
        spmi: pmic-arb: increase SPMI transaction timeout delay
        spmi: pmic-arb: block access for invalid PMIC arbiter v5 SPMI writes
        spmi: pmic-arb: correct duplicate APID to PPID mapping logic
        spmi: pmic-arb: add support to dispatch interrupt based on IRQ status
        spmi: pmic-arb: check apid against limits before calling irq handler
        spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq
        spmi: pmic-arb: handle spurious interrupt
        spmi: pmic-arb: add a print in cleanup_irq
        drivers: spmi: Directly use ida_alloc()/free()
        MAINTAINERS: add TI ECAP driver info
        counter: ti-ecap-capture: capture driver support for ECAP
        Documentation: ABI: sysfs-bus-counter: add frequency & num_overflows items
        dt-bindings: counter: add ti,am62-ecap-capture.yaml
        counter: Introduce the COUNTER_COMP_ARRAY component type
        counter: Consolidate Counter extension sysfs attribute creation
        counter: Introduce the Count capture component
        counter: 104-quad-8: Add Signal polarity component
        counter: Introduce the Signal polarity component
        counter: interrupt-cnt: Implement watch_validate callback
        ...
      a0947666
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · e8bc52cb
      Linus Torvalds authored
      Pull driver core updates from Greg KH:
       "Here is the big set of driver core and debug printk changes for
        6.1-rc1. Included in here is:
      
         - dynamic debug updates for the core and the drm subsystem. The drm
           changes have all been acked by the relevant maintainers
      
         - kernfs fixes for syzbot reported problems
      
         - kernfs refactors and updates for cgroup requirements
      
         - magic number cleanups and removals from the kernel tree (they were
           not being used and they really did not actually do anything)
      
         - other tiny cleanups
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (74 commits)
        docs: filesystems: sysfs: Make text and code for ->show() consistent
        Documentation: NBD_REQUEST_MAGIC isn't a magic number
        a.out: restore CMAGIC
        device property: Add const qualifier to device_get_match_data() parameter
        drm_print: add _ddebug descriptor to drm_*dbg prototypes
        drm_print: prefer bare printk KERN_DEBUG on generic fn
        drm_print: optimize drm_debug_enabled for jump-label
        drm-print: add drm_dbg_driver to improve namespace symmetry
        drm-print.h: include dyndbg header
        drm_print: wrap drm_*_dbg in dyndbg descriptor factory macro
        drm_print: interpose drm_*dbg with forwarding macros
        drm: POC drm on dyndbg - use in core, 2 helpers, 3 drivers.
        drm_print: condense enum drm_debug_category
        debugfs: use DEFINE_SHOW_ATTRIBUTE to define debugfs_regset32_fops
        driver core: use IS_ERR_OR_NULL() helper in device_create_groups_vargs()
        Documentation: ENI155_MAGIC isn't a magic number
        Documentation: NBD_REPLY_MAGIC isn't a magic number
        nbd: remove define-only NBD_MAGIC, previously magic number
        Documentation: FW_HEADER_MAGIC isn't a magic number
        Documentation: EEPROM_MAGIC_VALUE isn't a magic number
        ...
      e8bc52cb
  2. 07 Oct, 2022 34 commits
    • Linus Torvalds's avatar
      Merge tag 'usb-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · d3dcbe24
      Linus Torvalds authored
      Pull USB / Thunderbolt updates from Greg KH:
       "Here is the big set of USB and Thunderbolt driver changes for 6.1-rc1.
      
        Nothing major in here, lots of little things with new devices
        supported and updates for a few drivers. Highlights include:
      
         - thunderbolt/USB4 devices supported a bit better than before, and
           some new ids to enable new hardware devices
      
         - USB gadget uvc updates for newer video formats and better v4l
           integration (the v4l portions were acked by those maintainers)
      
         - typec updates for tiny issues and more typec drivers for new chips.
      
         - xhci tiny updates for minor issues
      
         - big usb-serial ftdi_sio driver update to handle new devices better
      
         - lots of tiny dwc3 fixes and updates for the IP block that is
           showing up everywhere these days
      
         - dts updates for new devices being supported
      
         - other tiny janitorial and cleanups fixes for lots of different USB
           drivers. Full details are in the shortlog.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (169 commits)
        usb: gadget: uvc: don't put item still in use
        usb: gadget: uvc: Fix argument to sizeof() in uvc_register_video()
        usb: host: ehci-exynos: switch to using gpiod API
        Revert "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"
        Revert "USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon is present""
        dt-bindings: usb: Convert FOTG210 to dt schema
        usb: mtu3: fix failed runtime suspend in host only mode
        USB: omap_udc: Fix spelling mistake: "tranceiver_ctrl" -> "transceiver_ctrl"
        usb: typec: ucsi_ccg: Disable UCSI ALT support on Tegra
        usb: typec: Replace custom implementation of device_match_fwnode()
        usb: typec: ucsi: Don't warn on probe deferral
        usb: add quirks for Lenovo OneLink+ Dock
        MAINTAINERS: switch dwc3 to Thinh
        usb: idmouse: fix an uninit-value in idmouse_open
        USB: PHY: JZ4770: Switch to use dev_err_probe() helper
        usb: phy: generic: Switch to use dev_err_probe() helper
        usb: ulpi: use DEFINE_SHOW_ATTRIBUTE to simplify ulpi_regs
        usb: cdns3: remove dead code
        usb: cdc-wdm: Use skb_put_data() instead of skb_put/memcpy pair
        usb: musb: sunxi: Switch to use dev_err_probe() helper
        ...
      d3dcbe24
    • Linus Torvalds's avatar
      Merge tag 'tty-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 6181073d
      Linus Torvalds authored
      Pull tty/serial driver updates from Greg KH:
       "Here is the big set of TTY and Serial driver updates for 6.1-rc1.
      
        Lots of cleanups in here, no real new functionality this time around,
        with the diffstat being that we removed more lines than we added!
      
        Included in here are:
      
         - termios unification cleanups from Al Viro, it's nice to finally get
           this work done
      
         - tty serial transmit cleanups in various drivers in preparation for
           more cleanup and unification in future releases (that work was not
           ready for this release)
      
         - n_gsm fixes and updates
      
         - ktermios cleanups and code reductions
      
         - dt bindings json conversions and updates for new devices
      
         - some serial driver updates for new devices
      
         - lots of other tiny cleanups and janitorial stuff. Full details in
           the shortlog.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'tty-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (102 commits)
        serial: cpm_uart: Don't request IRQ too early for console port
        tty: serial: do unlock on a common path in altera_jtaguart_console_putc()
        tty: serial: unify TX space reads under altera_jtaguart_tx_space()
        tty: serial: use FIELD_GET() in lqasc_tx_ready()
        tty: serial: extend lqasc_tx_ready() to lqasc_console_putchar()
        tty: serial: allow pxa.c to be COMPILE_TESTed
        serial: stm32: Fix unused-variable warning
        tty: serial: atmel: Add COMMON_CLK dependency to SERIAL_ATMEL
        serial: 8250: Fix restoring termios speed after suspend
        serial: Deassert Transmit Enable on probe in driver-specific way
        serial: 8250_dma: Convert to use uart_xmit_advance()
        serial: 8250_omap: Convert to use uart_xmit_advance()
        MAINTAINERS: Solve warning regarding inexistent atmel-usart binding
        serial: stm32: Deassert Transmit Enable on ->rs485_config()
        serial: ar933x: Deassert Transmit Enable on ->rs485_config()
        tty: serial: atmel: Use FIELD_PREP/FIELD_GET
        tty: serial: atmel: Make the driver aware of the existence of GCLK
        tty: serial: atmel: Only divide Clock Divisor if the IP is USART
        tty: serial: atmel: Separate mode clearing between UART and USART
        dt-bindings: serial: atmel,at91-usart: Add gclk as a possible USART clock
        ...
      6181073d
    • Linus Torvalds's avatar
      Merge tag 'soundwire-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · 881eccbe
      Linus Torvalds authored
      Pull soundwire updates from Vinod Koul:
       "Updates for Intel, Cadence and Qualcomm drivers:
      
         - another round of Intel driver cleanup to prepare for future code
           reorg which is expected in next cycle (Pierre-Louis Bossart)
      
         - bus unattach notifications processing during re-enumeration along
           with Cadence driver updates for this (Richard Fitzgerald)
      
         - Qualcomm driver updates to handle device0 status (Srinivas
           Kandagatla)"
      
      * tag 'soundwire-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire: (42 commits)
        soundwire: intel: add helper to stop bus
        soundwire: intel: introduce helpers to start bus
        soundwire: intel: introduce intel_shim_check_wake() helper
        soundwire: intel: simplify read ops assignment
        soundwire: intel: remove intel_init() wrapper
        soundwire: intel: move shim initialization before power up/down
        soundwire: intel: remove clock_stop parameter in intel_shim_init()
        soundwire: intel: move all PDI initialization under intel_register_dai()
        soundwire: intel: move DAI registration and debugfs init earlier
        soundwire: intel: simplify flow and use devm_ for DAI registration
        soundwire: intel: fix error handling on dai registration issues
        soundwire: cadence: Simplify error paths in cdns_xfer_msg()
        soundwire: cadence: Fix error check in cdns_xfer_msg()
        soundwire: cadence: Write to correct address for each FIFO chunk
        soundwire: bus: Fix wrong port number in sdw_handle_slave_alerts()
        soundwire: qcom: do not send status of device 0 during alert
        soundwire: qcom: update status from device id 1
        soundwire: cadence: Don't overwrite msg->buf during write commands
        soundwire: bus: Don't exit early if no device IDs were programmed
        soundwire: cadence: Fix lost ATTACHED interrupts when enumerating
        ...
      881eccbe
    • Linus Torvalds's avatar
      Merge tag 'phy-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 33e591de
      Linus Torvalds authored
      Pull phy updates from Vinod Koul:
       "This contains bunch of new device support and one new Sunplus driver
        along with updates which include another big round of qmp phy
        conversion.
      
        New support:
         - Qualcomm SC8280XP eDP & DP and USB3 UNI phy (Bjorn Andersson)
         - Rockchip rk3568 inno dsidphy (Chris Morgan)
         - ocelot-serdes phy yaml binding (Colin Foster)
         - Renesas gen2-usb phy yaml binding (Geert Uytterhoeven)
         - RGMII suport in lan966x driver (Horatiu Vultur)
         - Qualcomm SM6375 usb snps-femto-v2 bindings (Konrad Dybcio)
         - Rockchip rk356x csi-dphya (Michael Riesch)
         - Qualcomm sdm670 usb2 bindings (Richard Acayan)
         - Sunplus USB2 PHY (Vincent Shih)
      
        Updates:
         - Mediatek hdmi, ufs, tphy and xsphy updates to use bitfield helpers
           (Chunfeng Yun)
         - Continued Qualcomm qmp phy driver split and cleanup. More patches
           are under review and expected that next cycle might see completion
           of this activity (Dmitry Baryshkov & Johan Hovold)
         - TI wiz driver support for j7200 10g (Roger Quadros)
         - Qualcomm femto phy driver support for override params to help with
           tuning (Sandeep Maheswaram)
         - SGMII support in TI wiz driver (Siddharth Vadapalli)
         - dev_err_probe simplification (Yuan Can)"
      
      * tag 'phy-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (170 commits)
        phy: phy-mtk-dp: make array driving_params static const
        dt-bindings: phy: qcom,qusb2: document sdm670 compatible
        phy: qcom-qmp-pcie: fix resource mapping for SDM845 QHP PHY
        phy: rockchip-snps-pcie3: only look for rockchip,pipe-grf on rk3588
        phy: tegra: xusb: Enable usb role switch attribute
        phy: mediatek: fix build warning of FIELD_PREP()
        phy: qcom-qmp-usb: Use dev_err_probe() to simplify code
        phy: qcom-qmp-ufs: Use dev_err_probe() to simplify code
        phy: qcom-qmp-pcie-msm8996: Use dev_err_probe() to simplify code
        phy: qcom-qmp-combo: Use dev_err_probe() to simplify code
        phy: qualcomm: call clk_disable_unprepare in the error handling
        phy: intel: Use dev_err_probe() to simplify code
        phy: tegra: xusb: Use dev_err_probe() to simplify code
        phy: qcom-snps: Use dev_err_probe() to simplify code
        phy: qcom-qusb2: Use dev_err_probe() to simplify code
        phy: qcom-qmp-pcie: Use dev_err_probe() to simplify code
        phy: ti: phy-j721e-wiz: fix reference leaks in wiz_probe()
        phy: mediatek: mipi: remove register access helpers
        phy: mediatek: mipi: mt8183: use common helper to access registers
        phy: mediatek: mipi: mt8183: use GENMASK to generate bits mask
        ...
      33e591de
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 416a2f4f
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "New Support:
      
         - MT6795 SoC dma controller (AngeloGioacchino Del Regno)
      
         - qcom-adm controller yaml binding (Christian Marangi)
      
         - Renesas r8a779g0 dma controller yaml binding (Geert Uytterhoeven)
      
         - Qualcomm SM6350 GPI dma controller (Luca Weiss)
      
        Updates:
      
         - STM32 DMA-MDMA chaining support (Amelie Delaunay)
      
         - make hsu driver use managed resources (Andy Shevchenko)
      
         - the usual round of idxd driver updates (Dave Jiang & Jerry
           Snitselaar)
      
         - apple dma driver iommu and pd properties and remove use
           of devres for irqs (Janne Grunau & Martin Povišer)
      
         - device_synchronize support for Xilinx zynqmp driver (Swati
           Agarwal)"
      
      * tag 'dmaengine-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (60 commits)
        dmaengine: ioat: remove unused declarations in dma.h
        dmaengine: ti: k3-udma: Respond TX done if DMA_PREP_INTERRUPT is not requested
        dmaengine: zynqmp_dma: Add device_synchronize support
        dt-bindings: dma: add additional pbus reset to qcom,adm
        dt-bindings: dma: rework qcom,adm Documentation to yaml schema
        dt-bindings: dma: apple,admac: Add iommus and power-domains properties
        dmaengine: dw-edma: Remove runtime PM support
        dmaengine: idxd: add configuration for concurrent batch descriptor processing
        dmaengine: idxd: add configuration for concurrent work descriptor processing
        dmaengine: idxd: add WQ operation cap restriction support
        dmanegine: idxd: reformat opcap output to match bitmap_parse() input
        dmaengine: idxd: convert ats_dis to a wq flag
        dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
        dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg
        dmaengine: qcom-adm: fix wrong sizeof config in slave_config
        dmaengine: ti: k3-psil: add additional TX threads for j721e
        dmaengine: ti: k3-psil: add additional TX threads for j7200
        dmaengine: apple-admac: Trigger shared reset
        dmaengine: apple-admac: Do not use devres for IRQs
        dmaengine: ti: edma: Remove some unused functions
        ...
      416a2f4f
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 62e6e594
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "Updates to the usual drivers (qla2xxx, lpfc, ufs, hisi_sas, mpi3mr,
        mpt3sas, target). The biggest change (from my biased viewpoint) being
        that the mpi3mr now attached to the SAS transport class, making it the
        first fusion type device to do so.
      
        Beyond the usual bug fixing and security class reworks, there aren't a
        huge number of core changes"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (141 commits)
        scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
        scsi: mpi3mr: Remove unnecessary cast
        scsi: stex: Properly zero out the passthrough command structure
        scsi: mpi3mr: Update driver version to 8.2.0.3.0
        scsi: mpi3mr: Fix scheduling while atomic type bug
        scsi: mpi3mr: Scan the devices during resume time
        scsi: mpi3mr: Free enclosure objects during driver unload
        scsi: mpi3mr: Handle 0xF003 Fault Code
        scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
        scsi: mpi3mr: Schedule IRQ kthreads only on non-RT kernels
        scsi: mpi3mr: Support new power management framework
        scsi: mpi3mr: Update mpi3 header files
        scsi: mpt3sas: Revert "scsi: mpt3sas: Fix ioc->base_readl() use"
        scsi: mpt3sas: Revert "scsi: mpt3sas: Fix writel() use"
        scsi: wd33c93: Remove dead code related to the long-gone config WD33C93_PIO
        scsi: core: Add I/O timeout count for SCSI device
        scsi: qedf: Populate sysfs attributes for vport
        scsi: pm8001: Replace one-element array with flexible-array member
        scsi: 3w-xxxx: Replace one-element array with flexible-array member
        scsi: hptiop: Replace one-element array with flexible-array member in struct hpt_iop_request_ioctl_command()
        ...
      62e6e594
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · e08466a7
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "Not a big list of changes this cycle, mostly small things. The new
        MANA rdma driver should come next cycle along with a bunch of work on
        rxe.
      
        Summary:
      
         - Small bug fixes in mlx5, efa, rxe, hns, irdma, erdma, siw
      
         - rts tracing improvements
      
         - Code improvements: strlscpy conversion, unused parameter, spelling
           mistakes, unused variables, flex arrays
      
         - restrack device details report for hns
      
         - Simplify struct device initialization in SRP
      
         - Eliminate the never-used service_mask support in IB CM
      
         - Make rxe not print to the console for some kinds of network packets
      
         - Asymetric paths and router support in the CM through netlink
           messages
      
         - DMABUF importer support for mlx5devx umem's"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (84 commits)
        RDMA/rxe: Remove error/warning messages from packet receiver path
        RDMA/usnic: fix set-but-not-unused variable 'flags' warning
        IB/hfi1: Use skb_put_data() instead of skb_put/memcpy pair
        RDMA/hns: Unified Log Printing Style
        RDMA/hns: Replacing magic number with macros in apply_func_caps()
        RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
        RDMA/hns: Remove redundant 'max_srq_desc_sz' in caps
        RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'
        RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt()
        RDMA/hns: Remove redundant 'use_lowmem' argument from hns_roce_init_hem_table()
        RDMA/hns: Remove redundant 'bt_level' for hem_list_alloc_item()
        RDMA/hns: Remove redundant 'attr_mask' in modify_qp_init_to_init()
        RDMA/hns: Remove unnecessary brackets when getting point
        RDMA/hns: Remove unnecessary braces for single statement blocks
        RDMA/hns: Cleanup for a spelling error of Asynchronous
        IB/rdmavt: Add __init/__exit annotations to module init/exit funcs
        RDMA/rxe: Remove redundant num_sge fields
        RDMA/mlx5: Enable ATS support for MRs and umems
        RDMA/mlx5: Add support for dmabuf to devx umem
        RDMA/core: Add UVERBS_ATTR_RAW_FD
        ...
      e08466a7
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 1227db9e
      Linus Torvalds authored
      Pull MTD updates from Miquel Raynal:
       "Core MTD changes:
         - mtdchar: add MEMREAD ioctl
         - Add ECC error accounting for each read request
         - always initialize 'stats' in struct mtd_oob_ops
         - Track maximum number of bitflips for each read request
         - Fix repeated word in comment
         - Move from strlcpy with unused retval to strscpy
         - Fix a typo in a comment
         - Add binding for U-Boot bootloader partitions
      
        MTD device drivers changes:
         - FTL: use container_of() rather than cast
         - docg3:
            - Use correct function names in comment blocks
            - Check the return value of devm_ioremap() in the probe
         - physmap-core: Fix NULL pointer dereferencing in
           of_select_probe_type()
         - parsers: add Broadcom's U-Boot parser
      
        Raw NAND core changes:
         - Replace of_gpio_named_count() by gpiod_count()
         - Remove misguided comment of nand_get_device()
         - bbt: Use the bitmap API to allocate bitmaps
      
        Raw NAND controller drivers changes:
         - Meson:
            - Stop supporting legacy clocks
            - Refine resource getting in probe
            - Convert bindings to yaml
            - Fix clock handling and update the bindings accordingly
            - Fix bit map use in meson_nfc_ecc_correct()
         - bcm47xx:
            - Fix spelling typo in comment
         - STM32 FMC2:
            - Switch to using devm_fwnode_gpiod_get()
            - Fix dma_map_sg error check
         - Cadence:
            - Remove an unneeded result variable
         - Marvell:
            - Fix error handle regarding dma_map_sg
         - Orion:
            - Use devm_clk_get_optional()
         - Cafe:
            - Use correct function name in comment block
         - Atmel:
            - Unmap streaming DMA mappings
         - Arasan:
            - Stop using 0 as NULL pointer
         - GPMI:
            - Fix typo 'the the' in comment
         - BRCM:
            - Add individual glue driver selection
            - Move Kconfig to driver folder
         - FSL: Fix none ECC mode
         - Intel:
            - Use devm_platform_ioremap_resource_byname()
            - Remove unused clk_rate member from struct ebu_nand
            - Remove unused nand_pa member from ebu_nand_cs
            - Don't re-define NAND_DATA_IFACE_CHECK_ONLY
            - Remove undocumented compatible string
            - Fix compatible string in the bindings
            - Read the chip-select line from the correct OF node
            - Fix maximum chip select value in the bindings"
      
      * tag 'mtd/for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (43 commits)
        mtd: rawnand: meson: stop supporting legacy clocks
        dt-bindings: nand: meson: convert txt to yaml
        mtd: rawnand: meson: refine resource getting in probe
        mtd: rawnand: meson: fix the clock
        dt-bindings: nand: meson: fix meson nfc clock
        mtd: rawnand: bcm47xx: fix spelling typo in comment
        mtd: rawnand: stm32_fmc2: switch to using devm_fwnode_gpiod_get()
        mtd: rawnand: cadence: Remove an unneeded result variable
        mtd: rawnand: Replace of_gpio_named_count() by gpiod_count()
        mtd: rawnand: marvell: Fix error handle regarding dma_map_sg
        mtd: rawnand: stm32_fmc2: Fix dma_map_sg error check
        mtd: rawnand: remove misguided comment of nand_get_device()
        mtd: rawnand: orion: Use devm_clk_get_optional()
        mtd: rawnand: cafe: Use correct function name in comment block
        mtd: rawnand: atmel: Unmap streaming DMA mappings
        mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
        mtd: rawnand: arasan: stop using 0 as NULL pointer
        mtd: rawnand: gpmi: Fix typo 'the the' in comment
        mtd: rawnand: brcmnand: Add individual glue driver selection
        mtd: rawnand: brcmnand: Move Kconfig to driver folder
        ...
      1227db9e
    • Linus Torvalds's avatar
      Merge tag 'rproc-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 94e8ca6e
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "Support for remoteprocs that will perform recovery without help from
        Linux is introduced.
      
        The virtio integration is transitioned towards remoteproc_virtio.c and
        represented by a platform_device, in preparation for instantiating
        virtio instances from DeviceTree.
      
        The iMX remoteproc driver has a couple of sparse warnings corrected
        and a couple of error message printouts are cleaned up. The keystone
        driver is transitioned to use the gpiod API"
      
      * tag 'rproc-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        remoteproc: virtio: Fix warning on bindings by removing the of_match_table
        remoteproc: Support attach recovery after rproc crash
        remoteproc: Introduce rproc features
        remoteproc: virtio: Create platform device for the remoteproc_virtio
        remoteproc: Move rproc_vdev management to remoteproc_virtio.c
        remoteproc: core: Introduce rproc_add_rvdev function
        remoteproc: core: Introduce rproc_rvdev_add_device function
        remoteproc: Harden rproc_handle_vdev() against integer overflow
        remoteproc/keystone: Switch to using gpiod API
        drivers/remoteproc: Fix repeated words in comments
        remoteproc: imx_dsp_rproc: fix argument 2 of rproc_mem_entry_init
        remoteproc: imx_rproc: Simplify some error message
      94e8ca6e
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · e5df1d3e
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This fixes a double free/destroy and drops an unnecessary local
        variable in the rpmsg char driver"
      
      * tag 'rpmsg-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: char: Avoid double destroy of default endpoint
        rpmsg: char: Remove the unneeded result variable
      e5df1d3e
    • Linus Torvalds's avatar
      Merge tag 'for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 11c747e5
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
      
       - new maintenance charging documentation
      
       - mt6370: new charger driver
      
       - bq25890: support input current limit
      
       - added Qualcomm PMK8350 PON support
      
       - misc minor fixes
      
      * tag 'for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (22 commits)
        power: supply: ab8500: remove unused static local variable
        power: supply: mt6370: Fix return value check in mt6370_chg_probe()
        power: supply: ab8500: Remove unused struct ab8500_chargalg_sysfs_entry
        power: supply: mt6370: uses IIO interfaces, depends on IIO
        power: supply: max1721x: Fix spelling mistake "Gauage" -> "Gauge"
        power: supply: mt6370: Add MediaTek MT6370 charger driver
        dt-bindings: power: supply: Add MediaTek MT6370 Charger
        lib: add linear range index macro
        power: supply: bq25890: Fix enum conversion in bq25890_power_supply_set_property()
        power: supply: bq27xxx: fix NULL vs 0 warnings
        power: supply: bq27xxx: fix __be16 warnings
        power: supply: bq25890: Add support for setting IINLIM
        power: supply: bq25890: Disable PUMPX_EN on errors
        power: supply: Fix repeated word in comments
        power: supply: adp5061: show unknown capacity_level as text
        power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
        power: supply: tps65217: Fix comments typo
        power: reset: qcom-pon: add support for qcom,pmk8350-pon compatible string
        dt-bindings: power: reset: qcom-pon: Add new compatible "qcom,pmk8350-pon"
        power: supply: cw2015: Use device managed API to simplify the code
        ...
      11c747e5
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · 83da5ec6
      Linus Torvalds authored
      Pull HSI updates from Sebastian Reichel:
      
       - completely switch to gpiod API
      
       - misc small fixes
      
      * tag 'hsi-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: nokia-modem: Replace of_gpio_count() by gpiod_count()
        HSI: ssi_protocol: fix potential resource leak in ssip_pn_open()
        HSI: omap_ssi_port: Fix dma_map_sg error check
        HSI: cmt_speech: Pass a pointer to virt_to_page()
        HSI: omap_ssi: Fix refcount leak in ssi_probe
        HSI: clients: remove duplicate assignment
      83da5ec6
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.1-rc1' of... · 3fb55dd1
      Linus Torvalds authored
      Merge tag 'pwm/for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "The Rockchip and Mediatek drivers gain support for more chips and the
        LPSS driver undergoes some refactoring and receives some improvements.
      
        Other than that there are various cleanups of the core"
      
      * tag 'pwm/for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
        pwm: sysfs: Replace sprintf() with sysfs_emit()
        pwm: core: Replace custom implementation of device_match_fwnode()
        pwm: lpss: Add a comment to the bypass field
        pwm: lpss: Make use of bits.h macros for all masks
        pwm: lpss: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
        pwm: lpss: Use device_get_match_data() to get device data
        pwm: lpss: Move resource mapping to the glue drivers
        pwm: lpss: Move exported symbols to PWM_LPSS namespace
        pwm: lpss: Deduplicate board info data structures
        dt-bindings: pwm: Add compatible for Mediatek MT8188
        dt-bindings: pwm: rockchip: Add rockchip,rk3128-pwm
        dt-bindings: pwm: rockchip: Add description for rk3588
        pwm: sysfs: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        pwm: rockchip: Convert to use dev_err_probe()
      3fb55dd1
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · ae955959
      Linus Torvalds authored
      Pull MFD updates from Lee Jones:
       "Core Frameworks:
         - Fix 'mfd_of_node_list' OF node entry resource leak
      
        New Drivers:
         - Add support for Ocelot VSC7512 Networking Chip
         - Add support for MediaTek MT6370 subPMIC
         - Add support for Richtek RT5120 (I2C) PMIC
      
        New Device Support:
         - Add support for Rockchip RV1126 and RK3588 to Syscon
         - Add support for Rockchip RK817 Battery Charger to RK808
         - Add support for Silergy SY7636a Voltage Regulator to Simple MFD
         - Add support for Qualcomm PMP8074 PMIC to QCOM SPMI
         - Add support for Secure Update to Intel M10 BMC
      
        New Functionality:
         - Provide SSP type to Intel's LPSS (PCI) SPI driver
      
        Fix-ups:
         - Remove legacy / unused code; stmpe, intel_soc_pmic_crc, syscon
         - Unify / simplify; intel_soc_pmic_crc
         - Trivial reordering / spelling, etc; Makefile, twl-core
         - Convert to managed resources; intel_soc_pmic_crc
         - Use appropriate APIs; intel_soc_pmic_crc
         - strscpy() conversion; htc-i2cpld, lpc_ich, mfd-core
         - GPIOD conversion; htc-i2cpld, stmpe
         - Add missing header file includes; twl4030-irq
         - DT goodies; stmpe, mediatek,mt6370, x-powers,axp152,
           aspeed,ast2x00-scu, mediatek,mt8195-scpsys, qcom,spmi-pmic, syscon,
           qcom,tcsr, rockchip,rk817, sprd,ums512-glbreg, dlg,da9063
      
        Bug Fixes:
         - Properly check return values; sm501, htc-i2cpld
         - Repair Two-Wire Bus Mode; da9062-core
         - Fix error handling; intel_soc_pmic_core, fsl-imx25-tsadc, lp8788,
           lp8788-irq"
      
      * tag 'mfd-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (60 commits)
        mfd: syscon: Remove repetition of the regmap_get_val_endian()
        mfd: ocelot-spi: Add missing MODULE_DEVICE_TABLE
        power: supply: Add charger driver for Rockchip RK817
        dt-bindings: mfd: mt6370: Fix the indentation in the example
        mfd: da9061: Fix Failed to set Two-Wire Bus Mode.
        mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe()
        dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018
        mfd: sm501: Add check for platform_driver_register()
        dt-bindings: mfd: mediatek: Add scpsys compatible for mt8186
        mfd: twl4030: Add missed linux/device.h header
        dt-bindings: mfd: dlg,da9063: Add missing regulator patterns
        dt-bindings: mfd: sprd: Add bindings for ums512 global registers
        mfd: intel_soc_pmic_chtdc_ti: Switch from __maybe_unused to pm_sleep_ptr() etc
        dt-bindings: mfd: syscon: Add rk3588 QoS register compatible
        mfd: stmpe: Switch to using gpiod API
        mfd: qcom-spmi-pmic: Add pm7250b compatible
        dt-bindings: mfd: Add missing (unevaluated|additional)Properties on child nodes
        mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver
        mfd: intel-m10-bmc: Add d5005 bmc secure update driver
        dt-bindings: mfd: syscon: Drop ref from reg-io-width
        ...
      ae955959
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2022100501' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 79d11de9
      Linus Torvalds authored
      Pull HID updates from Benjamin Tissoires:
      
       - handle of all Logitech Bluetooth HID++ devices in the Logitech HID++
         drivers (Bastien Nocera)
      
       - fix broken atomic checks in hid-multitouch by adding memory barriers
         (Andri Yngvason)
      
       - better handling of devices with AMD SFH1.1 (Basavaraj Natikar)
      
       - better support of Nintendo clone controllers (Icenowy Zheng and
         Johnothan King)
      
       - Support for various RC controllers (Marcus Folkesson)
      
       - Add UGEEv2 support in hid-uclogic (XP-PEN Deco Pro S and Parblo A610
         PRO) (José Expósito)
      
       - some conversions to use dev_groups (Greg Kroah-Hartman)
      
       - HID-BPF preparatory patches, mostly to convert blank defines as enums
         (Benjamin Tissoires)
      
      * tag 'for-linus-2022100501' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (38 commits)
        HID: wacom: add three styli to wacom_intuos_get_tool_type
        HID: amd_sfh: Handle condition of "no sensors" for SFH1.1
        HID: amd_sfh: Change dev_err to dev_dbg for additional debug info
        HID: nintendo: check analog user calibration for plausibility
        HID: nintendo: deregister home LED when it fails
        HID: roccat: Fix use-after-free in roccat_read()
        hid: topre: Add driver fixing report descriptor
        HID: multitouch: Add memory barriers
        HID: convert defines of HID class requests into a proper enum
        HID: export hid_report_type to uapi
        HID: core: store the unique system identifier in hid_device
        HID: Add driver for PhoenixRC Flight Controller
        HID: Add driver for VRC-2 Car Controller
        HID: sony: Fix double word in comments
        hid: hid-logitech-hidpp: avoid unnecessary assignments in hidpp_connect_event
        HID: logitech-hidpp: Detect hi-res scrolling support
        HID: logitech-hidpp: Remove hard-coded "Sw. Id." for HID++ 2.0 commands
        HID: logitech-hidpp: Fix "Sw. Id." for HID++ 2.0 commands
        HID: logitech-hidpp: Remove special-casing of Bluetooth devices
        HID: logitech-hidpp: Enable HID++ for all the Logitech Bluetooth devices
        ...
      79d11de9
    • Linus Torvalds's avatar
      Merge tag 'media/v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 5d435a3f
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - New driver for Mediatek MDP V3
      
       - New driver for NXP i.MX DW100 dewarper
      
       - Zoran driver got promoted from staging
      
       - Hantro and related drivers got promoted from staging
      
       - Several VB1 drivers got moved to staging/deprecated (cpia2, fsl-viu,
         meye, saa7146, av7110, stkwebcam, tm6000, vpfe_capture, davinci,
         zr364xx)
      
       - Usual set of driver fixes, improvements and cleanups
      
      * tag 'media/v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (107 commits)
        media: destage Hantro VPU driver
        media: platform: mtk-mdp3: add MediaTek MDP3 driver
        media: dt-binding: mediatek: add bindings for MediaTek CCORR and WDMA
        media: dt-binding: mediatek: add bindings for MediaTek MDP3 components
        media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
        media: xilinx: video: Add 1X12 greyscale format
        media: xilinx: csi2rxss: Add 1X12 greyscale format
        media: staging: media: imx: imx7-media-csi: Increase video mem limit
        media: uvcvideo: Limit power line control for Sonix Technology
        media: uvcvideo: Use entity get_cur in uvc_ctrl_set
        media: uvcvideo: Fix typo 'the the' in comment
        media: uvcvideo: Use indexed loops in uvc_ctrl_init_ctrl()
        media: uvcvideo: Fix memory leak in uvc_gpio_parse
        media: renesas: vsp1: Add support for RZ/G2L VSPD
        media: renesas: vsp1: Add VSP1_HAS_NON_ZERO_LBA feature bit
        media: renesas: vsp1: Add support for VSP software version
        media: renesas: vsp1: Add support to deassert/assert reset line
        media: dt-bindings: media: renesas,vsp1: Document RZ/G2L VSPD bindings
        media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
        media: amphion: fix a bug that vpu core may not resume after suspend
        ...
      5d435a3f
    • Linus Torvalds's avatar
      Merge tag 'ata-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · 4078aa68
      Linus Torvalds authored
      Pull ata updates from Damien Le Moal:
      
       - Print the timeout value for internal command failures due to a
         timeout (from Tomas)
      
       - Improve parameter names in ata_dev_set_feature() to clarify this
         function use (from Niklas)
      
       - Improve the ahci driver low power mode setting initialization to
         allow more flexibility for the user (from Rafael)
      
       - Several patches to remove redundant variables in libata-core,
         libata-eh and the pata_macio driver and to fix typos in comments
         (from Jinpeng, Shaomin, Ye)
      
       - Some code simplifications and macro renaming (for clarity) in various
         functions of libata-core (from me)
      
       - Add a missing check for a potential failure of sata_scr_read() in
         sata_print_link_status() (from Li)
      
       - Cleanup of libata Kconfig PATA_PLATFORM and PATA_OF_PLATFORM options
         (from Lukas)
      
       - Cleanups of ata dt-bindings and improvements of libahci_platform,
         ahci and libahci code (from Serge)
      
       - New driver for Synopsys AHCI SATA controllers, based of the generic
         ahci code (from Serge). One compilation warning fix is added for this
         driver (from me)
      
       - Several fixes to macros used to discover a drive capabilities to be
         consistent with the ACS specifications (from Niklas)
      
       - A couple of simplifcations to some libata functions, removing
         unnecessary arguments (from Niklas)
      
       - An improvements to libata-eh code to avoid unnecessary link reset
         when revalidating a drive after a failed command. In practice, this
         extra, unneeded reset, reset does not cause any arm beyond slightly
         slowing down error recovery (from Niklas)
      
      * tag 'ata-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: (45 commits)
        ata: libata-eh: avoid needless hard reset when revalidating link
        ata: libata: drop superfluous ata_eh_analyze_tf() parameter
        ata: libata: drop superfluous ata_eh_request_sense() parameter
        ata: fix ata_id_has_dipm()
        ata: fix ata_id_has_ncq_autosense()
        ata: fix ata_id_has_devslp()
        ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
        ata: libata-eh: Remove the unneeded result variable
        ata: ahci_st: Enable compile test
        ata: ahci_st: Fix compilation warning
        MAINTAINERS: Add maintainers for DWC AHCI SATA driver
        ata: ahci-dwc: Add Baikal-T1 AHCI SATA interface support
        ata: ahci-dwc: Add platform-specific quirks support
        dt-bindings: ata: ahci: Add Baikal-T1 AHCI SATA controller DT schema
        ata: ahci: Add DWC AHCI SATA controller support
        ata: libahci_platform: Add function returning a clock-handle by id
        dt-bindings: ata: ahci: Add DWC AHCI SATA controller DT schema
        ata: ahci: Introduce firmware-specific caps initialization
        ata: ahci: Convert __ahci_port_base to accepting hpriv as arguments
        ata: libahci: Don't read AHCI version twice in the save-config method
        ...
      4078aa68
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2022-10-07-1' of git://anongit.freedesktop.org/drm/drm · 9d84bb40
      Linus Torvalds authored
      Pull drm fix from Dave Airlie:
       "This reverts the patch I found with rough bisection to instability
        around fences and the oops I got from netconsole.
      
        sched:
         - revert patch causing oopses"
      
      * tag 'drm-next-2022-10-07-1' of git://anongit.freedesktop.org/drm/drm:
        Revert "drm/sched: Use parent fence instead of finished"
      9d84bb40
    • Linus Torvalds's avatar
      Merge tag 'for-6.1/passthrough-2022-10-04' of git://git.kernel.dk/linux · 7c989b1d
      Linus Torvalds authored
      Pull passthrough updates from Jens Axboe:
       "With these changes, passthrough NVMe support over io_uring now
        performs at the same level as block device O_DIRECT, and in many cases
        6-8% better.
      
        This contains:
      
         - Add support for fixed buffers for passthrough (Anuj, Kanchan)
      
         - Enable batched allocations and freeing on passthrough, similarly to
           what we support on the normal storage path (me)
      
         - Fix from Geert fixing an issue with !CONFIG_IO_URING"
      
      * tag 'for-6.1/passthrough-2022-10-04' of git://git.kernel.dk/linux:
        io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy
        nvme: wire up fixed buffer support for nvme passthrough
        nvme: pass ubuffer as an integer
        block: extend functionality to map bvec iterator
        block: factor out blk_rq_map_bio_alloc helper
        block: rename bio_map_put to blk_mq_map_bio_put
        nvme: refactor nvme_alloc_request
        nvme: refactor nvme_add_user_metadata
        nvme: Use blk_rq_map_user_io helper
        scsi: Use blk_rq_map_user_io helper
        block: add blk_rq_map_user_io
        io_uring: introduce fixed buffer support for io_uring_cmd
        io_uring: add io_uring_cmd_import_fixed
        nvme: enable batched completions of passthrough IO
        nvme: split out metadata vs non metadata end_io uring_cmd completions
        block: allow end_io based requests in the completion batch handling
        block: change request end_io handler to pass back a return value
        block: enable batched allocation for blk_mq_alloc_request()
        block: kill deprecated BUG_ON() in the flush handling
      7c989b1d
    • Linus Torvalds's avatar
      Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux · 51338980
      Linus Torvalds authored
      Pull block updates from Jens Axboe:
      
       - NVMe pull requests via Christoph:
            - handle number of queue changes in the TCP and RDMA drivers
              (Daniel Wagner)
            - allow changing the number of queues in nvmet (Daniel Wagner)
            - also consider host_iface when checking ip options (Daniel
              Wagner)
            - don't map pages which can't come from HIGHMEM (Fabio M. De
              Francesco)
            - avoid unnecessary flush bios in nvmet (Guixin Liu)
            - shrink and better pack the nvme_iod structure (Keith Busch)
            - add comment for unaligned "fake" nqn (Linjun Bao)
            - print actual source IP address through sysfs "address" attr
              (Martin Belanger)
            - various cleanups (Jackie Liu, Wolfram Sang, Genjian Zhang)
            - handle effects after freeing the request (Keith Busch)
            - copy firmware_rev on each init (Keith Busch)
            - restrict management ioctls to admin (Keith Busch)
            - ensure subsystem reset is single threaded (Keith Busch)
            - report the actual number of tagset maps in nvme-pci (Keith
              Busch)
            - small fabrics authentication fixups (Christoph Hellwig)
            - add common code for tagset allocation and freeing (Christoph
              Hellwig)
            - stop using the request_queue in nvmet (Christoph Hellwig)
            - set min_align_mask before calculating max_hw_sectors (Rishabh
              Bhatnagar)
            - send a rediscover uevent when a persistent discovery controller
              reconnects (Sagi Grimberg)
            - misc nvmet-tcp fixes (Varun Prakash, zhenwei pi)
      
       - MD pull request via Song:
            - Various raid5 fix and clean up, by Logan Gunthorpe and David
              Sloan.
            - Raid10 performance optimization, by Yu Kuai.
      
       - sbitmap wakeup hang fixes (Hugh, Keith, Jan, Yu)
      
       - IO scheduler switching quisce fix (Keith)
      
       - s390/dasd block driver updates (Stefan)
      
       - support for recovery for the ublk driver (ZiyangZhang)
      
       - rnbd drivers fixes and updates (Guoqing, Santosh, ye, Christoph)
      
       - blk-mq and null_blk map fixes (Bart)
      
       - various bcache fixes (Coly, Jilin, Jules)
      
       - nbd signal hang fix (Shigeru)
      
       - block writeback throttling fix (Yu)
      
       - optimize the passthrough mapping handling (me)
      
       - prepare block cgroups to being gendisk based (Christoph)
      
       - get rid of an old PSI hack in the block layer, moving it to the
         callers instead where it belongs (Christoph)
      
       - blk-throttle fixes and cleanups (Yu)
      
       - misc fixes and cleanups (Liu Shixin, Liu Song, Miaohe, Pankaj,
         Ping-Xiang, Wolfram, Saurabh, Li Jinlin, Li Lei, Lin, Li zeming,
         Miaohe, Bart, Coly, Gaosheng
      
      * tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux: (162 commits)
        sbitmap: fix lockup while swapping
        block: add rationale for not using blk_mq_plug() when applicable
        block: adapt blk_mq_plug() to not plug for writes that require a zone lock
        s390/dasd: use blk_mq_alloc_disk
        blk-cgroup: don't update the blkg lookup hint in blkg_conf_prep
        nvmet: don't look at the request_queue in nvmet_bdev_set_limits
        nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all
        blk-mq: use quiesced elevator switch when reinitializing queues
        block: replace blk_queue_nowait with bdev_nowait
        nvme: remove nvme_ctrl_init_connect_q
        nvme-loop: use the tagset alloc/free helpers
        nvme-loop: store the generic nvme_ctrl in set->driver_data
        nvme-loop: initialize sqsize later
        nvme-fc: use the tagset alloc/free helpers
        nvme-fc: store the generic nvme_ctrl in set->driver_data
        nvme-fc: keep ctrl->sqsize in sync with opts->queue_size
        nvme-rdma: use the tagset alloc/free helpers
        nvme-rdma: store the generic nvme_ctrl in set->driver_data
        nvme-tcp: use the tagset alloc/free helpers
        nvme-tcp: store the generic nvme_ctrl in set->driver_data
        ...
      51338980
    • Linus Torvalds's avatar
      Merge tag 'for-6.1/io_uring-2022-10-03' of git://git.kernel.dk/linux · 0a78a376
      Linus Torvalds authored
      Pull io_uring updates from Jens Axboe:
      
       - Add supported for more directly managed task_work running.
      
         This is beneficial for real world applications that end up issuing
         lots of system calls as part of handling work. Normal task_work will
         always execute as we transition in and out of the kernel, even for
         "unrelated" system calls. It's more efficient to defer the handling
         of io_uring's deferred work until the application wants it to be run,
         generally in batches.
      
         As part of ongoing work to write an io_uring network backend for
         Thrift, this has been shown to greatly improve performance. (Dylan)
      
       - Add IOPOLL support for passthrough (Kanchan)
      
       - Improvements and fixes to the send zero-copy support (Pavel)
      
       - Partial IO handling fixes (Pavel)
      
       - CQE ordering fixes around CQ ring overflow (Pavel)
      
       - Support sendto() for non-zc as well (Pavel)
      
       - Support sendmsg for zerocopy (Pavel)
      
       - Networking iov_iter fix (Stefan)
      
       - Misc fixes and cleanups (Pavel, me)
      
      * tag 'for-6.1/io_uring-2022-10-03' of git://git.kernel.dk/linux: (56 commits)
        io_uring/net: fix notif cqe reordering
        io_uring/net: don't update msg_name if not provided
        io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
        io_uring/rw: defer fsnotify calls to task context
        io_uring/net: fix fast_iov assignment in io_setup_async_msg()
        io_uring/net: fix non-zc send with address
        io_uring/net: don't skip notifs for failed requests
        io_uring/rw: don't lose short results on io_setup_async_rw()
        io_uring/rw: fix unexpected link breakage
        io_uring/net: fix cleanup double free free_iov init
        io_uring: fix CQE reordering
        io_uring/net: fix UAF in io_sendrecv_fail()
        selftest/net: adjust io_uring sendzc notif handling
        io_uring: ensure local task_work marks task as running
        io_uring/net: zerocopy sendmsg
        io_uring/net: combine fail handlers
        io_uring/net: rename io_sendzc()
        io_uring/net: support non-zerocopy sendto
        io_uring/net: refactor io_setup_async_addr
        io_uring/net: don't lose partial send_zc on fail
        ...
      0a78a376
    • Linus Torvalds's avatar
      Merge tag 'fs-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 188943a1
      Linus Torvalds authored
      Pull ext2, udf, reiserfs, and quota updates from Jan Kara:
      
       - Fix for udf to make splicing work again
      
       - More disk format sanity checks for ext2 to avoid crashes found by
         syzbot
      
       - More quota disk format checks to avoid crashes found by fuzzing
      
       - Reiserfs & isofs cleanups
      
      * tag 'fs-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        quota: Add more checking after reading from quota file
        quota: Replace all block number checking with helper function
        quota: Check next/prev free block number after reading from quota file
        ext2: Use kvmalloc() for group descriptor array
        ext2: Add sanity checks for group and filesystem size
        udf: Support splicing to file
        isofs: delete unnecessary checks before brelse()
        fs/reiserfs: replace ternary operator with min() and min_t()
      188943a1
    • Linus Torvalds's avatar
      Merge tag 'fsnotify-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · abf625dc
      Linus Torvalds authored
      Pull fsnotify updates from Jan Kara:
       "Two cleanups for fsnotify code"
      
      * tag 'fsnotify-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fanotify: Remove obsoleted fanotify_event_has_path()
        fsnotify: remove unused declaration
      abf625dc
    • Linus Torvalds's avatar
      Merge tag '6.1-rc-ksmbd-fixes' of git://git.samba.org/ksmbd · 9f4b9bee
      Linus Torvalds authored
      Pull ksmbd updates from Steve French:
      
       - RDMA (smbdirect) fixes
      
       - fixes for SMB3.1.1 POSIX Extensions (especially for id mapping)
      
       - various casemapping fixes for mount and lookup
      
       - UID mapping fixes
      
       - fix confusing error message
      
       - protocol negotiation fixes, including NTLMSSP fix
      
       - two encryption fixes
      
       - directory listing fix
      
       - some cleanup fixes
      
      * tag '6.1-rc-ksmbd-fixes' of git://git.samba.org/ksmbd: (24 commits)
        ksmbd: validate share name from share config response
        ksmbd: call ib_drain_qp when disconnected
        ksmbd: make utf-8 file name comparison work in __caseless_lookup()
        ksmbd: Fix user namespace mapping
        ksmbd: hide socket error message when ipv6 config is disable
        ksmbd: reduce server smbdirect max send/receive segment sizes
        ksmbd: decrease the number of SMB3 smbdirect server SGEs
        ksmbd: Fix wrong return value and message length check in smb2_ioctl()
        ksmbd: set NTLMSSP_NEGOTIATE_SEAL flag to challenge blob
        ksmbd: fix encryption failure issue for session logoff response
        ksmbd: fix endless loop when encryption for response fails
        ksmbd: fill sids in SMB_FIND_FILE_POSIX_INFO response
        ksmbd: set file permission mode to match Samba server posix extension behavior
        ksmbd: change security id to the one samba used for posix extension
        ksmbd: update documentation
        ksmbd: casefold utf-8 share names and fix ascii lowercase conversion
        ksmbd: port to vfs{g,u}id_t and associated helpers
        ksmbd: fix incorrect handling of iterate_dir
        MAINTAINERS: remove Hyunchul Lee from ksmbd maintainers
        MAINTAINERS: Add Tom Talpey as ksmbd reviewer
        ...
      9f4b9bee
    • Miquel Raynal's avatar
      Merge tag 'nand/for-6.1' into mtd/next · 63c30d70
      Miquel Raynal authored
      Raw NAND core changes:
      * Replace of_gpio_named_count() by gpiod_count()
        - Remove misguided comment of nand_get_device()
        - bbt: Use the bitmap API to allocate bitmaps
      
      Raw NAND controller drivers changes:
      * Meson:
        - Stop supporting legacy clocks
        - Refine resource getting in probe
        - Convert bindings to yaml
        - Fix clock handling and update the bindings accordingly
        - Fix bit map use in meson_nfc_ecc_correct()
      * bcm47xx:
        - Fix spelling typo in comment
      * STM32 FMC2:
        - Switch to using devm_fwnode_gpiod_get()
        - Fix dma_map_sg error check
      * Cadence:
        - Remove an unneeded result variable
      * Marvell:
        - Fix error handle regarding dma_map_sg
      * Orion:
        - Use devm_clk_get_optional()
      * Cafe:
        - Use correct function name in comment block
      * Atmel:
        - Unmap streaming DMA mappings
      * Arasan:
        - Stop using 0 as NULL pointer
      * GPMI:
        - Fix typo 'the the' in comment
      * BRCM:
        - Add individual glue driver selection
        - Move Kconfig to driver folder
      * FSL: Fix none ECC mode
      * Intel:
        - Use devm_platform_ioremap_resource_byname()
        - Remove unused clk_rate member from struct ebu_nand
        - Remove unused nand_pa member from ebu_nand_cs
        - Don't re-define NAND_DATA_IFACE_CHECK_ONLY
        - Remove undocumented compatible string
        - Fix compatible string in the bindings
        - Read the chip-select line from the correct OF node
        - Fix maximum chip select value in the bindings
      Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      63c30d70
    • Dave Airlie's avatar
      Revert "drm/sched: Use parent fence instead of finished" · bafaf67c
      Dave Airlie authored
      This reverts commit e4dc45b1.
      
      This is causing instability on Linus' desktop, and I'm seeing
      oops with VK CTS runs.
      
      netconsole got me the following oops:
      [ 1234.778760] BUG: kernel NULL pointer dereference, address: 0000000000000088
      [ 1234.778782] #PF: supervisor read access in kernel mode
      [ 1234.778787] #PF: error_code(0x0000) - not-present page
      [ 1234.778791] PGD 0 P4D 0
      [ 1234.778798] Oops: 0000 [#1] PREEMPT SMP NOPTI
      [ 1234.778803] CPU: 7 PID: 805 Comm: systemd-journal Not tainted 6.0.0+ #2
      [ 1234.778809] Hardware name: System manufacturer System Product
      Name/PRIME X370-PRO, BIOS 5603 07/28/2020
      [ 1234.778813] RIP: 0010:drm_sched_job_done.isra.0+0xc/0x140 [gpu_sched]
      [ 1234.778828] Code: aa 0f 1d ce e9 57 ff ff ff 48 89 d7 e8 9d 8f 3f
      ce e9 4a ff ff ff 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 54 55 53
      48 89 fb <48> 8b af 88 00 00 00 f0 ff 8d f0 00 00 00 48 8b 85 80 01 00
      00 f0
      [ 1234.778834] RSP: 0000:ffffabe680380de0 EFLAGS: 00010087
      [ 1234.778839] RAX: ffffffffc04e9230 RBX: 0000000000000000 RCX: 0000000000000018
      [ 1234.778897] RDX: 00000ba278e8977a RSI: ffff953fb288b460 RDI: 0000000000000000
      [ 1234.778901] RBP: ffff953fb288b598 R08: 00000000000000e0 R09: ffff953fbd98b808
      [ 1234.778905] R10: 0000000000000000 R11: ffffabe680380ff8 R12: ffffabe680380e00
      [ 1234.778908] R13: 0000000000000001 R14: 00000000ffffffff R15: ffff953fbd9ec458
      [ 1234.778912] FS:  00007f35e7008580(0000) GS:ffff95428ebc0000(0000)
      knlGS:0000000000000000
      [ 1234.778916] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [ 1234.778919] CR2: 0000000000000088 CR3: 000000010147c000 CR4: 00000000003506e0
      [ 1234.778924] Call Trace:
      [ 1234.778981]  <IRQ>
      [ 1234.778989]  dma_fence_signal_timestamp_locked+0x6a/0xe0
      [ 1234.778999]  dma_fence_signal+0x2c/0x50
      [ 1234.779005]  amdgpu_fence_process+0xc8/0x140 [amdgpu]
      [ 1234.779234]  sdma_v3_0_process_trap_irq+0x70/0x80 [amdgpu]
      [ 1234.779395]  amdgpu_irq_dispatch+0xa9/0x1d0 [amdgpu]
      [ 1234.779609]  amdgpu_ih_process+0x80/0x100 [amdgpu]
      [ 1234.779783]  amdgpu_irq_handler+0x1f/0x60 [amdgpu]
      [ 1234.779940]  __handle_irq_event_percpu+0x46/0x190
      [ 1234.779946]  handle_irq_event+0x34/0x70
      [ 1234.779949]  handle_edge_irq+0x9f/0x240
      [ 1234.779954]  __common_interrupt+0x66/0x100
      [ 1234.779960]  common_interrupt+0xa0/0xc0
      [ 1234.779965]  </IRQ>
      [ 1234.779968]  <TASK>
      [ 1234.779971]  asm_common_interrupt+0x22/0x40
      [ 1234.779976] RIP: 0010:finish_mkwrite_fault+0x22/0x110
      [ 1234.779981] Code: 1f 84 00 00 00 00 00 90 0f 1f 44 00 00 41 55 41
      54 55 48 89 fd 53 48 8b 07 f6 40 50 08 0f 84 eb 00 00 00 48 8b 45 30
      48 8b 18 <48> 89 df e8 66 bd ff ff 48 85 c0 74 0d 48 89 c2 83 e2 01 48
      83 ea
      [ 1234.779985] RSP: 0000:ffffabe680bcfd78 EFLAGS: 00000202
      
      Revert it for now and figure it out later.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      bafaf67c
    • Linus Torvalds's avatar
      Merge tag 'iomap-6.1-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 4c861141
      Linus Torvalds authored
      Pull iomap updates from Darrick Wong:
       "It's pretty quiet this time around -- a UAF bugfix and a new
        tracepoint so we can watch file writeback:
      
         - Fix a UAF bug when recording writeback mapping errors
      
         - Add a tracepoint so that we can monitor writeback mappings"
      
      * tag 'iomap-6.1-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        iomap: add a tracepoint for mappings returned by map_blocks
        iomap: iomap: fix memory corruption when recording errors during writeback
      4c861141
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · bc32a633
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "The first two changes involve files outside of fs/ext4:
      
         - submit_bh() can never return an error, so change it to return void,
           and remove the unused checks from its callers
      
         - fix I_DIRTY_TIME handling so it will be set even if the inode
           already has I_DIRTY_INODE
      
        Performance:
      
         - Always enable i_version counter (as btrfs and xfs already do).
           Remove some uneeded i_version bumps to avoid unnecessary nfs cache
           invalidations
      
         - Wake up journal waiters in FIFO order, to avoid some journal users
           from not getting a journal handle for an unfairly long time
      
         - In ext4_write_begin() allocate any necessary buffer heads before
           starting the journal handle
      
         - Don't try to prefetch the block allocation bitmaps for a read-only
           file system
      
        Bug Fixes:
      
         - Fix a number of fast commit bugs, including resources leaks and out
           of bound references in various error handling paths and/or if the
           fast commit log is corrupted
      
         - Avoid stopping the online resize early when expanding a file system
           which is less than 16TiB to a size greater than 16TiB
      
         - Fix apparent metadata corruption caused by a race with a metadata
           buffer head getting migrated while it was trying to be read
      
         - Mark the lazy initialization thread freezable to prevent suspend
           failures
      
         - Other miscellaneous bug fixes
      
        Cleanups:
      
         - Break up the incredibly long ext4_full_super() function by
           refactoring to move code into more understandable, smaller
           functions
      
         - Remove the deprecated (and ignored) noacl and nouser_attr mount
           option
      
         - Factor out some common code in fast commit handling
      
         - Other miscellaneous cleanups"
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (53 commits)
        ext4: fix potential out of bound read in ext4_fc_replay_scan()
        ext4: factor out ext4_fc_get_tl()
        ext4: introduce EXT4_FC_TAG_BASE_LEN helper
        ext4: factor out ext4_free_ext_path()
        ext4: remove unnecessary drop path references in mext_check_coverage()
        ext4: update 'state->fc_regions_size' after successful memory allocation
        ext4: fix potential memory leak in ext4_fc_record_regions()
        ext4: fix potential memory leak in ext4_fc_record_modified_inode()
        ext4: remove redundant checking in ext4_ioctl_checkpoint
        jbd2: add miss release buffer head in fc_do_one_pass()
        ext4: move DIOREAD_NOLOCK setting to ext4_set_def_opts()
        ext4: remove useless local variable 'blocksize'
        ext4: unify the ext4 super block loading operation
        ext4: factor out ext4_journal_data_mode_check()
        ext4: factor out ext4_load_and_init_journal()
        ext4: factor out ext4_group_desc_init() and ext4_group_desc_free()
        ext4: factor out ext4_geometry_check()
        ext4: factor out ext4_check_feature_compatibility()
        ext4: factor out ext4_init_metadata_csum()
        ext4: factor out ext4_encoding_init()
        ...
      bc32a633
    • Linus Torvalds's avatar
      Merge tag 'affs-for-6.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 7f198ba7
      Linus Torvalds authored
      Pull affs update from David Sterba:
       "One minor update for AFFS, switching away from strlcpy"
      
      * tag 'affs-for-6.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        affs: move from strlcpy with unused retval to strscpy
      7f198ba7
    • Linus Torvalds's avatar
      Merge tag 'for-6.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 76e45035
      Linus Torvalds authored
      Pull btrfs updates from David Sterba:
       "There's a bunch of performance improvements, most notably the FIEMAP
        speedup, the new block group tree to speed up mount on large
        filesystems, more io_uring integration, some sysfs exports and the
        usual fixes and core updates.
      
        Summary:
      
        Performance:
      
         - outstanding FIEMAP speed improvement
            - algorithmic change how extents are enumerated leads to orders of
              magnitude speed boost (uncached and cached)
            - extent sharing check speedup (2.2x uncached, 3x cached)
            - add more cancellation points, allowing to interrupt seeking in
              files with large number of extents
            - more efficient hole and data seeking (4x uncached, 1.3x cached)
            - sample results:
      	    256M, 32K extents:   4s ->  29ms  (~150x)
      	    512M, 64K extents:  30s ->  59ms  (~550x)
      	    1G,  128K extents: 225s -> 120ms (~1800x)
      
         - improved inode logging, especially for directories (on dbench
           workload throughput +25%, max latency -21%)
      
         - improved buffered IO, remove redundant extent state tracking,
           lowering memory consumption and avoiding rb tree traversal
      
         - add sysfs tunable to let qgroup temporarily skip exact accounting
           when deleting snapshot, leading to a speedup but requiring a rescan
           after that, will be used by snapper
      
         - support io_uring and buffered writes, until now it was just for
           direct IO, with the no-wait semantics implemented in the buffered
           write path it now works and leads to speed improvement in IOPS
           (2x), throughput (2.2x), latency (depends, 2x to 150x)
      
         - small performance improvements when dropping and searching for
           extent maps as well as when flushing delalloc in COW mode
           (throughput +5MB/s)
      
        User visible changes:
      
         - new incompatible feature block-group-tree adding a dedicated tree
           for tracking block groups, this allows a much faster load during
           mount and avoids seeking unlike when it's scattered in the extent
           tree items
            - this reduces mount time for many-terabyte sized filesystems
            - conversion tool will be provided so existing filesystem can also
              be updated in place
            - to reduce test matrix and feature combinations requires no-holes
              and free-space-tree (mkfs defaults since 5.15)
      
         - improved reporting of super block corruption detected by scrub
      
         - scrub also tries to repair super block and does not wait until next
           commit
      
         - discard stats and tunables are exported in sysfs
           (/sys/fs/btrfs/FSID/discard)
      
         - qgroup status is exported in sysfs
           (/sys/sys/fs/btrfs/FSID/qgroups/)
      
         - verify that super block was not modified when thawing filesystem
      
        Fixes:
      
         - FIEMAP fixes
            - fix extent sharing status, does not depend on the cached status
              where merged
            - flush delalloc so compressed extents are reported correctly
      
         - fix alignment of VMA for memory mapped files on THP
      
         - send: fix failures when processing inodes with no links (orphan
           files and directories)
      
         - fix race between quota enable and quota rescan ioctl
      
         - handle more corner cases for read-only compat feature verification
      
         - fix missed extent on fsync after dropping extent maps
      
        Core:
      
         - lockdep annotations to validate various transactions states and
           state transitions
      
         - preliminary support for fs-verity in send
      
         - more effective memory use in scrub for subpage where sector is
           smaller than page
      
         - block group caching progress logic has been removed, load is now
           synchronous
      
         - simplify end IO callbacks and bio handling, use chained bios
           instead of own tracking
      
         - add no-wait semantics to several functions (tree search, nocow,
           flushing, buffered write
      
         - cleanups and refactoring
      
        MM changes:
      
         - export balance_dirty_pages_ratelimited_flags"
      
      * tag 'for-6.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (177 commits)
        btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
        btrfs: drop extent map range more efficiently
        btrfs: avoid pointless extent map tree search when flushing delalloc
        btrfs: remove unnecessary next extent map search
        btrfs: remove unnecessary NULL pointer checks when searching extent maps
        btrfs: assert tree is locked when clearing extent map from logging
        btrfs: remove unnecessary extent map initializations
        btrfs: remove the refcount warning/check at free_extent_map()
        btrfs: add helper to replace extent map range with a new extent map
        btrfs: move open coded extent map tree deletion out of inode eviction
        btrfs: use cond_resched_rwlock_write() during inode eviction
        btrfs: use extent_map_end() at btrfs_drop_extent_map_range()
        btrfs: move btrfs_drop_extent_cache() to extent_map.c
        btrfs: fix missed extent on fsync after dropping extent maps
        btrfs: remove stale prototype of btrfs_write_inode
        btrfs: enable nowait async buffered writes
        btrfs: assert nowait mode is not used for some btree search functions
        btrfs: make btrfs_buffered_write nowait compatible
        btrfs: plumb NOWAIT through the write path
        btrfs: make lock_and_cleanup_extent_if_need nowait compatible
        ...
      76e45035
    • Linus Torvalds's avatar
      Merge tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4c0ed7d8
      Linus Torvalds authored
      Pull vfs constification updates from Al Viro:
       "whack-a-mole: constifying struct path *"
      
      * tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        ecryptfs: constify path
        spufs: constify path
        nd_jump_link(): constify path
        audit_init_parent(): constify path
        __io_setxattr(): constify path
        do_proc_readlink(): constify path
        overlayfs: constify path
        fs/notify: constify path
        may_linkat(): constify path
        do_sys_name_to_handle(): constify path
        ->getprocattr(): attribute name is const char *, TYVM...
      4c0ed7d8
    • Linus Torvalds's avatar
      Merge tag 'pull-tomoyo' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 1586a703
      Linus Torvalds authored
      Pull misc tomoyo changes from Al Viro:
       "A couple of assorted tomoyo patches"
      
      * tag 'pull-tomoyo' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        tomoyo: struct path it might get from LSM callers won't have NULL dentry or mnt
        tomoyo: use vsnprintf() properly
      1586a703
    • Linus Torvalds's avatar
      Merge tag 'pull-file_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · ab296221
      Linus Torvalds authored
      Pull file_inode() updates from Al Vrio:
       "whack-a-mole: cropped up open-coded file_inode() uses..."
      
      * tag 'pull-file_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        orangefs: use ->f_mapping
        _nfs42_proc_copy(): use ->f_mapping instead of file_inode()->i_mapping
        dma_buf: no need to bother with file_inode()->i_mapping
        nfs_finish_open(): don't open-code file_inode()
        bprm_fill_uid(): don't open-code file_inode()
        sgx: use ->f_mapping...
        exfat_iterate(): don't open-code file_inode(file)
        ibmvmc: don't open-code file_inode()
      ab296221
    • Linus Torvalds's avatar
      Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 7a3353c5
      Linus Torvalds authored
      Pull vfs file updates from Al Viro:
       "struct file-related stuff"
      
      * tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        dma_buf_getfile(): don't bother with ->f_flags reassignments
        Change calling conventions for filldir_t
        locks: fix TOCTOU race when granting write lease
      7a3353c5
  3. 06 Oct, 2022 3 commits