1. 20 Dec, 2020 3 commits
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · f4a2f786
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Subsystem:
      
         - Remove nvram ABI. There was no complaints about the deprecation for
           the last 3 years.
      
         - Improve RTC device allocation and registration
      
         - Now available for ARCH=um
      
        Drivers:
      
         - at91rm9200: correction and sam9x60 support
      
         - ds1307: improve ACPI support
      
         - mxc: now DT only
      
         - pcf2127: watchdog support now needs the reset-source property
      
         - pcf8523: set range
      
         - rx6110: i2c support"
      
      * tag 'rtc-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (43 commits)
        rtc: pcf2127: only use watchdog when explicitly available
        dt-bindings: rtc: add reset-source property
        rtc: fix RTC removal
        rtc: s3c: Remove dead code related to periodic tick handling
        rtc: s3c: Disable all enable (RTC, tick) bits in the probe
        rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time
        rtc: test: remove debug message
        rtc: mxc{,_v2}: enable COMPILE_TEST
        rtc: enable RTC framework on ARCH=um
        rtc: pcf8523: use BIT
        rtc: pcf8523: set range
        rtc: pcf8523: switch to devm_rtc_allocate_device
        rtc: destroy mutex when releasing the device
        rtc: shrink devm_rtc_allocate_device()
        rtc: rework rtc_register_device() resource management
        rtc: nvmem: emit an error message when nvmem registration fails
        rtc: add devm_ prefix to rtc_nvmem_register()
        rtc: nvmem: remove nvram ABI
        Documentation: list RTC devres helpers in devres.rst
        rtc: omap: use devm_pinctrl_register()
        ...
      f4a2f786
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 7703f46f
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Don't wait for unfreeze of the wrong filesystems
      
       - Remove an obsolete delete_work_func hack and an incorrect
         sb_start_write
      
       - Minor documentation updates and cosmetic care
      
      * tag 'gfs2-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: in signal_our_withdraw wait for unfreeze of _this_ fs only
        gfs2: Remove sb_start_write from gfs2_statfs_sync
        gfs2: remove trailing semicolons from macro definitions
        Revert "GFS2: Prevent delete work from occurring on glocks used for create"
        gfs2: Make inode operations static
        MAINTAINERS: Add gfs2 bug tracker link
        Documentation: Update filesystems/gfs2.rst
      7703f46f
    • Heiko Carstens's avatar
      epoll: fix compat syscall wire up of epoll_pwait2 · 450f68e2
      Heiko Carstens authored
      Commit b0a0c261 ("epoll: wire up syscall epoll_pwait2") wired up
      the 64 bit syscall instead of the compat variant in a couple of places.
      
      Fixes: b0a0c261 ("epoll: wire up syscall epoll_pwait2")
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Willem de Bruijn <willemb@google.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      450f68e2
  2. 19 Dec, 2020 34 commits
  3. 18 Dec, 2020 3 commits
    • Kent Overstreet's avatar
      mm/filemap: fix infinite loop in generic_file_buffered_read() · 3644e2d2
      Kent Overstreet authored
      If iter->count is 0 and iocb->ki_pos is page aligned, this causes
      nr_pages to be 0.
      
      Then in generic_file_buffered_read_get_pages() find_get_pages_contig()
      returns 0 - because we asked for 0 pages, so we call
      generic_file_buffered_read_no_cached_page() which attempts to add a page
      to the page cache, which fails with -EEXIST, and then we loop. Oops...
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
      Reported-by: default avatarJens Axboe <axboe@kernel.dk>
      Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3644e2d2
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.11-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · a0b96314
      Linus Torvalds authored
      Pull xfs updates from Darrick Wong:
       "In this release we add the ability to set a 'needsrepair' flag
        indicating that we /know/ the filesystem requires xfs_repair, but
        other than that, it's the usual strengthening of metadata validation
        and miscellaneous cleanups.
      
        Summary:
      
         - Introduce a "needsrepair" "feature" to flag a filesystem as needing
           a pass through xfs_repair. This is key to enabling filesystem
           upgrades (in xfs_db) that require xfs_repair to make minor
           adjustments to metadata.
      
         - Refactor parameter checking of recovered log intent items so that
           we actually use the same validation code as them that generate the
           intent items.
      
         - Various fixes to online scrub not reacting correctly to directory
           entries pointing to inodes that cannot be igetted.
      
         - Refactor validation helpers for data and rt volume extents.
      
         - Refactor XFS_TRANS_DQ_DIRTY out of existence.
      
         - Fix a longstanding bug where mounting with "uqnoenforce" would
           start user quotas in non-enforcing mode but /proc/mounts would
           display "usrquota", implying that they are being enforced.
      
         - Don't flag dax+reflink inodes as corruption since that is a valid
           (but not fully functional) combination right now.
      
         - Clean up raid stripe validation functions.
      
         - Refactor the inode allocation code to be more straightforward.
      
         - Small prep cleanup for idmapping support.
      
         - Get rid of the xfs_buf_t typedef"
      
      * tag 'xfs-5.11-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (40 commits)
        xfs: remove xfs_buf_t typedef
        fs/xfs: convert comma to semicolon
        xfs: open code updating i_mode in xfs_set_acl
        xfs: remove xfs_vn_setattr_nonsize
        xfs: kill ialloced in xfs_dialloc()
        xfs: spilt xfs_dialloc() into 2 functions
        xfs: move xfs_dialloc_roll() into xfs_dialloc()
        xfs: move on-disk inode allocation out of xfs_ialloc()
        xfs: introduce xfs_dialloc_roll()
        xfs: convert noroom, okalloc in xfs_dialloc() to bool
        xfs: don't catch dax+reflink inodes as corruption in verifier
        xfs: fix the forward progress assertion in xfs_iwalk_run_callbacks
        xfs: remove unneeded return value check for *init_cursor()
        xfs: introduce xfs_validate_stripe_geometry()
        xfs: show the proper user quota options
        xfs: remove the unused XFS_B_FSB_OFFSET macro
        xfs: remove unnecessary null check in xfs_generic_create
        xfs: directly return if the delta equal to zero
        xfs: check tp->t_dqinfo value instead of the XFS_TRANS_DQ_DIRTY flag
        xfs: delete duplicated tp->t_dqinfo null check and allocation
        ...
      a0b96314
    • Linus Torvalds's avatar
      Merge tag 'ktest-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest · 4862c741
      Linus Torvalds authored
      Pull ktest updates from Steven Rostedt:
       "No new features. Just a couple of fixes that I had in my local
        repository that fixed issues with sending the result emails"
      
      * tag 'ktest-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest:
        ktest.pl: Fix the logic for truncating the size of the log file for email
        ktest.pl: If size of log is too big to email, email error message
      4862c741