Skip to content
  1. Oct 29, 2020
  2. Oct 23, 2020
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 96485e44
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "The siginificant new ext4 feature this time around is Harshad's new
        fast_commit mode.
      
        In addition, thanks to Mauricio for fixing a race where mmap'ed pages
        that are being changed in parallel with a data=journal transaction
        commit could result in bad checksums in the failure that could cause
        journal replays to fail.
      
        Also notable is Ritesh's buffered write optimization which can result
        in significant improvements on parallel write workloads. (The kernel
        test robot reported a 330.6% improvement on fio.write_iops on a 96
        core system using DAX)
      
        Besides that, we have the usual miscellaneous cleanups and bug fixes"
      
      Link: https://lore.kernel.org/r/20200925071217.GO28663@shao2-debian
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (46 commits)
        ext4: fix invalid inode checksum
        ext4: add fast commit stats in procfs
        ext4: add a mount opt to forcefully turn fast commits on
        ext4: fast commit recovery path
        jbd2: fast commit recovery path
        ext4: main fast-commit commit path
        jbd2: add fast commit machinery
        ext4 / jbd2: add fast commit initialization
        ext4: add fast_commit feature and handling for extended mount options
        doc: update ext4 and journalling docs to include fast commit feature
        ext4: Detect already used quota file early
        jbd2: avoid transaction reuse after reformatting
        ext4: use the normal helper to get the actual inode
        ext4: fix bs < ps issue reported with dioread_nolock mount opt
        ext4: data=journal: write-protect pages on j_submit_inode_data_buffers()
        ext4: data=journal: fixes for ext4_page_mkwrite()
        jbd2, ext4, ocfs2: introduce/use journal callbacks j_submit|finish_inode_data_buffers()
        jbd2: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()
        ext4: introduce ext4_sb_bread_unmovable() to replace sb_bread_unmovable()
        ext4: use ext4_sb_bread() instead of sb_bread()
        ...
      96485e44
    • Linus Torvalds's avatar
      Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · f56e65df
      Linus Torvalds authored
      Pull initial set_fs() removal from Al Viro:
       "Christoph's set_fs base series + fixups"
      
      * 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: Allow a NULL pos pointer to __kernel_read
        fs: Allow a NULL pos pointer to __kernel_write
        powerpc: remove address space overrides using set_fs()
        powerpc: use non-set_fs based maccess routines
        x86: remove address space overrides using set_fs()
        x86: make TASK_SIZE_MAX usable from assembly code
        x86: move PAGE_OFFSET, TASK_SIZE & friends to page_{32,64}_types.h
        lkdtm: remove set_fs-based tests
        test_bitmap: remove user bitmap tests
        uaccess: add infrastructure for kernel builds with set_fs()
        fs: don't allow splice read/write without explicit ops
        fs: don't allow kernel reads and writes without iter ops
        sysctl: Convert to iter interfaces
        proc: add a read_iter method to proc proc_ops
        proc: cleanup the compat vs no compat file ops
        proc: remove a level of indentation in proc_get_inode
      f56e65df
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linux · 24717cfb
      Linus Torvalds authored
      Pull nfsd updates from Bruce Fields:
       "The one new feature this time, from Anna Schumaker, is READ_PLUS,
        which has the same arguments as READ but allows the server to return
        an array of data and hole extents.
      
        Otherwise it's a lot of cleanup and bugfixes"
      
      * tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linux: (43 commits)
        NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy
        SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
        sunrpc: raise kernel RPC channel buffer size
        svcrdma: fix bounce buffers for unaligned offsets and multiple pages
        nfsd: remove unneeded break
        net/sunrpc: Fix return value for sysctl sunrpc.transports
        NFSD: Encode a full READ_PLUS reply
        NFSD: Return both a hole and a data segment
        NFSD: Add READ_PLUS hole segment encoding
        NFSD: Add READ_PLUS data support
        NFSD: Hoist status code encoding into XDR encoder functions
        NFSD: Map nfserr_wrongsec outside of nfsd_dispatch
        NFSD: Remove the RETURN_STATUS() macro
        NFSD: Call NFSv2 encoders on error returns
        NFSD: Fix .pc_release method for NFSv2
        NFSD: Remove vestigial typedefs
        NFSD: Refactor nfsd_dispatch() error paths
        NFSD: Clean up nfsd_dispatch() variables
        NFSD: Clean up stale comments in nfsd_dispatch()
        NFSD: Clean up switch statement in nfsd_dispatch()
        ...
      24717cfb
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 9b06f57b
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - Replace memcpy with structure assignment
      
       - Remove unneeded codes and use helper function i_blocksize()
      
       - Fix typos found by codespell
      
      * tag 'exfat-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: remove useless check in exfat_move_file()
        exfat: remove 'rwoffset' in exfat_inode_info
        exfat: replace memcpy with structure assignment
        exfat: remove useless directory scan in exfat_add_entry()
        exfat: eliminate dead code in exfat_find()
        exfat: use i_blocksize() to get blocksize
        exfat: fix misspellings using codespell tool
      9b06f57b
    • Linus Torvalds's avatar
      Merge tag '9p-for-5.10-rc1' of git://github.com/martinetd/linux · 334d431f
      Linus Torvalds authored
      Pull 9p updates from Dominique Martinet:
       "A couple of small fixes (loff_t overflow on 32bit, syzbot
        uninitialized variable warning) and code cleanup (xen)"
      
      * tag '9p-for-5.10-rc1' of git://github.com/martinetd/linux:
        net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
        9p/xen: Fix format argument warning
        9P: Cast to loff_t before multiplying
      334d431f
  3. Oct 22, 2020
  4. Oct 21, 2020
    • Dai Ngo's avatar
      NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy · 0cfcd405
      Dai Ngo authored
      NFS_FS=y as dependency of CONFIG_NFSD_V4_2_INTER_SSC still have
      build errors and some configs with NFSD=m to get NFS4ERR_STALE
      error when doing inter server copy.
      
      Added ops table in nfs_common for knfsd to access NFS client modules.
      
      Fixes: 3ac3711a
      
       ("NFSD: Fix NFS server build errors")
      Signed-off-by: default avatarDai Ngo <dai.ngo@oracle.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      0cfcd405
    • Linus Torvalds's avatar
      Merge tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarray · c4d6fe73
      Linus Torvalds authored
      Pull XArray updates from Matthew Wilcox:
      
       - Fix the test suite after introduction of the local_lock
      
       - Fix a bug in the IDA spotted by Coverity
      
       - Change the API that allows the workingset code to delete a node
      
       - Fix xas_reload() when dealing with entries that occupy multiple
         indices
      
       - Add a few more tests to the test suite
      
       - Fix an unsigned int being shifted into an unsigned long
      
      * tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarray:
        XArray: Fix xas_create_range for ranges above 4 billion
        radix-tree: fix the comment of radix_tree_next_slot()
        XArray: Fix xas_reload for multi-index entries
        XArray: Add private interface for workingset node deletion
        XArray: Fix xas_for_each_conflict documentation
        XArray: Test marked multiorder iterations
        XArray: Test two more things about xa_cmpxchg
        ida: Free allocated bitmap in error path
        radix tree test suite: Fix compilation
      c4d6fe73
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.10-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · 59f0e7eb
      Linus Torvalds authored
      Pull NFS client updates from Anna Schumaker:
       "Stable Fixes:
         - Wait for stateid updates after CLOSE/OPEN_DOWNGRADE # v5.4+
         - Fix nfs_path in case of a rename retry
         - Support EXCHID4_FLAG_SUPP_FENCE_OPS v4.2 EXCHANGE_ID flag
      
        New features and improvements:
         - Replace dprintk() calls with tracepoints
         - Make cache consistency bitmap dynamic
         - Added support for the NFS v4.2 READ_PLUS operation
         - Improvements to net namespace uniquifier
      
        Other bugfixes and cleanups:
         - Remove redundant clnt pointer
         - Don't update timeout values on connection resets
         - Remove redundant tracepoints
         - Various cleanups to comments
         - Fix oops when trying to use copy_file_range with v4.0 source server
         - Improvements to flexfiles mirrors
         - Add missing 'local_lock=posix' mount option"
      
      * tag 'nfs-for-5.10-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (55 commits)
        NFSv4.2: support EXCHGID4_FLAG_SUPP_FENCE_OPS 4.2 EXCHANGE_ID flag
        NFSv4: Fix up RCU annotations for struct nfs_netns_client
        NFS: Only reference user namespace from nfs4idmap struct instead of cred
        nfs: add missing "posix" local_lock constant table definition
        NFSv4: Use the net namespace uniquifier if it is set
        NFSv4: Clean up initialisation of uniquified client id strings
        NFS: Decode a full READ_PLUS reply
        SUNRPC: Add an xdr_align_data() function
        NFS: Add READ_PLUS hole segment decoding
        SUNRPC: Add the ability to expand holes in data pages
        SUNRPC: Split out _shift_data_right_tail()
        SUNRPC: Split out xdr_realign_pages() from xdr_align_pages()
        NFS: Add READ_PLUS data segment support
        NFS: Use xdr_page_pos() in NFSv4 decode_getacl()
        SUNRPC: Implement a xdr_page_pos() function
        SUNRPC: Split out a function for setting current page
        NFS: fix nfs_path in case of a rename retry
        fs: nfs: return per memcg count for xattr shrinkers
        NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE
        nfs: remove incorrect fallthrough label
        ...
      59f0e7eb
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.10-2020-10-20' of git://git.kernel.dk/linux-block · 4962a856
      Linus Torvalds authored
      Pull io_uring updates from Jens Axboe:
       "A mix of fixes and a few stragglers. In detail:
      
         - Revert the bogus __read_mostly that we discussed for the initial
           pull request.
      
         - Fix a merge window regression with fixed file registration error
           path handling.
      
         - Fix io-wq numa node affinities.
      
         - Series abstracting out an io_identity struct, making it both easier
           to see what the personality items are, and also easier to to adopt
           more. Use this to cover audit logging.
      
         - Fix for read-ahead disabled block condition in async buffered
           reads, and using single page read-ahead to unify what
           generic_file_buffer_read() path is used.
      
         - Series for REQ_F_COMP_LOCKED fix and removal of it (Pavel)
      
         - Poll fix (Pavel)"
      
      * tag 'io_uring-5.10-2020-10-20' of git://git.kernel.dk/linux-block: (21 commits)
        io_uring: use blk_queue_nowait() to check if NOWAIT supported
        mm: use limited read-ahead to satisfy read
        mm: mark async iocb read as NOWAIT once some data has been copied
        io_uring: fix double poll mask init
        io-wq: inherit audit loginuid and sessionid
        io_uring: use percpu counters to track inflight requests
        io_uring: assign new io_identity for task if members have changed
        io_uring: store io_identity in io_uring_task
        io_uring: COW io_identity on mismatch
        io_uring: move io identity items into separate struct
        io_uring: rely solely on work flags to determine personality.
        io_uring: pass required context in as flags
        io-wq: assign NUMA node locality if appropriate
        io_uring: fix error path cleanup in io_sqe_files_register()
        Revert "io_uring: mark io_uring_fops/io_op_defs as __read_mostly"
        io_uring: fix REQ_F_COMP_LOCKED by killing it
        io_uring: dig out COMP_LOCK from deep call chain
        io_uring: don't put a poll req under spinlock
        io_uring: don't unnecessarily clear F_LINK_TIMEOUT
        io_uring: don't set COMP_LOCKED if won't put
        ...
      4962a856
    • Linus Torvalds's avatar
      Merge tag 'for-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 38525c69
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Power-supply core:
         - add wireless type
         - properly document current direction
      
        Battery/charger driver changes:
         - new fuel-gauge/charger driver for RN5T618/RN5T619
         - new charger driver for BQ25980, BQ25975 and BQ25960
         - bq27xxx-battery: add support for TI bq34z100
         - gpio-charger: convert to GPIO descriptors
         - gpio-charger: add optional support for charge current limiting
         - max17040: add support for max17041, max17043, max17044
         - max17040: add support for max17048, max17049, max17058, max17059
         - smb347-charger: add DT support
         - smb247-charger: add SMB345 and SMB358 support
         - simple-battery: add temperature properties
         - lots of minor fixes, cleanups and DT binding YAML conversions
      
        Reset drivers:
         - ocelot: Add support for Sparx5"
      
      * tag 'for-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (81 commits)
        power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5
        power: supply: bq25980: Fix uninitialized wd_reg_val and overrun
        power: supply: ltc2941: Fix ptr to enum cast
        power: supply: test-power: revise parameter printing to use sprintf
        power: supply: charger-manager: fix incorrect check on charging_duration_ms
        power: supply: max17040: Fix ptr to enum cast
        power: supply: bq25980: Fix uninitialized wd_reg_val
        power: supply: bq25980: remove redundant zero check on ret
        power: reset: ocelot: Add support for Sparx5
        dt-bindings: reset: ocelot: Add Sparx5 support
        power: supply: sbs-battery: keep error code when get_property() fails
        power: supply: bq25980: Add support for the BQ259xx family
        dt-binding: bq25980: Add the bq25980 flash charger
        power: supply: fix spelling mistake "unprecise" -> "imprecise"
        power: supply: test_power: add missing newlines when printing parameters by sysfs
        power: supply: pm2301: drop duplicated i2c_device_id
        power: supply: charger-manager: drop unused charger assignment
        power: supply: rt9455: skip 'struct acpi_device_id' when !CONFIG_ACPI
        power: supply: goldfish: skip 'struct acpi_device_id' when !CONFIG_ACPI
        power: supply: bq25890: skip 'struct acpi_device_id' when !CONFIG_ACPI
        ...
      38525c69
    • Martijn de Gouw's avatar
      SUNRPC: fix copying of multiple pages in gss_read_proxy_verf() · d48c8124
      Martijn de Gouw authored
      
      
      When the passed token is longer than 4032 bytes, the remaining part
      of the token must be copied from the rqstp->rq_arg.pages. But the
      copy must make sure it happens in a consecutive way.
      
      With the existing code, the first memcpy copies 'length' bytes from
      argv->iobase, but since the header is in front, this never fills the
      whole first page of in_token->pages.
      
      The mecpy in the loop copies the following bytes, but starts writing at
      the next page of in_token->pages.  This leaves the last bytes of page 0
      unwritten.
      
      Symptoms were that users with many groups were not able to access NFS
      exports, when using Active Directory as the KDC.
      
      Signed-off-by: default avatarMartijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
      Fixes: 5866efa8
      
       "SUNRPC: Fix svcauth_gss_proxy_init()"
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      d48c8124
    • Roberto Bergantinos Corpas's avatar
      sunrpc: raise kernel RPC channel buffer size · 27a1e8a0
      Roberto Bergantinos Corpas authored
      
      
      Its possible that using AUTH_SYS and mountd manage-gids option a
      user may hit the 8k RPC channel buffer limit. This have been observed
      on field, causing unanswered RPCs on clients after mountd fails to
      write on channel :
      
      rpc.mountd[11231]: auth_unix_gid: error writing reply
      
      Userland nfs-utils uses a buffer size of 32k (RPC_CHAN_BUF_SIZE), so
      lets match those two.
      
      Signed-off-by: default avatarRoberto Bergantinos Corpas <rbergant@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      27a1e8a0
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-10-19' of git://anongit.freedesktop.org/drm/drm · f9915b96
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Some fixes queued up already for i915 and amdgpu, I've also included
        the fix for the clang warning you've seen.
      
        i915:
         - set all unused color plane offsets to ~0xfff again (Ville)
         - fix TGL DKL PHY DP vswing handling (Ville)
      
        amdgpu:
         - DCN clang warning fix
         - eDP fix
         - BACO fix
         - kernel documentation fixes
         - SMU7 mclk fix
         - VCN1 hw bug workaround
      
        amdkfd:
         - kvfree vs kfree fix"
      
      * tag 'drm-next-2020-10-19' of git://anongit.freedesktop.org/drm/drm:
        drm/amd/display: Fix incorrect dsc force enable logic
        drm/amdkfd: Use kvfree in destroy_crat_image
        drm/amdgpu: vcn and jpeg ring synchronization
        drm/amd/pm: increase mclk switch threshold to 200 us
        docs: amdgpu: fix a warning when building the documentation
        drm/amd/display: kernel-doc: document force_timing_sync
        drm/amdgpu/swsmu: init the baco mutex in early_init
        drm/amd/display: Fix module load hangs when connected to an eDP
        drm/i915: Set all unused color plane offsets to ~0xfff again
        drm/i915: Fix TGL DKL PHY DP vswing handling
      f9915b96
    • Linus Torvalds's avatar
      Merge tag 'iommu-fix-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 5c7e3f3f
      Linus Torvalds authored
      Pull iommu fix from Joerg Roedel:
       "Fix a build regression with !CONFIG_IOMMU_API"
      
      * tag 'iommu-fix-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
      5c7e3f3f
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.10b-rc1b-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 4a5bb973
      Linus Torvalds authored
      Pull more xen updates from Juergen Gross:
      
       - A single patch to fix the Xen security issue XSA-331 (malicious
         guests can DoS dom0 by triggering NULL-pointer dereferences or access
         to stale data).
      
       - A larger series to fix the Xen security issue XSA-332 (malicious
         guests can DoS dom0 by sending events at high frequency leading to
         dom0's vcpus being busy in IRQ handling for elongated times).
      
      * tag 'for-linus-5.10b-rc1b-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/events: block rogue events for some time
        xen/events: defer eoi in case of excessive number of events
        xen/events: use a common cpu hotplug hook for event channels
        xen/events: switch user event channels to lateeoi model
        xen/pciback: use lateeoi irq binding
        xen/pvcallsback: use lateeoi irq binding
        xen/scsiback: use lateeoi irq binding
        xen/netback: use lateeoi irq binding
        xen/blkback: use lateeoi irq binding
        xen/events: add a new "late EOI" evtchn framework
        xen/events: fix race in evtchn_fifo_unmask()
        xen/events: add a proper barrier to 2-level uevent unmasking
        xen/events: avoid removing an event channel while handling it
      4a5bb973
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 709ebe6d
      Linus Torvalds authored
      Pull ARM updates from Russell King:
      
       - handle inexact watchpoint addresses (Douglas Anderson)
      
       - decompressor serial debug cleanups (Linus Walleij)
      
       - update L2 cache prefetch bits (Guillaume Tucker)
      
       - add text offset and malloc size to the decompressor kexec data
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: add malloc size to decompressor kexec size structure
        ARM: add TEXT_OFFSET to decompressor kexec image structure
        ARM: 9007/1: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values
        ARM: 9010/1: uncompress: Print the location of appended DTB
        ARM: 9009/1: uncompress: Enable debug in head.S
        ARM: 9008/1: uncompress: Drop excess whitespace print
        ARM: 9006/1: uncompress: Wait for ready and busy in debug prints
        ARM: 9005/1: debug: Select flow control for all debug UARTs
        ARM: 9004/1: debug: Split waituart to CTS and TXRDY
        ARM: 9003/1: uncompress: Delete unused debug macros
        ARM: 8997/2: hw_breakpoint: Handle inexact watchpoint addresses
      709ebe6d