Skip to content
Permalink
Christophe-Ler…
Switch branches/tags

Commits on Feb 3, 2022

  1. modules: Rename debug_align() as section_align()

    debug_align() was added by commit 84e1c6b ("x86: Add RO/NX
    protection for loadable kernel modules")
    
    At that time the config item was CONFIG_DEBUG_SET_MODULE_RONX.
    
    But nowadays it has changed to CONFIG_STRICT_MODULE_RWX and
    debug_align() is confusing because it has nothing to do with
    DEBUG.
    
    Rename it section_align()
    
    While at it, use PAGE_ALIGN(x) instead of ALIGN(x, PAGE_SIZE).
    
    Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
    chleroy authored and intel-lab-lkp committed Feb 3, 2022
  2. modules: Make module_enable_x() independant of CONFIG_ARCH_HAS_STRICT…

    …_MODULE_RWX
    
    module_enable_x() has nothing to do with CONFIG_ARCH_HAS_STRICT_MODULE_RWX
    allthough by coincidence architectures who need module_enable_x() are
    selection CONFIG_ARCH_HAS_STRICT_MODULE_RWX.
    
    Enable module_enable_x() for everyone everytime. If an architecture
    already has module text set executable, it's a no-op.
    
    Only check end boundary if CONFIG_STRICT_MODULE_RWX is set, and
    make sure we entirely get the last page when the boundary is not
    aligned. When CONFIG_STRICT_MODULE_RWX is not selected, it is not
    a big deal to have the start of data as executable.
    
    Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
    chleroy authored and intel-lab-lkp committed Feb 3, 2022

Commits on Jan 14, 2022

  1. module: fix signature check failures when using in-kernel decompression

    The new flag MODULE_INIT_COMPRESSED_FILE unintentionally trips check in
    module_sig_check(). The check was supposed to catch case when version
    info or magic was removed from a signed module, making signature
    invalid, but it was coded too broadly and was catching this new flag as
    well.
    
    Change the check to only test the 2 particular flags affecting signature
    validity.
    
    Fixes: b1ae6dc ("module: add in-kernel support for decompressing")
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Reviewed-by: Douglas Anderson <dianders@chromium.org>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    dtor authored and mcgrof committed Jan 14, 2022

Commits on Jan 13, 2022

  1. kernel: Fix spelling mistake "compresser" -> "compressor"

    There is a spelling mistake in a pr_err error message. Fix it.
    
    Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    ColinIanKing authored and mcgrof committed Jan 13, 2022

Commits on Jan 12, 2022

  1. MAINTAINERS: add mailing lists for kmod and modules

    Add the linux-modules list for kmod and linux modules changes.
    
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    mcgrof committed Jan 12, 2022
  2. module.h: allow #define strings to work with MODULE_IMPORT_NS

    The MODULE_IMPORT_NS() macro does not allow defined strings to work
    properly with it, so add a layer of indirection to allow this to happen.
    
    Cc: Luis Chamberlain <mcgrof@kernel.org>
    Cc: Jessica Yu <jeyu@kernel.org>
    Cc: Matthias Maennich <maennich@google.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Reviewed-by: Matthias Maennich <maennich@google.com>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    gregkh authored and mcgrof committed Jan 12, 2022
  3. module: add in-kernel support for decompressing

    Current scheme of having userspace decompress kernel modules before
    loading them into the kernel runs afoul of LoadPin security policy, as
    it loses link between the source of kernel module on the disk and binary
    blob that is being loaded into the kernel. To solve this issue let's
    implement decompression in kernel, so that we can pass a file descriptor
    of compressed module file into finit_module() which will keep LoadPin
    happy.
    
    To let userspace know what compression/decompression scheme kernel
    supports it will create /sys/module/compression attribute. kmod can read
    this attribute and decide if it can pass compressed file to
    finit_module(). New MODULE_INIT_COMPRESSED_DATA flag indicates that the
    kernel should attempt to decompress the data read from file descriptor
    prior to trying load the module.
    
    To simplify things kernel will only implement single decompression
    method matching compression method selected when generating modules.
    This patch implements gzip and xz; more can be added later,
    
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    dtor authored and mcgrof committed Jan 12, 2022
  4. MAINTAINERS: Remove myself as modules maintainer

    Luis has done a great job maintaining modules so far. As I'm planning to
    take a break from work soon, I think we're ready to transition over fully.
    
    Signed-off-by: Jessica Yu <jeyu@kernel.org>
    Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    flaming-toast authored and mcgrof committed Jan 12, 2022
  5. module: Remove outdated comment

    Since commit e513cc1 ("module: Remove stop_machine from module
    unloading") this comment is no longer correct. Remove it.
    
    Signed-off-by: Yu Chen <chen.yu@easystack.cn>
    Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    Yu Chen authored and mcgrof committed Jan 12, 2022
  6. Merge tag 'locking_core_for_v5.17_rc1' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull locking updates from Borislav Petkov:
     "Lots of cleanups and preparation. Highlights:
    
       - futex: Cleanup and remove runtime futex_cmpxchg detection
    
       - rtmutex: Some fixes for the PREEMPT_RT locking infrastructure
    
       - kcsan: Share owner_on_cpu() between mutex,rtmutex and rwsem and
         annotate the racy owner->on_cpu access *once*.
    
       - atomic64: Dead-Code-Elemination"
    
    [ Description above by Peter Zijlstra ]
    
    * tag 'locking_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      locking/atomic: atomic64: Remove unusable atomic ops
      futex: Fix additional regressions
      locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h
      x86/mm: Include spinlock_t definition in pgtable.
      locking: Mark racy reads of owner->on_cpu
      locking: Make owner_on_cpu() into <linux/sched.h>
      lockdep/selftests: Adapt ww-tests for PREEMPT_RT
      lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
      lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock().
      lockdep/selftests: Avoid using local_lock_{acquire|release}().
      lockdep: Remove softirq accounting on PREEMPT_RT.
      locking/rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable().
      locking/rtmutex: Squash self-deadlock check for ww_rt_mutex.
      locking: Remove rt_rwlock_is_contended().
      sched: Trigger warning if ->migration_disabled counter underflows.
      futex: Fix sparc32/m68k/nds32 build regression
      futex: Remove futex_cmpxchg detection
      futex: Ensure futex_atomic_cmpxchg_inatomic() is present
      kernel/locking: Use a pointer in ww_mutex_trylock().
    torvalds committed Jan 12, 2022
  7. Merge tag 'sched_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull scheduler updates from Borislav Petkov:
     "Mostly minor things this time; some highlights:
    
       - core-sched: Add 'Forced Idle' accounting; this allows to track how
         much CPU time is 'lost' due to core scheduling constraints.
    
       - psi: Fix for MEM_FULL; a task running reclaim would be counted as a
         runnable task and prevent MEM_FULL from being reported.
    
       - cpuacct: Long standing fixes for some cgroup accounting issues.
    
       - rt: Bandwidth timer could, under unusual circumstances, be failed
         to armed, leading to indefinite throttling."
    
    [ Description above by Peter Zijlstra ]
    
    * tag 'sched_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched/fair: Replace CFS internal cpu_util() with cpu_util_cfs()
      sched/fair: Cleanup task_util and capacity type
      sched/rt: Try to restart rt period timer when rt runtime exceeded
      sched/fair: Document the slow path and fast path in select_task_rq_fair
      sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
      sched/fair: Fix detection of per-CPU kthreads waking a task
      sched/cpuacct: Make user/system times in cpuacct.stat more precise
      sched/cpuacct: Fix user/system in shown cpuacct.usage*
      cpuacct: Convert BUG_ON() to WARN_ON_ONCE()
      cputime, cpuacct: Include guest time in user time in cpuacct.stat
      psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim
      sched/core: Forced idle accounting
      psi: Add a missing SPDX license header
      psi: Remove repeated verbose comment
    torvalds committed Jan 12, 2022
  8. Merge tag 'Wcast-function-type-5.17-rc1' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/gustavoars/linux
    
    Pull cast-function-type warning addition from Gustavo A. R. Silva:
     "This globally enables -Wcast-function-type.
    
      We need to make sure new function cast mismatches are not introduced
      in the kernel in order to avoid tripping CFI checking"
    
    * tag 'Wcast-function-type-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
      Makefile: Enable -Wcast-function-type
    torvalds committed Jan 12, 2022
  9. Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm

    Pull ARM updates from Russell King:
    
     - amba bus irq rework
    
     - add kfence support
    
     - support for Cortex M33 and M55 CPUs
    
     - kbuild updates for decompressor
    
     - let core code manage thread_info::cpu
    
     - avoid unpredictable NOP encoding in decompressor
    
     - reduce information printed in calltraces
    
    * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
      ARM: reduce the information printed in call traces
      ARM: 9168/1: Add support for Cortex-M55 processor
      ARM: 9167/1: Add support for Cortex-M33 processor
      ARM: 9166/1: Support KFENCE for ARM
      ARM: 9165/1: mm: Provide is_write_fault()
      ARM: 9164/1: mm: Provide set_memory_valid()
      ARM: 9163/1: amba: Move of_amba_device_decode_irq() into amba_probe()
      ARM: 9162/1: amba: Kill sysfs attribute file of irq
      ARM: 9161/1: mm: mark private VM_FAULT_X defines as vm_fault_t
      ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
      ARM: 9158/1: leave it to core code to manage thread_info::cpu
      ARM: 9154/1: decompressor: do not copy source files while building
    torvalds committed Jan 12, 2022

Commits on Jan 11, 2022

  1. Merge tag 'for-5.17/parisc-1' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/deller/parisc-linux
    
    Pull parisc architecture updates from Helge Deller:
    
     - Fix lpa and lpa_user defines (John David Anglin)
    
     - Fix symbol lookup of init functions with an __is_kernel() fix (Helge
       Deller)
    
     - Fix wrong pdc_toc_pim_11 and pdc_toc_pim_20 definitions (Helge
       Deller)
    
     - Add lws_atomic_xchg and lws_atomic_store syscalls (John David Anglin)
    
     - Rewrite light-weight syscall and futex code (John David Anglin)
    
     - Enable TOC (transfer of contents) feature unconditionally (Helge
       Deller)
    
     - Improve fault handler messages (John David Anglin)
    
     - Improve build process (Masahiro Yamada)
    
     - Reduce kernel code footprint of user access functions (Helge Deller)
    
     - Fix build error due to outX() macros (Bart Van Assche)
    
     - Ue default_groups in kobj_type in pdc_stable (Greg Kroah-Hartman)
    
     - Default to 16 CPUs on 32-bit kernel (Helge Deller)
    
    * tag 'for-5.17/parisc-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
      parisc: Default to 16 CPUs on 32-bit kernel
      sections: Fix __is_kernel() to include init ranges
      parisc: Re-use toc_stack as hpmc_stack
      parisc: Enable TOC (transfer of contents) feature unconditionally
      parisc: io: Improve the outb(), outw() and outl() macros
      parisc: pdc_stable: use default_groups in kobj_type
      parisc: Add kgdb io_module to read chars via PDC
      parisc: Fix pdc_toc_pim_11 and pdc_toc_pim_20 definitions
      parisc: Add lws_atomic_xchg and lws_atomic_store syscalls
      parisc: Rewrite light-weight syscall and futex code
      parisc: Enhance page fault termination message
      parisc: Don't call faulthandler_disabled() in do_page_fault()
      parisc: Switch user access functions to signal errors in r29 instead of r8
      parisc: Avoid calling faulthandler_disabled() twice
      parisc: Fix lpa and lpa_user defines
      parisc: Define depi_safe macro
      parisc: decompressor: do not copy source files while building
    torvalds committed Jan 11, 2022
  2. Merge tag 'x86_build_for_v5.17_rc1-p2' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull missed x86 build updates from Borislav Petkov:
     "In the heat of the battle between me and the tip pull requests, I've
      sent you the tip:x86/build branch without the two top-most commits
      from Ingo (it appears I hadn't fast-forwarded my local branch, sorry
      about that).
    
      Therefore, here's a part 2 of x86/build for 5.17.
    
       - Make x86 defconfigs more useful by enabling
         CONFIG_LOCALVERSION_AUTO and CONFIG_KALLSYMS_ALL
    
      And while you merge that, I'll be at the blackboard, writing:
    
        I will always fast-forward local branches before tagging and sending pull requests to Linus.
        I will always fast-forward local branches before tagging and sending pull requests to Linus.
        I will always fast-forward local branches before tagging and sending pull requests..."
    
    * tag 'x86_build_for_v5.17_rc1-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
      x86/defconfig: Enable CONFIG_LOCALVERSION_AUTO=y in the defconfig
    torvalds committed Jan 11, 2022
  3. Merge tag 'efi-next-for-v5.17' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/efi/efi
    
    Pull EFI updates from Ard Biesheuvel:
    
     - support taking the measurement of the initrd when loaded via the
       LoadFile2 protocol
    
     - kobject API cleanup from Greg
    
     - some header file whitespace fixes
    
    * tag 'efi-next-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
      efi: use default_groups in kobj_type
      efi/libstub: measure loaded initrd info into the TPM
      efi/libstub: consolidate initrd handling across architectures
      efi/libstub: x86/mixed: increase supported argument count
      efi/libstub: add prototype of efi_tcg2_protocol::hash_log_extend_event()
      include/linux/efi.h: Remove unneeded whitespaces before tabs
    torvalds committed Jan 11, 2022
  4. Merge tag 'for-linus-5.17-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/rw/uml
    
    Pull UML updates from Richard Weinberger:
    
     - set_fs removal
    
     - Devicetree support
    
     - Many cleanups from Al
    
     - Various virtio and build related fixes
    
    * tag 'for-linus-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: (31 commits)
      um: virtio_uml: Allow probing from devicetree
      um: Add devicetree support
      um: Extract load file helper from initrd.c
      um: remove set_fs
      hostfs: Fix writeback of dirty pages
      um: Use swap() to make code cleaner
      um: header debriding - sigio.h
      um: header debriding - os.h
      um: header debriding - net_*.h
      um: header debriding - mem_user.h
      um: header debriding - activate_ipi()
      um: common-offsets.h debriding...
      um, x86: bury crypto_tfm_ctx_offset
      um: unexport handle_page_fault()
      um: remove a dangling extern of syscall_trace()
      um: kill unused cpu()
      uml/i386: missing include in barrier.h
      um: stop polluting the namespace with registers.h contents
      logic_io instance of iounmap() needs volatile on argument
      um: move amd64 variant of mmap(2) to arch/x86/um/syscalls_64.c
      ...
    torvalds committed Jan 11, 2022
  5. Merge tag 'for-linus-5.17-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/rw/ubifs
    
    Pull JFFS2, UBI and UBIFS updates from Richard Weinberger:
     "JFFS2:
       - Fix for a deadlock in jffs2_write_begin()
    
      UBI:
       - Fixes in comments
    
      UBIFS:
       - Expose error counters in sysfs
       - Many bugfixes found by Hulk Robot and others"
    
    * tag 'for-linus-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
      jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
      ubifs: read-only if LEB may always be taken in ubifs_garbage_collect
      ubifs: fix double return leb in ubifs_garbage_collect
      ubifs: fix slab-out-of-bounds in ubifs_change_lp
      ubifs: fix snprintf() length check
      ubifs: Document sysfs nodes
      ubifs: Export filesystem error counters
      ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
      ubifs: Make use of the helper macro kthread_run()
      ubi: Fix a mistake in comment
      ubifs: Fix spelling mistakes
    torvalds committed Jan 11, 2022
  6. Merge tag 'dlm-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/teigland/linux-dlm
    
    Pull dlm updates from David Teigland:
     "This set includes the normal collection of minor fixes and cleanups,
      new kmem caches for network messaging structs, a start on some basic
      tracepoints, and some new debugfs files for inserting test messages"
    
    * tag 'dlm-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm: (32 commits)
      fs: dlm: print cluster addr if non-cluster node connects
      fs: dlm: memory cache for lowcomms hotpath
      fs: dlm: memory cache for writequeue_entry
      fs: dlm: memory cache for midcomms hotpath
      fs: dlm: remove wq_alloc mutex
      fs: dlm: use event based wait for pending remove
      fs: dlm: check for pending users filling buffers
      fs: dlm: use list_empty() to check last iteration
      fs: dlm: fix build with CONFIG_IPV6 disabled
      fs: dlm: replace use of socket sk_callback_lock with sock_lock
      fs: dlm: don't call kernel_getpeername() in error_report()
      fs: dlm: fix potential buffer overflow
      fs: dlm:Remove unneeded semicolon
      fs: dlm: remove double list_first_entry call
      fs: dlm: filter user dlm messages for kernel locks
      fs: dlm: add lkb waiters debugfs functionality
      fs: dlm: add lkb debugfs functionality
      fs: dlm: allow create lkb with specific id range
      fs: dlm: add debugfs rawmsg send functionality
      fs: dlm: let handle callback data as void
      ...
    torvalds committed Jan 11, 2022
  7. Merge tag 'gfs2-v5.16-rc3-fixes' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/gfs2/linux-gfs2
    
    Pull gfs2 updates from Andreas Gruenbacher:
     "Various minor gfs2 cleanups and fixes"
    
    * tag 'gfs2-v5.16-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
      gfs2: dump inode object for iopen glocks
      gfs2: Fix gfs2_instantiate description
      gfs2: Remove redundant check for GLF_INSTANTIATE_NEEDED
      gfs2: remove redundant set of INSTANTIATE_NEEDED
      gfs2: Fix __gfs2_holder_init function name in kernel-doc comment
    torvalds committed Jan 11, 2022
  8. Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tytso/ext4
    
    Pull ext4 updates from Ted Ts'o:
     "Convert ext4 to use the new mount API, and add support for the
      FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL ioctls.
    
      In addition the usual large number of clean ups and bug fixes, in
      particular for the fast_commit feature"
    
    * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (48 commits)
      ext4: don't use the orphan list when migrating an inode
      ext4: use BUG_ON instead of if condition followed by BUG
      ext4: fix a copy and paste typo
      ext4: set csum seed in tmp inode while migrating to extents
      ext4: remove unnecessary 'offset' assignment
      ext4: remove redundant o_start statement
      ext4: drop an always true check
      ext4: remove unused assignments
      ext4: remove redundant statement
      ext4: remove useless resetting io_end_size in mpage_process_page()
      ext4: allow to change s_last_trim_minblks via sysfs
      ext4: change s_last_trim_minblks type to unsigned long
      ext4: implement support for get/set fs label
      ext4: only set EXT4_MOUNT_QUOTA when journalled quota file is specified
      ext4: don't use kfree() on rcu protected pointer sbi->s_qf_names
      ext4: avoid trim error on fs with small groups
      ext4: fix an use-after-free issue about data=journal writeback mode
      ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
      ext4: initialize err_blk before calling __ext4_get_inode_loc
      ext4: fix a possible ABBA deadlock due to busy PA
      ...
    torvalds committed Jan 11, 2022
  9. Merge tag 'xfs-5.17-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/x…

    …fs-linux
    
    Pull xfs updates from Darrick Wong:
     "The big new feature here is that the mount code now only bothers to
      try to free stale COW staging extents if the fs unmounted uncleanly.
      This should reduce mount times, particularly on filesystems supporting
      reflink and containing a large number of allocation groups.
    
      Everything else this cycle are bugfixes, as the iomap folios
      conversion should be plenty enough excitement for anyone. That and I
      ran out of brain bandwidth after Thanksgiving last year.
    
      Summary:
    
       - Fix log recovery with da btree buffers when metauuid is in use.
    
       - Fix type coercion problems in xattr buffer size validation.
    
       - Fix a bug in online scrub dir leaf bestcount checking.
    
       - Only run COW recovery when recovering the log.
    
       - Fix symlink target buffer UAF problems and symlink locking problems
         by not exposing xfs innards to the VFS.
    
       - Fix incorrect quotaoff lock usage.
    
       - Don't let transactions cancel cleanly if they have deferred work
         items attached.
    
       - Fix a UAF when we're deciding if we need to relog an intent item.
    
       - Reduce kvmalloc overhead for log shadow buffers.
    
       - Clean up sysfs attr group usage.
    
       - Fix a bug where scrub's bmap/rmap checking could race with a quota
         file block allocation due to insufficient locking.
    
       - Teach scrub to complain about invalid project ids"
    
    * tag 'xfs-5.17-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
      xfs: warn about inodes with project id of -1
      xfs: hold quota inode ILOCK_EXCL until the end of dqalloc
      xfs: Remove redundant assignment of mp
      xfs: reduce kvmalloc overhead for CIL shadow buffers
      xfs: sysfs: use default_groups in kobj_type
      xfs: prevent UAF in xfs_log_item_in_current_chkpt
      xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()
      xfs: Fix comments mentioning xfs_ialloc
      xfs: check sb_meta_uuid for dabuf buffer recovery
      xfs: fix a bug in the online fsck directory leaf1 bestcount check
      xfs: only run COW extent recovery when there are no live extents
      xfs: don't expose internal symlink metadata buffers to the vfs
      xfs: fix quotaoff mutex usage now that we don't support disabling it
      xfs: shut down filesystem if we xfs_trans_cancel with deferred work items
    torvalds committed Jan 11, 2022
  10. Merge tag 'for-5.17-tag' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/kdave/linux
    
    Pull btrfs updates from David Sterba:
     "This end of the year branch is intentionally not that exciting. Most
      of the changes are under the hood, but there are some minor user
      visible improvements and several performance improvements too.
    
      Features:
    
       - make send work with concurrent block group relocation.
    
         We're not allowed to prevent send failing or silently producing
         some bad stream but with more fine grained locking and checks it's
         possible. The send vs deduplication exclusion could reuse the same
         logic in the future.
    
       - new exclusive operation 'balance paused' to allow adding a device
         to filesystem with paused balance
    
       - new sysfs file for fsid stored in the per-device directory to help
         distinguish devices when seeding is enabled, the fsid may differ
         from the one reported by the filesystem
    
      Performance improvements:
    
       - less metadata needed for directory logging, directory deletion is
         20-40% faster
    
       - in zoned mode, cache zone information during mount to speed up
         repeated queries (about 50% speedup)
    
       - free space tree entries get indexed and searched by size (latency
         -30%, search run time -30%)
    
       - less contention in tree node locking when inserting a key and no
         splits are needed (files/sec in fsmark improves by 1-20%)
    
      Fixes:
    
       - fix ENOSPC failure when attempting direct IO write into NOCOW range
    
       - fix deadlock between quota enable and other quota operations
    
       - global reserve minimum calculations fixed to account for free space
         tree
    
       - in zoned mode, fix condition for chunk allocation that may not find
         the right zone for reuse and could lead to early ENOSPC
    
      Core:
    
       - global reserve stealing got simplified and cleaned up in evict
    
       - remove async transaction commit based on manual transaction refs,
         reuse existing kthread and mechanisms to let it commit transaction
         before timeout
    
       - preparatory work for extent tree v2, add wrappers for global tree
         roots, truncation path cleanups
    
       - remove readahead framework, it's a bit overengineered and used only
         for scrub, and yet it does not cover all its needs, there is
         another readahead built in the b-tree search that is now used,
         performance drop on HDD is about 5% which is acceptable and scrub
         is often throttled anyway, on SSDs there's no reported drop but
         slight improvement
    
       - self tests report extent tree state when error occurs
    
       - replace assert with debugging information when an uncommitted
         transaction is found at unmount time
    
      Other:
    
       - error handling improvements
    
       - other cleanups and refactoring"
    
    * tag 'for-5.17-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (115 commits)
      btrfs: output more debug messages for uncommitted transaction
      btrfs: respect the max size in the header when activating swap file
      btrfs: fix argument list that the kdoc format and script verified
      btrfs: remove unnecessary parameter type from compression_decompress_bio
      btrfs: selftests: dump extent io tree if extent-io-tree test failed
      btrfs: scrub: cleanup the argument list of scrub_stripe()
      btrfs: scrub: cleanup the argument list of scrub_chunk()
      btrfs: remove reada infrastructure
      btrfs: scrub: use btrfs_path::reada for extent tree readahead
      btrfs: scrub: remove the unnecessary path parameter for scrub_raid56_parity()
      btrfs: refactor unlock_up
      btrfs: skip transaction commit after failure to create subvolume
      btrfs: zoned: fix chunk allocation condition for zoned allocator
      btrfs: add extent allocator hook to decide to allocate chunk or not
      btrfs: zoned: unset dedicated block group on allocation failure
      btrfs: zoned: drop redundant check for REQ_OP_ZONE_APPEND and btrfs_is_zoned
      btrfs: zoned: sink zone check into btrfs_repair_one_zone
      btrfs: zoned: simplify btrfs_check_meta_write_pointer
      btrfs: zoned: encapsulate inode locking for zoned relocation
      btrfs: sysfs: add devinfo/fsid to retrieve actual fsid from the device
      ...
    torvalds committed Jan 11, 2022
  11. Merge tag 'erofs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/xiang/erofs
    
    Pull erofs updates from Gao Xiang:
     "In this cycle, tail-packing data inline for compressed files is now
      supported so that tail pcluster can be stored and read together with
      inode metadata in order to save data I/O and storage space.
    
      In addition to that, to prepare for the upcoming subpage, folio and
      fscache features, we also introduce meta buffers to get rid of
      erofs_get_meta_page() since it was too close to the page itself.
    
      In addition, in order to show supported kernel features and control
      sync decompression strategy, new sysfs nodes are introduced in this
      cycle as well.
    
      Summary:
    
       - add sysfs interface and a sysfs node to control sync decompression
    
       - add tail-packing inline support for compressed files
    
       - get rid of erofs_get_meta_page()"
    
    * tag 'erofs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
      erofs: use meta buffers for zmap operations
      erofs: use meta buffers for xattr operations
      erofs: use meta buffers for super operations
      erofs: use meta buffers for inode operations
      erofs: introduce meta buffer operations
      erofs: add on-disk compressed tail-packing inline support
      erofs: support inline data decompression
      erofs: support unaligned data decompression
      erofs: introduce z_erofs_fixup_insize
      erofs: tidy up z_erofs_lz4_decompress
      erofs: clean up erofs_map_blocks tracepoints
      erofs: Replace zero-length array with flexible-array member
      erofs: add sysfs node to control sync decompression strategy
      erofs: add sysfs interface
      erofs: rename lz4_0pading to zero_padding
    torvalds committed Jan 11, 2022
  12. drivers/pcmcia: Fix ifdef covering yenta_pm_ops

    Currently, yenta_dev_suspend_noirq(), yenta_dev_resume_noirq(), and
    yenta_pm_ops are covered by "#ifdef CONFIG_PM", which results in
    compiler warnings in kernels built with CONFIG_PM_SLEEP=n and
    CONFIG_PM=y:
    
      drivers/pcmcia/yenta_socket.c:1322:12: warning: ‘yenta_dev_resume_noirq’ defined but not used [-Wunused-function]
       1322 | static int yenta_dev_resume_noirq(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~
      drivers/pcmcia/yenta_socket.c:1303:12: warning: ‘yenta_dev_suspend_noirq’ defined but not used [-Wunused-function]
       1303 | static int yenta_dev_suspend_noirq(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~
    
    This affects kernels built without suspend and hibernation.
    
    Avoid these warnings by using "#ifdef CONFIG_PM_SLEEP".
    
    Fixes: 3daaf2c ("pcmcia: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()")
    Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
    Cc: Masahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    paulmckrcu authored and torvalds committed Jan 11, 2022
  13. Merge tag 'fs.idmapped.v5.17' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/brauner/linux
    
    Pull fs idmapping updates from Christian Brauner:
     "This contains the work to enable the idmapping infrastructure to
      support idmapped mounts of filesystems mounted with an idmapping.
    
      In addition this contains various cleanups that avoid repeated
      open-coding of the same functionality and simplify the code in quite a
      few places.
    
      We also finish the renaming of the mapping helpers we started a few
      kernel releases back and move them to a dedicated header to not
      continue polluting the fs header needlessly with low-level idmapping
      helpers. With this series the fs header only contains idmapping
      helpers that interact with fs objects.
    
      Currently we only support idmapped mounts for filesystems mounted
      without an idmapping themselves. This was a conscious decision
      mentioned in multiple places (cf. [1]).
    
      As explained at length in [3] it is perfectly fine to extend support
      for idmapped mounts to filesystem's mounted with an idmapping should
      the need arise. The need has been there for some time now (cf. [2]).
    
      Before we can port any filesystem that is mountable with an idmapping
      to support idmapped mounts in the coming cycles, we need to first
      extend the mapping helpers to account for the filesystem's idmapping.
      This again, is explained at length in our documentation at [3] and
      also in the individual commit messages so here's an overview.
    
      Currently, the low-level mapping helpers implement the remapping
      algorithms described in [3] in a simplified manner as we could rely on
      the fact that all filesystems supporting idmapped mounts are mounted
      without an idmapping.
    
      In contrast, filesystems mounted with an idmapping are very likely to
      not use an identity mapping and will instead use a non-identity
      mapping. So the translation step from or into the filesystem's
      idmapping in the remapping algorithm cannot be skipped for such
      filesystems.
    
      Non-idmapped filesystems and filesystems not supporting idmapped
      mounts are unaffected by this change as the remapping algorithms can
      take the same shortcut as before. If the low-level helpers detect that
      they are dealing with an idmapped mount but the underlying filesystem
      is mounted without an idmapping we can rely on the previous shortcut
      and can continue to skip the translation step from or into the
      filesystem's idmapping. And of course, if the low-level helpers detect
      that they are not dealing with an idmapped mount they can simply
      return the relevant id unchanged; no remapping needs to be performed
      at all.
    
      These checks guarantee that only the minimal amount of work is
      performed. As before, if idmapped mounts aren't used the low-level
      helpers are idempotent and no work is performed at all"
    
    Link: 2ca4dcc ("fs/mount_setattr: tighten permission checks") [1]
    Link: containers/podman#10374 [2]
    Link: Documentations/filesystems/idmappings.rst [3]
    Link: a65e58e ("fs: document and rename fsid helpers") [4]
    
    * tag 'fs.idmapped.v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
      fs: support mapped mounts of mapped filesystems
      fs: add i_user_ns() helper
      fs: port higher-level mapping helpers
      fs: remove unused low-level mapping helpers
      fs: use low-level mapping helpers
      docs: update mapping documentation
      fs: account for filesystem mappings
      fs: tweak fsuidgid_has_mapping()
      fs: move mapping helpers
      fs: add is_idmapped_mnt() helper
    torvalds committed Jan 11, 2022
  14. Merge tag 'integrity-v5.17' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/zohar/linux-integrity
    
    Pull integrity subsystem updates from Mimi Zohar:
     "The few changes are all kexec related:
    
       - The MOK keys are loaded onto the .platform keyring in order to
         verify the kexec kernel image signature.
    
         However, the MOK keys should only be trusted when secure boot is
         enabled. Before loading the MOK keys onto the .platform keyring,
         make sure the system is booted in secure boot mode.
    
       - When carrying the IMA measurement list across kexec, limit dumping
         the measurement list to when dynamic debug or CONFIG_DEBUG is
         enabled.
    
       - kselftest: add kexec_file_load selftest support for PowerNV and
         other cleanup"
    
    * tag 'integrity-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
      selftests/kexec: Enable secureboot tests for PowerPC
      ima: silence measurement list hexdump during kexec
      selftests/kexec: update searching for the Kconfig
      selftest/kexec: fix "ignored null byte in input" warning
      integrity: Do not load MOK and MOKx when secure boot be disabled
      ima: Fix undefined arch_ima_get_secureboot() and co
    torvalds committed Jan 11, 2022
  15. Merge tag 'audit-pr-20220110' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/pcmoore/audit
    
    Pull audit updates from Paul Moore:
     "Four audit patches for v5.17:
    
       - Harden the code through additional use of the struct_size() macro
         and zero-length arrays to flexible-array conversions.
    
       - Ensure that processes which generate userspace audit records are
         not exempt from the kernel's audit throttling when the audit queues
         are being overrun"
    
    * tag 'audit-pr-20220110' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
      audit: replace zero-length array with flexible-array member
      audit: use struct_size() helper in audit_[send|make]_reply()
      audit: ensure userspace is penalized the same as the kernel when under pressure
      audit: use struct_size() helper in kmalloc()
    torvalds committed Jan 11, 2022
  16. Merge tag 'selinux-pr-20220110' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/pcmoore/selinux
    
    Pull selinux updates from Paul Moore:
     "Nothing too significant, but five SELinux patches for v5.17 that do
      the following:
    
       - Harden the code through additional use of the struct_size() macro
    
       - Plug some memory leaks
    
       - Clean up the code via removal of the security_add_mnt_opt() LSM
         hook and minor tweaks to selinux_add_opt()
    
       - Rename security_task_getsecid_subj() to better reflect its actual
         behavior/use - now called security_current_getsecid_subj()"
    
    * tag 'selinux-pr-20220110' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
      selinux: minor tweaks to selinux_add_opt()
      selinux: fix potential memleak in selinux_add_opt()
      security,selinux: remove security_add_mnt_opt()
      selinux: Use struct_size() helper in kmalloc()
      lsm: security_task_getsecid_subj() -> security_current_getsecid_subj()
    torvalds committed Jan 11, 2022
  17. Merge tag 'tpmdd-next-v5.17-fixed' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/jarkko/linux-tpmdd
    
    Pull TPM updates from Jarkko Sakkinen:
     "Other than bug fixes for TPM, this includes a patch for asymmetric
      keys to allow to look up and verify with self-signed certificates
      (keys without so called AKID - Authority Key Identifier) using a new
      "dn:" prefix in the query"
    
    * tag 'tpmdd-next-v5.17-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
      lib: remove redundant assignment to variable ret
      tpm: fix NPE on probe for missing device
      tpm: fix potential NULL pointer access in tpm_del_char_device
      tpm: Add Upgrade/Reduced mode support for TPM2 modules
      char: tpm: cr50: Set TPM_FIRMWARE_POWER_MANAGED based on device property
      keys: X.509 public key issuer lookup without AKID
      tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
      tpm: tpm_tis_spi_cr50: Add default RNG quality
      tpm/st33zp24: drop unneeded over-commenting
      tpm: add request_locality before write TPM_INT_ENABLE
    torvalds committed Jan 11, 2022
  18. Merge branch 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/brodo/linux
    
    Pull pcmcia updates from Dominik Brodowski:
     "A number of odd cleanups and fixes, including one for a small race in
      the handling of the pccardd kernel thread"
    
    * 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
      pcmcia: fix setting of kthread task states
      MAINTAINERS: update PCMCIA tree
      pcmcia: use sysfs_emit{,_at} for sysfs output
      pcmcia: make pcmcia_release_io() void, as no-one is interested in return value
      pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
      pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
      pcmcia: comment out unused exca_readw() function
      pcmcia: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()
      pcmcia: clean up dead drivers for CompuLab CM-X255/CM-X270 boards
    torvalds committed Jan 11, 2022
  19. Merge tag 'gpio-updates-for-v5.17' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/brgl/linux
    
    Pull gpio updates from Bartosz Golaszewski:
     "The gpio-sim module is back, this time without any changes to
      configfs. This results in a less elegant user-space interface but I
      never got any follow-up on the committable items and didn't want to
      delay this module for several more months.
    
      Other than that we have support for several new models and some
      support going away. We started working on converting GPIO drivers to
      using fwnode exclusively in order to limit references to OF symbols to
      gpiolib-of.c exclusively. We also have regular tweaks and improvements
      all over the place.
    
      Summary:
    
       - new testing module: gpio-sim that is scheduled to replace
         gpio-mockup
    
       - initial changes aiming at converting all GPIO drivers to using the
         fwnode interface and limiting any references to OF symbols to
         gpiolib-of.c
    
       - add support for Tegra234 and Tegra241 to gpio-tegra186
    
       - add support for new models (SSD201 and SSD202D) to gpio-msc313
    
       - add basic support for interrupts to gpio-aggregator
    
       - add support for AMDIF031 HID device to gpio-amdpt
    
       - drop support for unused platforms in gpio-xlp
    
       - cleanup leftovers from the removal of the legacy Samsung Exynos
         GPIO driver
    
       - use raw spinlocks in gpio-aspeed and gpio-aspeed-sgpio to make
         PREEMPT_RT happy
    
       - generalize the common 'ngpios' device property by reading it in the
         core gpiolib code so that we can remove duplicate reads from
         drivers
    
       - allow line names from device properties to override names set by
         drivers
    
       - code shrink in gpiod_add_lookup_table()
    
       - add new model to the DT bindings for gpio-vf610
    
       - convert DT bindings for tegra devices to YAML
    
       - improvements to interrupt handling in gpio-rcar and gpio-rockchip
    
       - updates to intel drivers from Andy (details in the merge commit)
    
       - some minor tweaks, improvements and coding-style fixes all around
         the subsystem"
    
    * tag 'gpio-updates-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (59 commits)
      gpio: rcar: Propagate errors from devm_request_irq()
      gpio: rcar: Use platform_get_irq() to get the interrupt
      gpio: ts5500: Use platform_get_irq() to get the interrupt
      gpio: dwapb: Switch to use fwnode instead of of_node
      gpiolib: acpi: make fwnode take precedence in struct gpio_chip
      dt-bindings: gpio: samsung: drop unused bindings
      gpio: max3191x: Use bitmap_free() to free bitmap
      gpio: regmap: Switch to use fwnode instead of of_node
      gpio: tegra186: Add support for Tegra241
      dt-bindings: gpio: Add Tegra241 support
      gpio: brcmstb: Use local variable to access OF node
      gpio: Remove unused local OF node pointers
      gpio: sim: add missing fwnode_handle_put() in gpio_sim_probe()
      gpio: msc313: Add support for SSD201 and SSD202D
      gpio: msc313: Code clean ups
      dt-bindings: gpio: msc313: Add offsets for ssd20xd
      dt-bindings: gpio: msc313: Add compatible for ssd20xd
      gpio: sim: fix uninitialized ret variable
      gpio: Propagate firmware node from a parent device
      gpio: Setup parent device and get rid of unnecessary of_node assignment
      ...
    torvalds committed Jan 11, 2022
  20. Merge tag 'mmc-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/ulfh/mmc
    
    Pull MMC updates from Ulf Hansson:
     "MMC core:
       - Use common polling loop for CMD1
       - Add support for DT compatibles for card quirks and use it for ti,wl1251
       - Fixup storing of the OCR mask for MMC_QUIRK_NONSTD_SDIO
    
      MMC host:
       - dw_mmc: Add support for MMC_GEN_CMDs
       - dw_mmc: Fixup calculation of the data timeout
       - dw_mmc-exynos: Add support for the ARTPEC-8 variant
       - jz4740: Add support for bi-directional DMA channels
       - mmci: Add support for eMMC HS200 mode for the stm32 sdmmc variant
       - mmci: Add support for stm32 sdmmc variant revision v2.2
       - mtk-sd: A couple of various minor improvements
       - omap_hsmmc: Drop redundant initialization for the ti,wl1251 chip
       - sdhci-esdhc-imx: Add support for the i.MXRT series variant
       - sdhci-esdhc-imx: Add Haibo Chen as maintainer
       - sdhci-pci: Add support for the Intel ADL variant
       - sdhci-pci-gli: GL975[50]: Add support for the Apple ARM64 variant
       - sdhci-pci-o2micro: Improve support for SDR104/HS200"
    
    * tag 'mmc-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (54 commits)
      dt-bindings: mmc: synopsys-dw-mshc: integrate Altera and Imagination
      mmc: pwrseq: Use bitmap_free() to free bitmap
      dt-bindings: mmc: PL18x stop relying on order of dma-names
      dt-bindings: mmc: sdhci-msm: Add compatible string for msm8994
      mmc: au1xmmc: propagate errors from platform_get_irq()
      mmc: sdhci-pci-o2micro: Restore the SD clock's base clock frequency
      mmc: sdhci-pci-o2micro: Improve card input timing at SDR104/HS200 mode
      mmc: mtk-sd: Assign src_clk parent to src_clk_cg for legacy DTs
      mmc: mtk-sd: Fix usage of devm_clk_get_optional()
      mmc: mtk-sd: Take action for no-sdio device-tree parameter
      mmc: mtk-sd: Use BIT() and GENMASK() macros to describe fields
      mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
      MAINTAINERS: Add i.MX sdhci maintainer
      mmc: jz4740: Support using a bi-directional DMA channel
      dt-bindings: mmc: ingenic: Support using bi-directional DMA channel
      mmc: dw_mmc: Do not wait for DTO in case of error
      mmc: dw_mmc: Add driver callbacks for data read timeout
      mmc: dw_mmc-exynos: Add support for ARTPEC-8
      dt-bindings: mmc: exynos-dw-mshc: Add support for ARTPEC-8
      mmc: meson-mx-sdio: add IRQ check
      ...
    torvalds committed Jan 11, 2022
  21. Merge tag 'backlight-next-5.17' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/lee/backlight
    
    Pull backlight updates from Lee Jones:
     "New Functionality:
       - Prepare and add support for ACPI enumeration; lp855x_bl
    
      Fix-ups:
       - Use Regmap API to conduct endianess conversions; qcom-wled
       - Remove superfluous code; qcom-wled
       - Fix formatting issues; qcom-wled
    
      Bug Fixes:
       - Provide error checking/validation of DT supplied strings; qcom-wled
       - Request dynamic amount of values when reading from DT; qcom-wled
       - Fix off-by-one issue when reading from DT; qcom-wled"
    
    * tag 'backlight-next-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
      backlight: qcom-wled: Respect enabled-strings in set_brightness
      backlight: qcom-wled: Remove unnecessary double whitespace
      backlight: qcom-wled: Provide enabled_strings default for WLED 4 and 5
      backlight: qcom-wled: Remove unnecessary 4th default string in WLED3
      backlight: qcom-wled: Override default length with qcom,enabled-strings
      backlight: qcom-wled: Fix off-by-one maximum with default num_strings
      backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
      backlight: qcom-wled: Pass number of elements to read to read_u32_array
      backlight: qcom-wled: Validate enabled string indices in DT
      backlight: lp855x: Add support ACPI enumeration
      backlight: lp855x: Add dev helper variable to lp855x_probe()
      backlight: lp855x: Move device_config setting out of lp855x_configure()
    torvalds committed Jan 11, 2022
  22. Merge tag 'mfd-next-5.17' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/lee/mfd
    
    Pull MFD updates from Lee Jones:
     "New Device Support:
       - Add support for Lakefield PCH to Intel LPSS PCI
    
      Remove Device Support:
       - Remove support for ROHM BD70528 Power Management IC
    
      New Functionality:
       - Add support for SMBus and I2C mode to Dialog DA9062/61 PMIC
       - Enable I2C4 on Microsoft Surface Go & Go 2
    
      Fix-ups:
       - Device Tree changes (inc. YAML conversion); maxim,max77686,
         rohm,bd9571mwv, syscon, brcm,twd, google,cros-ec
       - Use __maybe_unused instead of #ifery; atmel-flexcom
       - Allow the Regmap API to handle endianess internally; ntxec
       - Utilise I2C's .resume_noirq call-back; atmel-flexcom
       - Remove unused code; ti_am335x_tscadc
       - Use CPU-id instead of ACPI _HRV to ID variants; intel_soc_pmic_core
       - Allow device to power-off right from .probe(); tps65910
       - Trivial (whitespace, typos, etc); da9063
    
      Bug Fixes:
       - Fix ordering issues during probe; intel-lpss-acpi
       - Fix correct clock speed; intel-lpss-pci"
    
    * tag 'mfd-next-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (25 commits)
      mfd: google,cros-ec: Fix property name for MediaTek rpmsg
      dt-bindings: mfd: Fix typo "DA9093" -> "DA9063"
      mfd: ntxec: Change return type of ntxec_reg8 from __be16 to u16
      mfd: tps65910: Set PWR_OFF bit during driver probe
      mfd: intel_soc_pmic: Use CPU-id check instead of _HRV check to differentiate variants
      mfd: intel-lpss: Fix I2C4 not being available on the Microsoft Surface Go & Go 2
      dt-bindings: mfd: Add Broadcom's Timer-Watchdog block
      dt-bindings: mfd: Add Freecom system controller
      mfd: Kconfig: Change INTEL_SOC_PMIC_CHTDC_TI to bool
      dt-bindings: mfd: syscon: Add samsung,exynos850-sysreg
      mfd: da9062: Support SMBus and I2C mode
      mfd: intel-lpss-pci: Fix clock speed for 38a8 UART
      mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
      mfd: ti_am335x_tscadc: Drop the CNTRLREG_TSC_8WIRE macro
      mfd: stmpe: Support disabling sub-functions
      mfd: atmel-flexcom: Use .resume_noirq
      mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
      dt-bindings: mfd: bd9571mwv: Convert to json-schema
      mfd: intel-lpss: Add Intel Lakefield PCH PCI IDs
      dt-bindings: mfd: maxim,max77686: Convert to dtschema
      ...
    torvalds committed Jan 11, 2022
Older