1. 14 Aug, 2022 2 commits
    • Linus Torvalds's avatar
      Merge tag '5.20-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 332019e2
      Linus Torvalds authored
      Pull more cifs updates from Steve French:
      
       - two fixes for stable, one for a lock length miscalculation, and
         another fixes a lease break timeout bug
      
       - improvement to handle leases, allows the close timeout to be
         configured more safely
      
       - five restructuring/cleanup patches
      
      * tag '5.20-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: Do not access tcon->cfids->cfid directly from is_path_accessible
        cifs: Add constructor/destructors for tcon->cfid
        SMB3: fix lease break timeout when multiple deferred close handles for the same file.
        smb3: allow deferred close timeout to be configurable
        cifs: Do not use tcon->cfid directly, use the cfid we get from open_cached_dir
        cifs: Move cached-dir functions into a separate file
        cifs: Remove {cifs,nfs}_fscache_release_page()
        cifs: fix lock length calculation
      332019e2
    • David Howells's avatar
      afs: Enable multipage folio support · 8549a263
      David Howells authored
      Enable multipage folio support for the afs filesystem.
      
      Support has already been implemented in netfslib, fscache and cachefiles
      and in most of afs, but I've waited for Matthew Wilcox's latest folio
      changes.
      
      Note that it does require a change to afs_write_begin() to return the
      correct subpage.  This is a "temporary" change as we're working on
      getting rid of the need for ->write_begin() and ->write_end()
      completely, at least as far as network filesystems are concerned - but
      it doesn't prevent afs from making use of the capability.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
      Tested-by: kafs-testing@auristor.com
      Cc: Marc Dionne <marc.dionne@auristor.com>
      Cc: linux-afs@lists.infradead.org
      Link: https://lore.kernel.org/lkml/2274528.1645833226@warthog.procyon.org.uk/Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      8549a263
  2. 13 Aug, 2022 11 commits
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2022-08-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f6eb0fed
      Linus Torvalds authored
      Pull timer fixes from Ingo Molnar:
       "Misc timer fixes:
      
         - fix a potential use-after-free bug in posix timers
      
         - correct a prototype
      
         - address a build warning"
      
      * tag 'timers-urgent-2022-08-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        posix-cpu-timers: Cleanup CPU timers before freeing them during exec
        time: Correct the prototype of ns_to_kernel_old_timeval and ns_to_timespec64
        posix-timers: Make do_clock_gettime() static
      f6eb0fed
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2022-08-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c5f1e32e
      Linus Torvalds authored
      Pull x86 fix from Ingo Molnar:
       "Fix the 'IBPB mitigated RETBleed' mode of operation on AMD CPUs (not
        turned on by default), which also need STIBP enabled (if available) to
        be '100% safe' on even the shortest speculation windows"
      
      * tag 'x86-urgent-2022-08-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/bugs: Enable STIBP for IBPB mitigated RETBleed
      c5f1e32e
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-5.20-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 04734361
      Linus Torvalds authored
      Pull more i2c updates from Wolfram Sang:
      
       - two driver fixes for issues introduced this cycle
      
       - one trivial driver improvement regarding ACPI
      
       - more DTS conversion and additions
      
       - documentation updates
      
       - subsystem-wide move from strlcpy to strscpy
      
      * tag 'i2c-for-5.20-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        docs: i2c: i2c-sysfs: fix hyperlinks
        docs: i2c: i2c-sysfs: improve wording
        docs: i2c: instantiating-devices: add syntax coloring to dts and C blocks
        docs: i2c: smbus-protocol: improve DataLow/DataHigh definition
        docs: i2c: i2c-protocol: remove unused legend items
        docs: i2c: i2c-protocol,smbus-protocol: remove nonsense words
        docs: i2c: i2c-protocol: update introductory paragraph
        i2c: move core from strlcpy to strscpy
        i2c: move drivers from strlcpy to strscpy
        i2c: kempld: Support ACPI I2C device declaration
        i2c: mediatek: add i2c compatible for MT8188
        dt-bindings: i2c: update bindings for mt8188 soc
        i2c: microchip-corei2c: fix erroneous late ack send
        dt-bindings: i2c: qcom,i2c-cci: convert to dtschema
        i2c: qcom-geni: Fix GPI DMA buffer sync-back
      04734361
    • Linus Torvalds's avatar
      Merge tag 'ntb-5.20' of https://github.com/jonmason/ntb · a976835f
      Linus Torvalds authored
      Pull NTB updates from Jon Mason:
       "Non-Transparent Bridge updates.
      
        Fix of heap data and clang warnings, support for a new Intel NTB
        device, and NTB EndPoint Function (EPF) support and the various fixes
        for that"
      
      * tag 'ntb-5.20' of https://github.com/jonmason/ntb:
        MAINTAINERS: add PCI Endpoint NTB drivers to NTB files
        NTB: EPF: Tidy up some bounds checks
        NTB: EPF: Fix error code in epf_ntb_bind()
        PCI: endpoint: pci-epf-vntb: reduce several globals to statics
        PCI: endpoint: pci-epf-vntb: fix error handle in epf_ntb_mw_bar_init()
        PCI: endpoint: Fix Kconfig dependency
        NTB: EPF: set pointer addr to null using NULL rather than 0
        Documentation: PCI: extend subheading underline for "lspci output" section
        Documentation: PCI: Use code-block block for scratchpad registers diagram
        Documentation: PCI: Add specification for the PCI vNTB function device
        PCI: endpoint: Support NTB transfer between RC and EP
        NTB: epf: Allow more flexibility in the memory BAR map method
        PCI: designware-ep: Allow pci_epc_set_bar() update inbound map address
        ntb: intel: add GNR support for Intel PCIe gen5 NTB
        NTB: ntb_tool: uninitialized heap data in tool_fn_write()
        ntb: idt: fix clang -Wformat warnings
      a976835f
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.20-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 9872e4a8
      Linus Torvalds authored
      Pull more xfs updates from Darrick Wong:
       "There's not a lot this time around, just the usual bug fixes and
        corrections for missing error returns.
      
         - Return error codes from block device flushes to userspace
      
         - Fix a deadlock between reclaim and mount time quotacheck
      
         - Fix an unnecessary ENOSPC return when doing COW on a filesystem
           with severe free space fragmentation
      
         - Fix a miscalculation in the transaction reservation computations
           for file removal operations"
      
      * tag 'xfs-5.20-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix inode reservation space for removing transaction
        xfs: Fix false ENOSPC when performing direct write on a delalloc extent in cow fork
        xfs: fix intermittent hang during quotacheck
        xfs: check return codes when flushing block devices
      9872e4a8
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · e140f731
      Linus Torvalds authored
      Pull more SCSI updates from James Bottomley:
       "Mostly small bug fixes and trivial updates.
      
        The major new core update is a change to the way device, target and
        host reference counting is done to try to make it more robust (this
        change has soaked for a while to try to winkle out any bugs)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: pm8001: Fix typo 'the the' in comment
        scsi: megaraid_sas: Remove redundant variable cmd_type
        scsi: FlashPoint: Remove redundant variable bm_int_st
        scsi: zfcp: Fix missing auto port scan and thus missing target ports
        scsi: core: Call blk_mq_free_tag_set() earlier
        scsi: core: Simplify LLD module reference counting
        scsi: core: Make sure that hosts outlive targets
        scsi: core: Make sure that targets outlive devices
        scsi: ufs: ufs-pci: Correct check for RESET DSM
        scsi: target: core: De-RCU of se_lun and se_lun acl
        scsi: target: core: Fix race during ACL removal
        scsi: ufs: core: Correct ufshcd_shutdown() flow
        scsi: ufs: core: Increase the maximum data buffer size
        scsi: lpfc: Check the return value of alloc_workqueue()
      e140f731
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-08-12' of git://git.kernel.dk/linux-block · abe7a481
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request
           - print nvme connect Linux error codes properly (Amit Engel)
           - fix the fc_appid_store return value (Christoph Hellwig)
           - fix a typo in an error message (Christophe JAILLET)
           - add another non-unique identifier quirk (Dennis P. Kliem)
           - check if the queue is allocated before stopping it in nvme-tcp
             (Maurizio Lombardi)
           - restart admin queue if the caller needs to restart queue in
             nvme-fc (Ming Lei)
           - use kmemdup instead of kmalloc + memcpy in nvme-auth (Zhang
             Xiaoxu)
      
       - __alloc_disk_node() error handling fix (Rafael)
      
      * tag 'block-6.0-2022-08-12' of git://git.kernel.dk/linux-block:
        block: Do not call blk_put_queue() if gendisk allocation fails
        nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S70
        nvme-tcp: check if the queue is allocated before stopping it
        nvme-fabrics: Fix a typo in an error message
        nvme-fabrics: parse nvme connect Linux error codes
        nvmet-auth: use kmemdup instead of kmalloc + memcpy
        nvme-fc: fix the fc_appid_store return value
        nvme-fc: restart admin queue if the caller needs to restart queue
      abe7a481
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-08-13' of git://git.kernel.dk/linux-block · 1da8cf96
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Regression fix for this merge window, fixing a wrong order of
         arguments for io_req_set_res() for passthru (Dylan)
      
       - Fix for the audit code leaking context memory (Peilin)
      
       - Ensure that provided buffers are memcg accounted (Pavel)
      
       - Correctly handle short zero-copy sends (Pavel)
      
       - Sparse warning fixes for the recvmsg multishot command (Dylan)
      
       - Error handling fix for passthru (Anuj)
      
       - Remove randomization of struct kiocb fields, to avoid it growing in
         size if re-arranged in such a fashion that it grows more holes or
         padding (Keith, Linus)
      
       - Small series improving type safety of the sqe fields (Stefan)
      
      * tag 'io_uring-6.0-2022-08-13' of git://git.kernel.dk/linux-block:
        io_uring: add missing BUILD_BUG_ON() checks for new io_uring_sqe fields
        io_uring: make io_kiocb_to_cmd() typesafe
        fs: don't randomize struct kiocb fields
        io_uring: consistently make use of io_notif_to_data()
        io_uring: fix error handling for io_uring_cmd
        io_uring: fix io_recvmsg_prep_multishot sparse warnings
        io_uring/net: send retry for zerocopy
        io_uring: mem-account pbuf buckets
        audit, io_uring, io-wq: Fix memory leak in io_sq_thread() and io_wqe_worker()
        io_uring: pass correct parameters to io_req_set_res
      1da8cf96
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.20-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 69dac8e4
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
       "There's still a handful of new features in here, but there are a lot
        of fixes/cleanups as well:
      
         - Support for the Zicbom extension for explicit cache-block
           management, along with the necessary bits to make the non-standard
           cache management ops on the Allwinner D1 function
      
         - Support for the Zihintpause extension, which codifies a go-slow
           instruction used for cpu_relax()
      
         - Support for the Sstc extension for supervisor-mode timer/counter
           management
      
         - Many device tree fixes and cleanups, including a large set for the
           Canaan device trees
      
         - A handful of fixes and cleanups for the PMU driver"
      
      * tag 'riscv-for-linus-5.20-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (43 commits)
        dt-bindings: gpio: sifive: add gpio-line-names
        wireguard: selftests: set CONFIG_NONPORTABLE on riscv32
        RISC-V: KVM: Support sstc extension
        RISC-V: Improve SBI definitions
        RISC-V: Move counter info definition to sbi header file
        RISC-V: Fix SBI PMU calls for RV32
        RISC-V: Update user page mapping only once during start
        RISC-V: Fix counter restart during overflow for RV32
        RISC-V: Prefer sstc extension if available
        RISC-V: Enable sstc extension parsing from DT
        RISC-V: Add SSTC extension CSR details
        riscv:uprobe fix SR_SPIE set/clear handling
        dt-bindings: riscv: fix SiFive l2-cache's cache-sets
        riscv: ensure cpu_ops_sbi is declared
        RISC-V: cpu_ops_spinwait.c should include head.h
        RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h>
        riscv: dts: starfive: correct number of external interrupts
        riscv: dts: sifive unmatched: Add PWM controlled LEDs
        riscv/purgatory: Omit use of bin2c
        riscv/purgatory: hard-code obj-y in Makefile
        ...
      69dac8e4
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-6.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 6c833c05
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
      
       - Fix schema warnings in qcom,ipq6018-pinctrl and sdhci-msm
      
       - Convert Qualcomm SPMI PMIC to DT schema
      
       - Make secure interrupt optional for arm,mhu
      
       - Fix google,cros-ec-typec binding allowed properties
      
       - Update a bunch of bouncing email addresses
      
      * tag 'devicetree-fixes-for-6.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: chrome: google,cros-ec-typec: restrict allowed properties
        dt-bindings: Drop Dan Murphy and Ricardo Rivera-Matos
        dt-bindings: Drop Robert Jones
        dt-bindings: Drop Beniamin Bia and Stefan Popa
        dt-bindings: iio: Drop Bogdan Pricop
        dt-bindings: iio: Drop Joachim Eastwood
        dt-bindings: mailbox: arm,mhu: Make secure interrupt optional
        dt-bindings: pinctrl: qcom,ipq6018: Fix example 'gpio-ranges' size
        dt-bindings: Drop DT_MK_SCHEMA_FLAGS conditional selecting schema files
        dt-bindings: mfd: convert to yaml Qualcomm SPMI PMIC
        dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue
        dt-bindings: display: simple-framebuffer: Drop Bartlomiej Zolnierkiewicz
      6c833c05
    • Linus Torvalds's avatar
      Merge tag 'rtc-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 3d076fec
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "New drivers:
         - Microchip PolarFire
         - Nuvoton NCT3018Y
         - TI K3 RTC
      
        Subsystem:
         - Replace flush_scheduled_work() with flush_work()
         - Remove deprecated ida_simple_get()/ida_simple_remove() calls
      
        Drivers:
         - use simple i2c probe where possible
         - sun6i: add R329 support
         - zynqmp: add calibration support
         - vr41xx: remove unused driver"
      
      * tag 'rtc-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (31 commits)
        rtc: spear: set range max
        rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0
        rtc: zynqmp: initialize fract_tick
        rtc: Add NCT3018Y real time clock driver
        dt-bindings: rtc: nuvoton: add NCT3018Y Real Time Clock
        dt-bindings: rtc: nxp,pcf85063: Convert to DT schema
        dt-bindings: rtc: microcrystal,rv3032: Add missing type to 'trickle-voltage-millivolt'
        rtc: rx8025: fix 12/24 hour mode detection on RX-8035
        rtc: cros-ec: Only warn once in .remove() about notifier_chain problems
        rtc: vr41xx: remove driver
        rtc: mpfs: remove 'pending' variable from mpfs_rtc_wakeup_irq_handler()
        rtc: rv8803: fix missing unlock on error in rv8803_set_time()
        rtc: zynqmp: Add calibration set and get support
        rtc: zynqmp: Updated calibration value
        dt-bindings: rtc: zynqmp: Add clock information
        rtc: sun6i: add support for R329 RTC
        rtc: Directly use ida_alloc()/free()
        rtc: Introduce ti-k3-rtc
        dt-bindings: rtc: Add TI K3 RTC description
        dt-bindings: rtc: qcom-pm8xxx-rtc: Update the maintainers section
        ...
      3d076fec
  3. 12 Aug, 2022 27 commits