07 Jan, 2021

1 commit

  • * aosp/upstream-f2fs-stable-linux-5.10.y:
    fs-verity: move structs needed for file signing to UAPI header
    fs-verity: rename "file measurement" to "file digest"
    fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest
    fs-verity: remove filenames from file comments
    fscrypt: allow deleting files with unsupported encryption policy
    fscrypt: unexport fscrypt_get_encryption_info()
    fscrypt: move fscrypt_require_key() to fscrypt_private.h
    fscrypt: move body of fscrypt_prepare_setattr() out-of-line
    fscrypt: introduce fscrypt_prepare_readdir()
    ext4: don't call fscrypt_get_encryption_info() from dx_show_leaf()
    ubifs: remove ubifs_dir_open()
    f2fs: remove f2fs_dir_open()
    ext4: remove ext4_dir_open()
    fscrypt: simplify master key locking
    fscrypt: remove unnecessary calls to fscrypt_require_key()
    ubifs: prevent creating duplicate encrypted filenames
    f2fs: prevent creating duplicate encrypted filenames
    ext4: prevent creating duplicate encrypted filenames
    fscrypt: add fscrypt_is_nokey_name()
    fscrypt: remove kernel-internal constants from UAPI header

    Conflicts:
    fs/crypto/hooks.c

    Bug: 174873661
    Signed-off-by: Jaegeuk Kim
    Change-Id: Id56d42fc959242524628752223e9d773a2c8681c

    Jaegeuk Kim
     

29 Dec, 2020

4 commits

  • Although it isn't used directly by the ioctls,
    "struct fsverity_descriptor" is required by userspace programs that need
    to compute fs-verity file digests in a standalone way. Therefore
    it's also needed to sign files in a standalone way.

    Similarly, "struct fsverity_formatted_digest" (previously called
    "struct fsverity_signed_digest" which was misleading) is also needed to
    sign files if the built-in signature verification is being used.

    Therefore, move these structs to the UAPI header.

    While doing this, try to make it clear that the signature-related fields
    in fsverity_descriptor aren't used in the file digest computation.

    Acked-by: Luca Boccassi
    Link: https://lore.kernel.org/r/20201113211918.71883-5-ebiggers@kernel.org
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • I originally chose the name "file measurement" to refer to the fs-verity
    file digest to avoid confusion with traditional full-file digests or
    with the bare root hash of the Merkle tree.

    But the name "file measurement" hasn't caught on, and usually people are
    calling it something else, usually the "file digest". E.g. see
    "struct fsverity_digest" and "struct fsverity_formatted_digest", the
    libfsverity_compute_digest() and libfsverity_sign_digest() functions in
    libfsverity, and the "fsverity digest" command.

    Having multiple names for the same thing is always confusing.

    So to hopefully avoid confusion in the future, rename
    "fs-verity file measurement" to "fs-verity file digest".

    This leaves FS_IOC_MEASURE_VERITY as the only reference to "measure" in
    the kernel, which makes some amount of sense since the ioctl is actively
    "measuring" the file.

    I'll be renaming this in fsverity-utils too (though similarly the
    'fsverity measure' command, which is a wrapper for
    FS_IOC_MEASURE_VERITY, will stay).

    Acked-by: Luca Boccassi
    Link: https://lore.kernel.org/r/20201113211918.71883-4-ebiggers@kernel.org
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • The name "struct fsverity_signed_digest" is causing confusion because it
    isn't actually a signed digest, but rather it's the way that the digest
    is formatted in order to be signed. Rename it to
    "struct fsverity_formatted_digest" to prevent this confusion.

    Also update the struct's comment to clarify that it's specific to the
    built-in signature verification support and isn't a requirement for all
    fs-verity users.

    I'll be renaming this struct in fsverity-utils too.

    Acked-by: Luca Boccassi
    Link: https://lore.kernel.org/r/20201113211918.71883-3-ebiggers@kernel.org
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • * aosp/upstream-f2fs-stable-linux-5.10.y:
    f2fs: compress: fix compression chksum
    f2fs: fix shift-out-of-bounds in sanity_check_raw_super()
    f2fs: fix race of pending_pages in decompression
    f2fs: fix to account inline xattr correctly during recovery
    f2fs: inline: fix wrong inline inode stat
    f2fs: inline: correct comment in f2fs_recover_inline_data
    f2fs: don't check PAGE_SIZE again in sanity_check_raw_super()
    f2fs: convert to F2FS_*_INO macro
    f2fs: introduce max_io_bytes, a sysfs entry, to limit bio size
    f2fs: don't allow any writes on readonly mount
    f2fs: avoid race condition for shrinker count
    f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE
    f2fs: add compress_mode mount option
    f2fs: Remove unnecessary unlikely()
    f2fs: init dirty_secmap incorrectly
    f2fs: remove buffer_head which has 32bits limit
    f2fs: fix wrong block count instead of bytes
    f2fs: use new conversion functions between blks and bytes
    f2fs: rename logical_to_blk and blk_to_logical
    f2fs: fix kbytes written stat for multi-device case
    f2fs: compress: support chksum
    f2fs: fix to avoid REQ_TIME and CP_TIME collision
    f2fs: change to use rwsem for cp_mutex
    f2fs: Handle casefolding with Encryption
    fscrypt: Have filesystems handle their d_ops
    libfs: Add generic function for setting dentry_ops
    f2fs: Remove the redundancy initialization
    f2fs: remove writeback_inodes_sb in f2fs_remount
    f2fs: fix double free of unicode map
    f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
    f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
    f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl
    f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl
    f2fs: move ioctl interface definitions to separated file
    f2fs: fix to seek incorrect data offset in inline data file
    f2fs: call f2fs_get_meta_page_retry for nat page

    Bug: 174873661
    Signed-off-by: Jaegeuk Kim
    Change-Id: I1edcbc31855a7b9d5fd5623ad0fd420e4885eaf2

    Jaegeuk Kim
     

22 Dec, 2020

2 commits

  • We will add a new "compress_mode" mount option to control file
    compression mode. This supports "fs" and "user". In "fs" mode (default),
    f2fs does automatic compression on the compression enabled files.
    In "user" mode, f2fs disables the automaic compression and gives the
    user discretion of choosing the target file and the timing. It means
    the user can do manual compression/decompression on the compression
    enabled files using ioctls.

    Signed-off-by: Daeho Jeong
    Reviewed-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Daeho Jeong
     
  • This patch supports to store chksum value with compressed
    data, and verify the integrality of compressed data while
    reading the data.

    The feature can be enabled through specifying mount option
    'compress_chksum'.

    Signed-off-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Chao Yu
     

12 Nov, 2020

1 commit


10 Nov, 2020

1 commit

  • Pull ext4 fixes and cleanups from Ted Ts'o:
    "More fixes and cleanups for the new fast_commit features, but also a
    few other miscellaneous bug fixes and a cleanup for the MAINTAINERS
    file"

    * tag 'ext4_for_linus_cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (28 commits)
    jbd2: fix up sparse warnings in checkpoint code
    ext4: fix sparse warnings in fast_commit code
    ext4: cleanup fast commit mount options
    jbd2: don't start fast commit on aborted journal
    ext4: make s_mount_flags modifications atomic
    ext4: issue fsdev cache flush before starting fast commit
    ext4: disable fast commit with data journalling
    ext4: fix inode dirty check in case of fast commits
    ext4: remove unnecessary fast commit calls from ext4_file_mmap
    ext4: mark buf dirty before submitting fast commit buffer
    ext4: fix code documentatioon
    ext4: dedpulicate the code to wait on inode that's being committed
    jbd2: don't read journal->j_commit_sequence without taking a lock
    jbd2: don't touch buffer state until it is filled
    jbd2: add todo for a fast commit performance optimization
    jbd2: don't pass tid to jbd2_fc_end_commit_fallback()
    jbd2: don't use state lock during commit path
    jbd2: drop jbd2_fc_init documentation
    ext4: clean up the JBD2 API that initializes fast commits
    jbd2: rename j_maxlen to j_total_len and add jbd2_journal_max_txn_bufs
    ...

    Linus Torvalds
     

07 Nov, 2020

2 commits

  • Now that jbd2_fc_init is dropped, drop its docs too.

    Signed-off-by: Harshad Shirwadkar
    Link: https://lore.kernel.org/r/20201106035911.1942128-8-harshadshirwadkar@gmail.com
    Signed-off-by: Theodore Ts'o

    Harshad Shirwadkar
     
  • Fast commit feature has flags in the file system as well in JBD2. The
    meaning of fast commit feature flags can get confusing. Update docs
    and code to add more documentation about it.

    Suggested-by: Jan Kara
    Signed-off-by: Harshad Shirwadkar
    Reviewed-by: Jan Kara
    Link: https://lore.kernel.org/r/20201106035911.1942128-2-harshadshirwadkar@gmail.com
    Signed-off-by: Theodore Ts'o

    Harshad Shirwadkar
     

06 Nov, 2020

1 commit


04 Nov, 2020

1 commit

  • Pull documentation build warning fixes from Jonathan Corbet:
    "This contains a series of warning fixes from Mauro; once applied, the
    number of warnings from the once-noisy docs build process is nearly
    zero.

    Getting to this point has required a lot of work; once there,
    hopefully we can keep things that way.

    I have packaged this as a separate pull because it does a fair amount
    of reaching outside of Documentation/. The changes are all in comments
    and in code placement. It's all been in linux-next since last week"

    * tag 'docs-5.10-warnings' of git://git.lwn.net/linux: (24 commits)
    docs: SafeSetID: fix a warning
    amdgpu: fix a few kernel-doc markup issues
    selftests: kselftest_harness.h: fix kernel-doc markups
    drm: amdgpu_dm: fix a typo
    gpu: docs: amdgpu.rst: get rid of wrong kernel-doc markups
    drm: amdgpu: kernel-doc: update some adev parameters
    docs: fs: api-summary.rst: get rid of kernel-doc include
    IB/srpt: docs: add a description for cq_size member
    locking/refcount: move kernel-doc markups to the proper place
    docs: lockdep-design: fix some warning issues
    MAINTAINERS: fix broken doc refs due to yaml conversion
    ice: docs fix a devlink info that broke a table
    crypto: sun8x-ce*: update entries to its documentation
    net: phy: remove kernel-doc duplication
    mm: pagemap.h: fix two kernel-doc markups
    blk-mq: docs: add kernel-doc description for a new struct member
    docs: userspace-api: add iommu.rst to the index file
    docs: hwmon: mp2975.rst: address some html build warnings
    docs: net: statistics.rst: remove a duplicated kernel-doc
    docs: kasan.rst: add two missing blank lines
    ...

    Linus Torvalds
     

02 Nov, 2020

1 commit


30 Oct, 2020

1 commit


29 Oct, 2020

1 commit

  • The direct-io.c file used to have just two exported symbols:

    - dio_end_io()
    - __blockdev_direct_IO()

    The first one was removed by changeset
    c33fe275b530 ("fs: remove no longer used dio_end_io()")

    And the last one is used on most places indirectly, via
    the inline macro blockdev_direct_IO() provided by fs.h.
    Yet, neither the macro or the function have kernel-doc
    markups.

    So, drop the inclusion of fs/direct-io.c at the docs.

    Fixes: c33fe275b530 ("fs: remove no longer used dio_end_io()")
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/d0a9fffedca102633c168adaf157f34288a4ea67.1603791716.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

27 Oct, 2020

1 commit


26 Oct, 2020

8 commits


24 Oct, 2020

1 commit


23 Oct, 2020

2 commits

  • 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()
    ...

    Linus Torvalds
     
  • 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()
    ...

    Linus Torvalds
     

22 Oct, 2020

2 commits

  • This patch adds necessary documentation for fast commits.

    Signed-off-by: Harshad Shirwadkar
    Link: https://lore.kernel.org/r/20201015203802.3597742-2-harshadshirwadkar@gmail.com
    Signed-off-by: Theodore Ts'o

    Harshad Shirwadkar
     
  • Pull ceph updates from Ilya Dryomov:

    - a patch that removes crush_workspace_mutex (myself). CRUSH
    computations are no longer serialized and can run in parallel.

    - a couple new filesystem client metrics for "ceph fs top" command
    (Xiubo Li)

    - a fix for a very old messenger bug that affected the filesystem,
    marked for stable (myself)

    - assorted fixups and cleanups throughout the codebase from Jeff and
    others.

    * tag 'ceph-for-5.10-rc1' of git://github.com/ceph/ceph-client: (27 commits)
    libceph: clear con->out_msg on Policy::stateful_server faults
    libceph: format ceph_entity_addr nonces as unsigned
    libceph: fix ENTITY_NAME format suggestion
    libceph: move a dout in queue_con_delay()
    ceph: comment cleanups and clarifications
    ceph: break up send_cap_msg
    ceph: drop separate mdsc argument from __send_cap
    ceph: promote to unsigned long long before shifting
    ceph: don't SetPageError on readpage errors
    ceph: mark ceph_fmt_xattr() as printf-like for better type checking
    ceph: fold ceph_update_writeable_page into ceph_write_begin
    ceph: fold ceph_sync_writepages into writepage_nounlock
    ceph: fold ceph_sync_readpages into ceph_readpage
    ceph: don't call ceph_update_writeable_page from page_mkwrite
    ceph: break out writeback of incompatible snap context to separate function
    ceph: add a note explaining session reject error string
    libceph: switch to the new "osd blocklist add" command
    libceph, rbd, ceph: "blacklist" -> "blocklist"
    ceph: have ceph_writepages_start call pagevec_lookup_range_tag
    ceph: use kill_anon_super helper
    ...

    Linus Torvalds
     

21 Oct, 2020

1 commit


20 Oct, 2020

2 commits

  • Pull fuse updates from Miklos Szeredi:

    - Support directly accessing host page cache from virtiofs. This can
    improve I/O performance for various workloads, as well as reducing
    the memory requirement by eliminating double caching. Thanks to Vivek
    Goyal for doing most of the work on this.

    - Allow automatic submounting inside virtiofs. This allows unique
    st_dev/ st_ino values to be assigned inside the guest to files
    residing on different filesystems on the host. Thanks to Max Reitz
    for the patches.

    - Fix an old use after free bug found by Pradeep P V K.

    * tag 'fuse-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: (25 commits)
    virtiofs: calculate number of scatter-gather elements accurately
    fuse: connection remove fix
    fuse: implement crossmounts
    fuse: Allow fuse_fill_super_common() for submounts
    fuse: split fuse_mount off of fuse_conn
    fuse: drop fuse_conn parameter where possible
    fuse: store fuse_conn in fuse_req
    fuse: add submount support to
    fuse: fix page dereference after free
    virtiofs: add logic to free up a memory range
    virtiofs: maintain a list of busy elements
    virtiofs: serialize truncate/punch_hole and dax fault path
    virtiofs: define dax address space operations
    virtiofs: add DAX mmap support
    virtiofs: implement dax read/write operations
    virtiofs: introduce setupmapping/removemapping commands
    virtiofs: implement FUSE_INIT map_alignment field
    virtiofs: keep a list of free dax memory ranges
    virtiofs: add a mount option to enable dax
    virtiofs: set up virtio_fs dax_device
    ...

    Linus Torvalds
     
  • Pull zonefs updates from Damien Le Moal:
    "Add an 'explicit-open' mount option to automatically issue a
    REQ_OP_ZONE_OPEN command to the device whenever a sequential zone file
    is open for writing for the first time.

    This avoids 'insufficient zone resources' errors for write operations
    on some drives with limited zone resources or on ZNS drives with a
    limited number of active zones. From Johannes"

    * tag 'zonefs-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
    zonefs: document the explicit-open mount option
    zonefs: open/close zone on file open/close
    zonefs: provide no-lock zonefs_io_error variant
    zonefs: introduce helper for zone management

    Linus Torvalds
     

17 Oct, 2020

2 commits

  • Pull overlayfs updates from Miklos Szeredi:

    - Improve performance for certain container setups by introducing a
    "volatile" mode

    - ioctl improvements

    - continue preparation for unprivileged overlay mounts

    * tag 'ovl-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
    ovl: use generic vfs_ioc_setflags_prepare() helper
    ovl: support [S|G]ETFLAGS and FS[S|G]ETXATTR ioctls for directories
    ovl: rearrange ovl_can_list()
    ovl: enumerate private xattrs
    ovl: pass ovl_fs down to functions accessing private xattrs
    ovl: drop flags argument from ovl_do_setxattr()
    ovl: adhere to the vfs_ vs. ovl_do_ conventions for xattrs
    ovl: use ovl_do_getxattr() for private xattr
    ovl: fold ovl_getxattr() into ovl_get_redirect_xattr()
    ovl: clean up ovl_getxattr() in copy_up.c
    duplicate ovl_getxattr()
    ovl: provide a mount option "volatile"
    ovl: check for incompatible features in work dir

    Linus Torvalds
     
  • Pull f2fs updates from Jaegeuk Kim:
    "In this round, we've added new features such as zone capacity for ZNS
    and a new GC policy, ATGC, along with in-memory segment management. In
    addition, we could improve the decompression speed significantly by
    changing virtual mapping method. Even though we've fixed lots of small
    bugs in compression support, I feel that it becomes more stable so
    that I could give it a try in production.

    Enhancements:
    - suport zone capacity in NVMe Zoned Namespace devices
    - introduce in-memory current segment management
    - add standart casefolding support
    - support age threshold based garbage collection
    - improve decompression speed by changing virtual mapping method

    Bug fixes:
    - fix condition checks in some ioctl() such as compression, move_range, etc
    - fix 32/64bits support in data structures
    - fix memory allocation in zstd decompress
    - add some boundary checks to avoid kernel panic on corrupted image
    - fix disallowing compression for non-empty file
    - fix slab leakage of compressed block writes

    In addition, it includes code refactoring for better readability and
    minor bug fixes for compression and zoned device support"

    * tag 'f2fs-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (51 commits)
    f2fs: code cleanup by removing unnecessary check
    f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
    f2fs: fix writecount false positive in releasing compress blocks
    f2fs: introduce check_swap_activate_fast()
    f2fs: don't issue flush in f2fs_flush_device_cache() for nobarrier case
    f2fs: handle errors of f2fs_get_meta_page_nofail
    f2fs: fix to set SBI_NEED_FSCK flag for inconsistent inode
    f2fs: reject CASEFOLD inode flag without casefold feature
    f2fs: fix memory alignment to support 32bit
    f2fs: fix slab leak of rpages pointer
    f2fs: compress: fix to disallow enabling compress on non-empty file
    f2fs: compress: introduce cic/dic slab cache
    f2fs: compress: introduce page array slab cache
    f2fs: fix to do sanity check on segment/section count
    f2fs: fix to check segment boundary during SIT page readahead
    f2fs: fix uninit-value in f2fs_lookup
    f2fs: remove unneeded parameter in find_in_block()
    f2fs: fix wrong total_sections check and fsmeta check
    f2fs: remove duplicated code in sanity_check_area_boundary
    f2fs: remove unused check on version_bitmap
    ...

    Linus Torvalds
     

15 Oct, 2020

3 commits

  • The :c:type: tag has problems with Sphinx 3.x, as structs
    there should be declared with c:struct.

    So, remove them, relying at automarkup.py extension to
    convert them into cross-references.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The :c:type:`foo` only works properly with structs before
    Sphinx 3.x.

    On Sphinx 3.x, structs should now be declared using the
    .. c:struct, and referenced via :c:struct tag.

    As we now have the automarkup.py macro, that automatically
    convert:
    struct foo

    into cross-references, let's get rid of that, solving
    several warnings when building docs with Sphinx 3.x.

    Reviewed-by: André Almeida # blk-mq.rst
    Reviewed-by: Takashi Iwai # sound
    Reviewed-by: Mike Rapoport
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Pull driver core updates from Greg KH:
    "Here is the "big" set of driver core patches for 5.10-rc1

    They include a lot of different things, all related to the driver core
    and/or some driver logic:

    - sysfs common write functions to make it easier to audit sysfs
    attributes

    - device connection cleanups and fixes

    - devm helpers for a few functions

    - NOIO allocations for when devices are being removed

    - minor cleanups and fixes

    All have been in linux-next for a while with no reported issues"

    * tag 'driver-core-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (31 commits)
    regmap: debugfs: use semicolons rather than commas to separate statements
    platform/x86: intel_pmc_core: do not create a static struct device
    drivers core: node: Use a more typical macro definition style for ACCESS_ATTR
    drivers core: Use sysfs_emit for shared_cpu_map_show and shared_cpu_list_show
    mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit
    drivers core: Miscellaneous changes for sysfs_emit
    drivers core: Reindent a couple uses around sysfs_emit
    drivers core: Remove strcat uses around sysfs_emit and neaten
    drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions
    sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
    dyndbg: use keyword, arg varnames for query term pairs
    driver core: force NOIO allocations during unplug
    platform_device: switch to simpler IDA interface
    driver core: platform: Document return type of more functions
    Revert "driver core: Annotate dev_err_probe() with __must_check"
    Revert "test_firmware: Test platform fw loading on non-EFI systems"
    iio: adc: xilinx-xadc: use devm_krealloc()
    hwmon: pmbus: use more devres helpers
    devres: provide devm_krealloc()
    syscore: Use pm_pr_dbg() for syscore_{suspend,resume}()
    ...

    Linus Torvalds
     

14 Oct, 2020

1 commit

  • Pull block updates from Jens Axboe:

    - Series of merge handling cleanups (Baolin, Christoph)

    - Series of blk-throttle fixes and cleanups (Baolin)

    - Series cleaning up BDI, seperating the block device from the
    backing_dev_info (Christoph)

    - Removal of bdget() as a generic API (Christoph)

    - Removal of blkdev_get() as a generic API (Christoph)

    - Cleanup of is-partition checks (Christoph)

    - Series reworking disk revalidation (Christoph)

    - Series cleaning up bio flags (Christoph)

    - bio crypt fixes (Eric)

    - IO stats inflight tweak (Gabriel)

    - blk-mq tags fixes (Hannes)

    - Buffer invalidation fixes (Jan)

    - Allow soft limits for zone append (Johannes)

    - Shared tag set improvements (John, Kashyap)

    - Allow IOPRIO_CLASS_RT for CAP_SYS_NICE (Khazhismel)

    - DM no-wait support (Mike, Konstantin)

    - Request allocation improvements (Ming)

    - Allow md/dm/bcache to use IO stat helpers (Song)

    - Series improving blk-iocost (Tejun)

    - Various cleanups (Geert, Damien, Danny, Julia, Tetsuo, Tian, Wang,
    Xianting, Yang, Yufen, yangerkun)

    * tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-block: (191 commits)
    block: fix uapi blkzoned.h comments
    blk-mq: move cancel of hctx->run_work to the front of blk_exit_queue
    blk-mq: get rid of the dead flush handle code path
    block: get rid of unnecessary local variable
    block: fix comment and add lockdep assert
    blk-mq: use helper function to test hw stopped
    block: use helper function to test queue register
    block: remove redundant mq check
    block: invoke blk_mq_exit_sched no matter whether have .exit_sched
    percpu_ref: don't refer to ref->data if it isn't allocated
    block: ratelimit handle_bad_sector() message
    blk-throttle: Re-use the throtl_set_slice_end()
    blk-throttle: Open code __throtl_de/enqueue_tg()
    blk-throttle: Move service tree validation out of the throtl_rb_first()
    blk-throttle: Move the list operation after list validation
    blk-throttle: Fix IO hang for a corner case
    blk-throttle: Avoid tracking latency if low limit is invalid
    blk-throttle: Avoid getting the current time if tg->last_finish_time is 0
    blk-throttle: Remove a meaningless parameter for throtl_downgrade_state()
    block: Remove redundant 'return' statement
    ...

    Linus Torvalds
     

13 Oct, 2020

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "As hoped, things calmed down for docs this cycle; fewer changes and
    almost no conflicts at all. This includes:

    - A reworked and expanded user-mode Linux document

    - Some simplifications and improvements for submitting-patches.rst

    - An emergency fix for (some) problems with Sphinx 3.x

    - Some welcome automarkup improvements to automatically generate
    cross-references to struct definitions and other documents

    - The usual collection of translation updates, typo fixes, etc"

    * tag 'docs-5.10' of git://git.lwn.net/linux: (81 commits)
    gpiolib: Update indentation in driver.rst for code excerpts
    Documentation/admin-guide: tainted-kernels: Fix typo occured
    Documentation: better locations for sysfs-pci, sysfs-tagging
    docs: programming-languages: refresh blurb on clang support
    Documentation: kvm: fix a typo
    Documentation: Chinese translation of Documentation/arm64/amu.rst
    doc: zh_CN: index files in arm64 subdirectory
    mailmap: add entry for
    doc: seq_file: clarify role of *pos in ->next()
    docs: trace: ring-buffer-design.rst: use the new SPDX tag
    Documentation: kernel-parameters: clarify "module." parameters
    Fix references to nommu-mmap.rst
    docs: rewrite admin-guide/sysctl/abi.rst
    docs: fb: Remove vesafb scrollback boot option
    docs: fb: Remove sstfb scrollback boot option
    docs: fb: Remove matroxfb scrollback boot option
    docs: fb: Remove framebuffer scrollback boot option
    docs: replace the old User Mode Linux HowTo with a new one
    Documentation/admin-guide: blockdev/ramdisk: remove use of "rdev"
    Documentation/admin-guide: README & svga: remove use of "rdev"
    ...

    Linus Torvalds