1. 17 Jan, 2024 7 commits
    • Linus Torvalds's avatar
      Merge tag 'mips_6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 096f286e
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
       "Just cleanups and fixes"
      
      * tag 'mips_6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
        MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
        MIPS: Fix typos
        MIPS: Remove unused shadow GPR support from vector irq setup
        MIPS: Allow vectored interrupt handler to reside everywhere for 64bit
        mips: Set dump-stack arch description
        mips: mm: add slab availability checking in ioremap_prot
        mips: Optimize max_mapnr init procedure
        mips: Fix max_mapnr being uninitialized on early stages
        mips: Fix incorrect max_low_pfn adjustment
        mips: dmi: Fix early remap on MIPS32
        MIPS: compressed: Use correct instruction for 64 bit code
        MIPS: SGI-IP27: hubio: fix nasid kernel-doc warning
        MAINTAINERS: Add myself as maintainer of the Ralink architecture
      096f286e
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.8-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 4331f070
      Linus Torvalds authored
      Pull RISC-V updates from Palmer Dabbelt:
      
       - Support for many new extensions in hwprobe, along with a handful of
         cleanups
      
       - Various cleanups to our page table handling code, so we alwayse use
         {READ,WRITE}_ONCE
      
       - Support for the which-cpus flavor of hwprobe
      
       - Support for XIP kernels has been resurrected
      
      * tag 'riscv-for-linus-6.8-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (52 commits)
        riscv: hwprobe: export Zicond extension
        riscv: hwprobe: export Zacas ISA extension
        riscv: add ISA extension parsing for Zacas
        dt-bindings: riscv: add Zacas ISA extension description
        riscv: hwprobe: export Ztso ISA extension
        riscv: add ISA extension parsing for Ztso
        use linux/export.h rather than asm-generic/export.h
        riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
        riscv; fix __user annotation in save_v_state()
        riscv: fix __user annotation in traps_misaligned.c
        riscv: Select ARCH_WANTS_NO_INSTR
        riscv: Remove obsolete rv32_defconfig file
        riscv: Allow disabling of BUILTIN_DTB for XIP
        riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro
        riscv: Make XIP bootable again
        riscv: Fix set_direct_map_default_noflush() to reset _PAGE_EXEC
        riscv: Fix module_alloc() that did not reset the linear mapping permissions
        riscv: Fix wrong usage of lm_alias() when splitting a huge linear mapping
        riscv: Check if the code to patch lies in the exit section
        riscv: Use the same CPU operations for all CPUs
        ...
      4331f070
    • Linus Torvalds's avatar
      Merge tag 'uml-for-linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux · 6cff79f4
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Clang coverage support
      
       - Many cleanups from Benjamin Berg
      
       - Various minor fixes
      
      * tag 'uml-for-linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
        um: Mark 32bit syscall helpers as clobbering memory
        um: Remove unused register save/restore functions
        um: Rely on PTRACE_SETREGSET to set FS/GS base registers
        Documentation: kunit: Add clang UML coverage example
        arch: um: Add Clang coverage support
        um: time-travel: fix time corruption
        um: net: Fix return type of uml_net_start_xmit()
        um: Always inline stub functions
        um: Do not use printk in userspace trampoline
        um: Reap winch thread if it fails
        um: Do not use printk in SIGWINCH helper thread
        um: Don't use vfprintf() for os_info()
        um: Make errors to stop ptraced child fatal during startup
        um: Drop NULL check from start_userspace
        um: Drop support for hosts without SYSEMU_SINGLESTEP support
        um: document arch_futex_atomic_op_inuser
        um: mmu: remove stub_pages
        um: Fix naming clash between UML and scheduler
        um: virt-pci: fix platform map offset
      6cff79f4
    • Linus Torvalds's avatar
      Merge tag 'ubifs-for-linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · 0c6bc372
      Linus Torvalds authored
      Pull UBI and UBIFS updates from Richard Weinberger:
       "UBI:
         - Use in-tree fault injection framework and add new injection types
         - Fix for a memory leak in the block driver
      
        UBIFS:
         - kernel-doc fixes
         - Various minor fixes"
      
      * tag 'ubifs-for-linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubi: block: fix memleak in ubiblock_create()
        ubifs: fix kernel-doc warnings
        mtd: Add several functions to the fail_function list
        ubi: Reserve sufficient buffer length for the input mask
        ubi: Add six fault injection type for testing
        ubi: Split io_failures into write_failure and erase_failure
        ubi: Use the fault injection framework to enhance the fault injection capability
        ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
        ubifs: Check @c->dirty_[n|p]n_cnt and @c->nroot state under @c->lp_mutex
        ubifs: describe function parameters
        ubifs: auth.c: fix kernel-doc function prototype warning
        ubifs: use crypto_shash_tfm_digest() in ubifs_hmac_wkm()
      0c6bc372
    • Linus Torvalds's avatar
      Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux · eebe7582
      Linus Torvalds authored
      Pull fscrypt fix from Eric Biggers:
       "Fix a bug in my change to how f2fs frees its superblock info (which
        was part of changing the timing of fscrypt keyring destruction)"
      
      * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
        f2fs: fix double free of f2fs_sb_info
      eebe7582
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.8-rc1.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs · c2459ce0
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
       "This contains two fixes for the current merge window. The listmount
        changes that you requested and a fix for a fsnotify performance
        regression:
      
         - The proposed listmount changes are currently under my authorship. I
           wasn't sure whether you'd wanted to be author as the patch wasn't
           signed off. If you do I'm happy if you just apply your own patch.
      
           I've tested the patch with my sh4 cross-build setup. And confirmed
           that a) the build failure with sh on current upstream is
           reproducible and that b) the proposed patch fixes the build
           failure. That should only leave the task of fixing put_user on sh.
      
         - The fsnotify regression was caused by moving one of the hooks out
           of the security hook in preparation for other fsnotify work. This
           meant that CONFIG_SECURITY would have compiled out the fsnotify
           hook before but didn't do so now.
      
           That lead to up to 6% performance regression in some io_uring
           workloads that compile all fsnotify and security checks out. Fix
           this by making sure that the relevant hooks are covered by the
           already existing CONFIG_FANOTIFY_ACCESS_PERMISSIONS where the
           relevant hook belongs"
      
      * tag 'vfs-6.8-rc1.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs:
        fs: rework listmount() implementation
        fsnotify: compile out fsnotify permission hooks if !FANOTIFY_ACCESS_PERMISSIONS
      c2459ce0
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2024-01-12-16-52' of... · 7f5e47f7
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2024-01-12-16-52' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc hotfixes from Andrew Morton:
       "For once not mostly MM-related.
      
        17 hotfixes. 10 address post-6.7 issues and the other 7 are cc:stable"
      
      * tag 'mm-hotfixes-stable-2024-01-12-16-52' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        userfaultfd: avoid huge_zero_page in UFFDIO_MOVE
        MAINTAINERS: add entry for shrinker
        selftests: mm: hugepage-vmemmap fails on 64K page size systems
        mm/memory_hotplug: fix memmap_on_memory sysfs value retrieval
        mailmap: switch email for Tanzir Hasan
        mailmap: add old address mappings for Randy
        kernel/crash_core.c: make __crash_hotplug_lock static
        efi: disable mirror feature during crashkernel
        kexec: do syscore_shutdown() in kernel_kexec
        mailmap: update entry for Manivannan Sadhasivam
        fs/proc/task_mmu: move mmu notification mechanism inside mm lock
        mm: zswap: switch maintainers to recently active developers and reviewers
        scripts/decode_stacktrace.sh: optionally use LLVM utilities
        kasan: avoid resetting aux_lock
        lib/Kconfig.debug: disable CONFIG_DEBUG_INFO_BTF for Hexagon
        MAINTAINERS: update LTP maintainers
        kdump: defer the insertion of crashkernel resources
      7f5e47f7
  2. 13 Jan, 2024 6 commits
  3. 12 Jan, 2024 27 commits
    • Suren Baghdasaryan's avatar
      userfaultfd: avoid huge_zero_page in UFFDIO_MOVE · 5d4747a6
      Suren Baghdasaryan authored
      While testing UFFDIO_MOVE ioctl, syzbot triggered VM_BUG_ON_PAGE caused by
      a call to PageAnonExclusive() with a huge_zero_page as a parameter. 
      UFFDIO_MOVE does not yet handle zeropages and returns EBUSY when one is
      encountered.  Add an early huge_zero_page check in the PMD move path to
      avoid this situation.
      
      Link: https://lkml.kernel.org/r/20240112013935.1474648-1-surenb@google.com
      Fixes: adef4406 ("userfaultfd: UFFDIO_MOVE uABI")
      Reported-by: syzbot+705209281e36404998f6@syzkaller.appspotmail.com
      Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
      Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: Peter Xu <peterx@redhat.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      5d4747a6
    • Qi Zheng's avatar
      MAINTAINERS: add entry for shrinker · aa8f9191
      Qi Zheng authored
      Since the shrinker-related code has been moved to a separate shrinker.c
      file, it's time to add a MAINTAINERS entry for it.
      
      Dave, Roman, Muchun and I have all worked on shrinker (development,
      review, etc) in the past period of time, and all of us are willing to
      continue working on shrinker in the future, so I'd like to add all of us
      as maintainer/reviewer.
      
      Link: https://lkml.kernel.org/r/20240111075219.34221-1-zhengqi.arch@bytedance.comSigned-off-by: default avatarQi Zheng <zhengqi.arch@bytedance.com>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Muchun Song <muchun.song@linux.dev>
      Cc: Roman Gushchin <roman.gushchin@linux.dev>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      aa8f9191
    • Donet Tom's avatar
      selftests: mm: hugepage-vmemmap fails on 64K page size systems · 00bcfcd4
      Donet Tom authored
      The kernel sefltest mm/hugepage-vmemmap fails on architectures which has
      different page size other than 4K.  In hugepage-vmemmap page size used is
      4k so the pfn calculation will go wrong on systems which has different
      page size .The length of MAP_HUGETLB memory must be hugepage aligned but
      in hugepage-vmemmap map length is 2M so this will not get aligned if the
      system has differnet hugepage size.
      
      Added  psize() to get the page size and default_huge_page_size() to
      get the default hugepage size at run time, hugepage-vmemmap test pass
      on powerpc with 64K page size and x86 with 4K page size.
      
      Result on powerpc without patch (page size 64K)
      *# ./hugepage-vmemmap
      Returned address is 0x7effff000000 whose pfn is 0
      Head page flags (100000000) is invalid
      check_page_flags: Invalid argument
      *#
      
      Result on powerpc with patch (page size 64K)
      *# ./hugepage-vmemmap
      Returned address is 0x7effff000000 whose pfn is 600
      *#
      
      Result on x86 with patch (page size 4K)
      *# ./hugepage-vmemmap
      Returned address is 0x7fc7c2c00000 whose pfn is 1dac00
      *#
      
      Link: https://lkml.kernel.org/r/3b3a3ae37ba21218481c482a872bbf7526031600.1704865754.git.donettom@linux.vnet.ibm.com
      Fixes: b147c89c ("selftests: vm: add a hugetlb test case")
      Signed-off-by: default avatarDonet Tom <donettom@linux.vnet.ibm.com>
      Reported-by: default avatarGeetika Moolchandani <geetika@linux.ibm.com>
      Tested-by: default avatarGeetika Moolchandani <geetika@linux.ibm.com>
      Acked-by: default avatarMuchun Song <muchun.song@linux.dev>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      00bcfcd4
    • Sumanth Korikkar's avatar
      mm/memory_hotplug: fix memmap_on_memory sysfs value retrieval · 11684134
      Sumanth Korikkar authored
      set_memmap_mode() stores the kernel parameter memmap mode as an integer. 
      However, the get_memmap_mode() function utilizes param_get_bool() to fetch
      the value as a boolean, leading to potential endianness issue.  On
      Big-endian architectures, the memmap_on_memory is consistently displayed
      as 'N' regardless of its actual status.
      
      To address this endianness problem, the solution involves obtaining the
      mode as an integer.  This adjustment ensures the proper display of the
      memmap_on_memory parameter, presenting it as one of the following options:
      Force, Y, or N.
      
      Link: https://lkml.kernel.org/r/20240110140127.241451-1-sumanthk@linux.ibm.com
      Fixes: 2d1f649c ("mm/memory_hotplug: support memmap_on_memory when memmap is not aligned to pageblocks")
      Signed-off-by: default avatarSumanth Korikkar <sumanthk@linux.ibm.com>
      Suggested-by: default avatarGerald Schaefer <gerald.schaefer@linux.ibm.com>
      Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
      Cc: Alexander Gordeev <agordeev@linux.ibm.com>
      Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Cc: Heiko Carstens <hca@linux.ibm.com>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Oscar Salvador <osalvador@suse.de>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: <stable@vger.kernel.org>	[6.6+]
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      11684134
    • Tanzir Hasan's avatar
      mailmap: switch email for Tanzir Hasan · 55f958c5
      Tanzir Hasan authored
      Access to the tanzirh@google.com email will be revoked upon the end of the
      internship.
      
      Link: https://lkml.kernel.org/r/20240105-newemail-v3-1-3dc8ae035b54@google.comSigned-off-by: default avatarTanzir Hasan <tanzirh@google.com>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: default avatarJustin Stitt <justinstitt@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      55f958c5
    • Randy Dunlap's avatar
      mailmap: add old address mappings for Randy · 0b8f128d
      Randy Dunlap authored
      Add my old email addresses so that git send-email will map them
      to my current email address.
      
      Link: https://lkml.kernel.org/r/20240106063051.13623-1-rdunlap@infradead.orgSigned-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      0b8f128d
    • Andrew Morton's avatar
      kernel/crash_core.c: make __crash_hotplug_lock static · 4e87ff59
      Andrew Morton authored
      sparse warnings:
      kernel/crash_core.c:749:1: sparse: sparse: symbol '__crash_hotplug_lock' was not declared. Should it be static?
      
      Fixes: e2a8f20d ("Crash: add lock to serialize crash hotplug handling")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202401080654.IjjU5oK7-lkp@intel.com/
      Cc: Baoquan He <bhe@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      4e87ff59
    • Ma Wupeng's avatar
      efi: disable mirror feature during crashkernel · 7ea6ec4c
      Ma Wupeng authored
      If the system has no mirrored memory or uses crashkernel.high while
      kernelcore=mirror is enabled on the command line then during crashkernel,
      there will be limited mirrored memory and this usually leads to OOM.
      
      To solve this problem, disable the mirror feature during crashkernel.
      
      Link: https://lkml.kernel.org/r/20240109041536.3903042-1-mawupeng1@huawei.comSigned-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
      Acked-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      7ea6ec4c
    • James Gowans's avatar
      kexec: do syscore_shutdown() in kernel_kexec · 7bb94380
      James Gowans authored
      syscore_shutdown() runs driver and module callbacks to get the system into
      a state where it can be correctly shut down.  In commit 6f389a8f ("PM
      / reboot: call syscore_shutdown() after disable_nonboot_cpus()")
      syscore_shutdown() was removed from kernel_restart_prepare() and hence got
      (incorrectly?) removed from the kexec flow.  This was innocuous until
      commit 6735150b ("KVM: Use syscore_ops instead of reboot_notifier to
      hook restart/shutdown") changed the way that KVM registered its shutdown
      callbacks, switching from reboot notifiers to syscore_ops.shutdown.  As
      syscore_shutdown() is missing from kexec, KVM's shutdown hook is not run
      and virtualisation is left enabled on the boot CPU which results in triple
      faults when switching to the new kernel on Intel x86 VT-x with VMXE
      enabled.
      
      Fix this by adding syscore_shutdown() to the kexec sequence.  In terms of
      where to add it, it is being added after migrating the kexec task to the
      boot CPU, but before APs are shut down.  It is not totally clear if this
      is the best place: in commit 6f389a8f ("PM / reboot: call
      syscore_shutdown() after disable_nonboot_cpus()") it is stated that
      "syscore_ops operations should be carried with one CPU on-line and
      interrupts disabled." APs are only offlined later in machine_shutdown(),
      so this syscore_shutdown() is being run while APs are still online.  This
      seems to be the correct place as it matches where syscore_shutdown() is
      run in the reboot and halt flows - they also run it before APs are shut
      down.  The assumption is that the commit message in commit 6f389a8f
      ("PM / reboot: call syscore_shutdown() after disable_nonboot_cpus()") is
      no longer valid.
      
      KVM has been discussed here as it is what broke loudly by not having
      syscore_shutdown() in kexec, but this change impacts more than just KVM;
      all drivers/modules which register a syscore_ops.shutdown callback will
      now be invoked in the kexec flow.  Looking at some of them like x86 MCE it
      is probably more correct to also shut these down during kexec. 
      Maintainers of all drivers which use syscore_ops.shutdown are added on CC
      for visibility.  They are:
      
      arch/powerpc/platforms/cell/spu_base.c  .shutdown = spu_shutdown,
      arch/x86/kernel/cpu/mce/core.c	        .shutdown = mce_syscore_shutdown,
      arch/x86/kernel/i8259.c                 .shutdown = i8259A_shutdown,
      drivers/irqchip/irq-i8259.c	        .shutdown = i8259A_shutdown,
      drivers/irqchip/irq-sun6i-r.c	        .shutdown = sun6i_r_intc_shutdown,
      drivers/leds/trigger/ledtrig-cpu.c	.shutdown = ledtrig_cpu_syscore_shutdown,
      drivers/power/reset/sc27xx-poweroff.c	.shutdown = sc27xx_poweroff_shutdown,
      kernel/irq/generic-chip.c	        .shutdown = irq_gc_shutdown,
      virt/kvm/kvm_main.c	                .shutdown = kvm_shutdown,
      
      This has been tested by doing a kexec on x86_64 and aarch64.
      
      Link: https://lkml.kernel.org/r/20231213064004.2419447-1-jgowans@amazon.com
      Fixes: 6735150b ("KVM: Use syscore_ops instead of reboot_notifier to hook restart/shutdown")
      Signed-off-by: default avatarJames Gowans <jgowans@amazon.com>
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Eric Biederman <ebiederm@xmission.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Sean Christopherson <seanjc@google.com>
      Cc: Marc Zyngier <maz@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
      Cc: Samuel Holland <samuel@sholland.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Orson Zhai <orsonzhai@gmail.com>
      Cc: Alexander Graf <graf@amazon.de>
      Cc: Jan H. Schoenherr <jschoenh@amazon.de>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      7bb94380
    • Manivannan Sadhasivam's avatar
      mailmap: update entry for Manivannan Sadhasivam · 327b4603
      Manivannan Sadhasivam authored
      Remove the map for Linaro id as it is still in use and I want to use it
      for submitting patches.  Otherwise, git uses kernel.org as the author id
      for patches created using Linaro id.
      
      Link: https://lkml.kernel.org/r/20240109-update-mailmap-v1-1-bf7a39f15fb7@linaro.orgSigned-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      327b4603
    • Muhammad Usama Anjum's avatar
      fs/proc/task_mmu: move mmu notification mechanism inside mm lock · 4cccb622
      Muhammad Usama Anjum authored
      Move mmu notification mechanism inside mm lock to prevent race condition
      in other components which depend on it.  The notifier will invalidate
      memory range.  Depending upon the number of iterations, different memory
      ranges would be invalidated.
      
      The following warning would be removed by this patch:
      WARNING: CPU: 0 PID: 5067 at arch/x86/kvm/../../../virt/kvm/kvm_main.c:734 kvm_mmu_notifier_change_pte+0x860/0x960 arch/x86/kvm/../../../virt/kvm/kvm_main.c:734
      
      There is no behavioural and performance change with this patch when
      there is no component registered with the mmu notifier.
      
      [akpm@linux-foundation.org: narrow the scope of `range', per Sean]
      Link: https://lkml.kernel.org/r/20240109112445.590736-1-usama.anjum@collabora.com
      Fixes: 52526ca7 ("fs/proc/task_mmu: implement IOCTL to get and optionally clear info about PTEs")
      Signed-off-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
      Reported-by: syzbot+81227d2bd69e9dedb802@syzkaller.appspotmail.com
      Link: https://lore.kernel.org/all/000000000000f6d051060c6785bc@google.com/Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
      Cc: Andrei Vagin <avagin@google.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: David Hildenbrand <david@redhat.com>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
      Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
      Cc: Michał Mirosław <mirq-linux@rere.qmqm.pl>
      Cc: Peter Xu <peterx@redhat.com>
      Cc: Ryan Roberts <ryan.roberts@arm.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Suren Baghdasaryan <surenb@google.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      4cccb622
    • Johannes Weiner's avatar
      mm: zswap: switch maintainers to recently active developers and reviewers · ea52f715
      Johannes Weiner authored
      Yosry, Nhat and I have been doing most of the recent development and
      reviewing of changes in this space.  
      Signed-off-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
      Acked-by: default avatarNhat Pham <nphamcs@gmail.com>
      Acked-by: default avatarYosry Ahmed <yosryahmed@google.com>
      Acked-by: default avatarDan Streetman <ddstreet@ieee.org>
      Acked-by: default avatarSeth Jennings <sjenning@redhat.com>
      Cc: Vitaly Wool <vitaly.wool@konsulko.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      ea52f715
    • Carlos Llamas's avatar
      scripts/decode_stacktrace.sh: optionally use LLVM utilities · efbd6398
      Carlos Llamas authored
      GNU's addr2line can have problems parsing a vmlinux built with LLVM,
      particularly when LTO was used.  In order to decode the traces correctly
      this patch adds the ability to switch to LLVM's utilities readelf and
      addr2line.  The same approach is followed by Will in [1].
      
      Before:
        $ scripts/decode_stacktrace.sh vmlinux < kernel.log
        [17716.240635] Call trace:
        [17716.240646] skb_cow_data (??:?)
        [17716.240654] esp6_input (ld-temp.o:?)
        [17716.240666] xfrm_input (ld-temp.o:?)
        [17716.240674] xfrm6_rcv (??:?)
        [...]
      
      After:
        $ LLVM=1 scripts/decode_stacktrace.sh vmlinux < kernel.log
        [17716.240635] Call trace:
        [17716.240646] skb_cow_data (include/linux/skbuff.h:2172 net/core/skbuff.c:4503)
        [17716.240654] esp6_input (net/ipv6/esp6.c:977)
        [17716.240666] xfrm_input (net/xfrm/xfrm_input.c:659)
        [17716.240674] xfrm6_rcv (net/ipv6/xfrm6_input.c:172)
        [...]
      
      Note that one could set CROSS_COMPILE=llvm- instead to hack around this
      issue.  However, doing so can break the decodecode routine as it will
      force the selection of other LLVM utilities down the line e.g.  llvm-as.
      
      [1] https://lore.kernel.org/all/20230914131225.13415-3-will@kernel.org/
      
      Link: https://lkml.kernel.org/r/20230929034836.403735-1-cmllamas@google.comSigned-off-by: default avatarCarlos Llamas <cmllamas@google.com>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: default avatarElliot Berman <quic_eberman@quicinc.com>
      Tested-by: default avatarJustin Stitt <justinstitt@google.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: John Stultz <jstultz@google.com>
      Cc: Masahiro Yamada <masahiroy@kernel.org>
      Cc: Nathan Chancellor <nathan@kernel.org>
      Cc: Tom Rix <trix@redhat.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      efbd6398
    • Andrey Konovalov's avatar
      kasan: avoid resetting aux_lock · cc478e0b
      Andrey Konovalov authored
      With commit 63b85ac5 ("kasan: stop leaking stack trace handles"),
      KASAN zeroes out alloc meta when an object is freed.  The zeroed out data
      purposefully includes alloc and auxiliary stack traces but also
      accidentally includes aux_lock.
      
      As aux_lock is only initialized for each object slot during slab creation,
      when the freed slot is reallocated, saving auxiliary stack traces for the
      new object leads to lockdep reports when taking the zeroed out aux_lock.
      
      Arguably, we could reinitialize aux_lock when the object is reallocated,
      but a simpler solution is to avoid zeroing out aux_lock when an object
      gets freed.
      
      Link: https://lkml.kernel.org/r/20240109221234.90929-1-andrey.konovalov@linux.dev
      Fixes: 63b85ac5 ("kasan: stop leaking stack trace handles")
      Signed-off-by: default avatarAndrey Konovalov <andreyknvl@gmail.com>
      Reported-by: default avatarPaul E. McKenney <paulmck@kernel.org>
      Closes: https://lore.kernel.org/linux-next/5cc0f83c-e1d6-45c5-be89-9b86746fe731@paulmck-laptop/Reviewed-by: default avatarMarco Elver <elver@google.com>
      Tested-by: default avatarPaul E. McKenney <paulmck@kernel.org>
      Cc: Alexander Potapenko <glider@google.com>
      Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      cc478e0b
    • Nathan Chancellor's avatar
      lib/Kconfig.debug: disable CONFIG_DEBUG_INFO_BTF for Hexagon · aaa2c9a9
      Nathan Chancellor authored
      pahole, which generates BTF, relies on elfutils to process DWARF debug
      info.  Because kernel modules are relocatable files, elfutils needs to
      resolve relocations when processing the DWARF .debug sections.
      
      Hexagon is not supported in binutils or elfutils, so elfutils is unable to
      process relocations in kernel modules, causing pahole to crash during BTF
      generation.
      
      Do not allow CONFIG_DEBUG_INFO_BTF to be selected for Hexagon until it is
      supported in elfutils, so that there are no more cryptic build failures
      during BTF generation.
      
      Link: https://lkml.kernel.org/r/20240105-hexagon-disable-btf-v1-1-ddab073e7f74@kernel.orgSigned-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202312192107.wMIKiZWw-lkp@intel.com/Suggested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Acked-by: default avatarBrian Cain <bcain@quicinc.com>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      aaa2c9a9
    • Petr Vorel's avatar
      MAINTAINERS: update LTP maintainers · 65cc8680
      Petr Vorel authored
      There are more people with git push permissions, but we keep only people
      who actually did review and merge patches last year.
      
      Link: https://lkml.kernel.org/r/20240104154953.1193634-1-pvorel@suse.czSigned-off-by: default avatarPetr Vorel <pvorel@suse.cz>
      Reviewed-by: default avatarLi Wang <liwang@redhat.com>
      Cc: Alexey Kodanev <aleksei.kodanev@bell-sw.com>
      Cc: Jan Stancek <jstancek@redhat.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Wanlong Gao <wanlong.gao@gmail.com>
      Cc: Yang Xu <xuyang2018.jy@fujitsu.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      65cc8680
    • Huacai Chen's avatar
      kdump: defer the insertion of crashkernel resources · 4a693ce6
      Huacai Chen authored
      In /proc/iomem, sub-regions should be inserted after their parent,
      otherwise the insertion of parent resource fails.  But after generic
      crashkernel reservation applied, in both RISC-V and ARM64 (LoongArch will
      also use generic reservation later on), crashkernel resources are inserted
      before their parent, which causes the parent disappear in /proc/iomem.  So
      we defer the insertion of crashkernel resources to an early_initcall().
      
      1, Without 'crashkernel' parameter:
      
       100d0100-100d01ff : LOON0001:00
         100d0100-100d01ff : LOON0001:00 LOON0001:00
       100e0000-100e0bff : LOON0002:00
         100e0000-100e0bff : LOON0002:00 LOON0002:00
       1fe001e0-1fe001e7 : serial
       90400000-fa17ffff : System RAM
         f6220000-f622ffff : Reserved
         f9ee0000-f9ee3fff : Reserved
         fa120000-fa17ffff : Reserved
       fa190000-fe0bffff : System RAM
         fa190000-fa1bffff : Reserved
       fe4e0000-47fffffff : System RAM
         43c000000-441ffffff : Reserved
         47ff98000-47ffa3fff : Reserved
         47ffa4000-47ffa7fff : Reserved
         47ffa8000-47ffabfff : Reserved
         47ffac000-47ffaffff : Reserved
         47ffb0000-47ffb3fff : Reserved
      
      2, With 'crashkernel' parameter, before this patch:
      
       100d0100-100d01ff : LOON0001:00
         100d0100-100d01ff : LOON0001:00 LOON0001:00
       100e0000-100e0bff : LOON0002:00
         100e0000-100e0bff : LOON0002:00 LOON0002:00
       1fe001e0-1fe001e7 : serial
       e6200000-f61fffff : Crash kernel
       fa190000-fe0bffff : System RAM
         fa190000-fa1bffff : Reserved
       fe4e0000-47fffffff : System RAM
         43c000000-441ffffff : Reserved
         47ff98000-47ffa3fff : Reserved
         47ffa4000-47ffa7fff : Reserved
         47ffa8000-47ffabfff : Reserved
         47ffac000-47ffaffff : Reserved
         47ffb0000-47ffb3fff : Reserved
      
      3, With 'crashkernel' parameter, after this patch:
      
       100d0100-100d01ff : LOON0001:00
         100d0100-100d01ff : LOON0001:00 LOON0001:00
       100e0000-100e0bff : LOON0002:00
         100e0000-100e0bff : LOON0002:00 LOON0002:00
       1fe001e0-1fe001e7 : serial
       90400000-fa17ffff : System RAM
         e6200000-f61fffff : Crash kernel
         f6220000-f622ffff : Reserved
         f9ee0000-f9ee3fff : Reserved
         fa120000-fa17ffff : Reserved
       fa190000-fe0bffff : System RAM
         fa190000-fa1bffff : Reserved
       fe4e0000-47fffffff : System RAM
         43c000000-441ffffff : Reserved
         47ff98000-47ffa3fff : Reserved
         47ffa4000-47ffa7fff : Reserved
         47ffa8000-47ffabfff : Reserved
         47ffac000-47ffaffff : Reserved
         47ffb0000-47ffb3fff : Reserved
      
      Link: https://lkml.kernel.org/r/20231229080213.2622204-1-chenhuacai@loongson.cnSigned-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
      Fixes: 0ab97169 ("crash_core: add generic function to do reservation")
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Zhen Lei <thunder.leizhen@huawei.com>
      Cc: <stable@vger.kernel.org>	[6.6+]
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      4a693ce6
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 38814330
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Convert FPGA bridge, all TPMs (finally), and Rockchip HDMI bindings
         to schemas
      
       - Improvements in Samsung GPU schemas
      
       - A few more cases of dropping unneeded quotes in schemas
      
       - Merge QCom idle-states txt binding into common idle-states schema
      
       - Add X1E80100, SM8650, SM8650, and SDX75 SoCs to QCom Power Domain
         Controller
      
       - Add NXP i.mx8dl to SCU PD
      
       - Add synaptics r63353 panel controller
      
       - Clarify the wording around the use of 'wakeup-source' property
      
       - Add a DTS coding style doc
      
       - Add smi vendor prefix
      
       - Fix DT_SCHEMA_FILES incorrect matching of paths outside the kernel
         tree
      
       - Disable sysfb (e.g. EFI FB) when simple-framebuffer node is present
      
       - Fix double free in of_parse_phandle_with_args_map()
      
       - A couple of kerneldoc fixes
      
      * tag 'devicetree-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (37 commits)
        of: unittest: Fix of_count_phandle_with_args() expected value message
        dt-bindings: fpga: altera: Convert bridge bindings to yaml
        dt-bindings: fpga: Convert bridge binding to yaml
        dt-bindings: vendor-prefixes: Add smi
        dt-bindings: power: Clarify wording for wakeup-source property
        of: Fix double free in of_parse_phandle_with_args_map
        dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES
        drivers: of: Fixed kernel doc warning
        dt-bindings: tpm: Document Microsoft fTPM bindings
        dt-bindings: tpm: Convert IBM vTPM bindings to DT schema
        dt-bindings: tpm: Convert Google Cr50 bindings to DT schema
        dt-bindings: tpm: Consolidate TCG TIS bindings
        dt-bindings: display: rockchip,inno-hdmi: Document RK3128 compatible
        dt-bindings: arm: Add remote etm dt-binding
        dt-bindings: mmc: sdhci-pxa: Fix 'regs' typo
        media: dt-bindings: samsung,s5p-mfc: Fix iommu properties schemas
        dt-bindings: display: panel: Add synaptics r63353 panel controller
        dt-bindings: arm: merge qcom,idle-state with idle-state
        dt-bindings: drm: rockchip: convert inno_hdmi-rockchip.txt to yaml
        dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
        ...
      38814330
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.8-rc1' of... · 42bff4d0
      Linus Torvalds authored
      Merge tag 'pwm/for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "This contains a bunch of cleanups and simplifications across the
        board, as well as a number of small fixes.
      
        Perhaps the most notable change here is the addition of an API that
        allows PWMs to be used in atomic contexts, which is useful when time-
        critical operations are involved, such as using a PWM to generate IR
        signals.
      
        Finally, I have decided to step down as PWM subsystem maintainer. Due
        to other responsibilities I have lately not been able to find the time
        that the subsystem deserves and Uwe, who has been helping out a lot
        for the past few years and has many things planned for the future, has
        kindly volunteered to take over. I have no doubt that he will be a
        suitable replacement"
      
      * tag 'pwm/for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (44 commits)
        MAINTAINERS: pwm: Thierry steps down, Uwe takes over
        pwm: linux/pwm.h: fix Excess kernel-doc description warning
        pwm: Add pwm_apply_state() compatibility stub
        pwm: cros-ec: Drop documentation for dropped struct member
        pwm: Drop two unused API functions
        pwm: lpc18xx-sct: Don't modify the cached period of other PWM outputs
        pwm: meson: Simplify using dev_err_probe()
        pwm: stmpe: Silence duplicate error messages
        pwm: Reduce number of pointer dereferences in pwm_device_request()
        pwm: crc: Use consistent variable naming for driver data
        pwm: omap-dmtimer: Drop locking
        dt-bindings: pwm: ti,pwm-omap-dmtimer: Update binding for yaml
        media: pwm-ir-tx: Trigger edges from hrtimer interrupt context
        pwm: bcm2835: Allow PWM driver to be used in atomic context
        pwm: Make it possible to apply PWM changes in atomic context
        pwm: renesas: Remove unused include
        pwm: Replace ENOTSUPP with EOPNOTSUPP
        pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
        pwm: Stop referencing pwm->chip
        pwm: Update kernel doc for struct pwm_chip
        ...
      42bff4d0
    • Linus Torvalds's avatar
      Merge tag 'hid-for-linus-2024010801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · fef018d8
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - assorted functional fixes for hid-steam ported from SteamOS betas
         (Vicki Pfau)
      
       - fix for custom sensor-hub sensors (hinge angle sensor and LISS
         sensors) not working (Yauhen Kharuzhy)
      
       - functional fix for handling Confidence in Wacom driver (Jason
         Gerecke)
      
       - support for Ilitek ili2901 touchscreen (Zhengqiao Xia)
      
       - power management fix for Wacom userspace battery exporting
         (Tatsunosuke Tobita)
      
       - rework of wait-for-reset in order to reduce the need for
         I2C_HID_QUIRK_NO_IRQ_AFTER_RESET qurk; the success rate is now 50%
         better, but there are still further improvements to be made (Hans de
         Goede)
      
       - greatly improved coverage of Tablets in hid-selftests (Benjamin
         Tissoires)
      
       - support for Nintendo NSO controllers -- SNES, Genesis and N64 (Ryan
         McClelland)
      
       - support for controlling mcp2200 GPIOs (Johannes Roith)
      
       - power management improvement for EHL OOB wakeup in intel-ish
         (Kai-Heng Feng)
      
       - other assorted device-specific fixes and code cleanups
      
      * tag 'hid-for-linus-2024010801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (53 commits)
        HID: amd_sfh: Add a new interface for exporting ALS data
        HID: amd_sfh: Add a new interface for exporting HPD data
        HID: amd_sfh: rename float_to_int() to amd_sfh_float_to_int()
        HID: i2c-hid: elan: Add ili2901 timing
        dt-bindings: HID: i2c-hid: elan: Introduce Ilitek ili2901
        HID: bpf: make bus_type const in struct hid_bpf_ops
        HID: make ishtp_cl_bus_type const
        HID: make hid_bus_type const
        HID: hid-steam: Add gamepad-only mode switched to by holding options
        HID: hid-steam: Better handling of serial number length
        HID: hid-steam: Update list of identifiers from SDL
        HID: hid-steam: Make client_opened a counter
        HID: hid-steam: Clean up locking
        HID: hid-steam: Disable watchdog instead of using a heartbeat
        HID: hid-steam: Avoid overwriting smoothing parameter
        HID: magicmouse: fix kerneldoc for struct magicmouse_sc
        HID: sensor-hub: Enable hid core report processing for all devices
        HID: wacom: Add additional tests of confidence behavior
        HID: wacom: Correct behavior when processing some confidence == false touches
        HID: nintendo: add support for nso controllers
        ...
      fef018d8
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · d97a7842
      Linus Torvalds authored
      Pull fbdev updates from Helge Deller:
       "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch
        fbdev driver is for an Intel product which was never shipped, and for
        the intelfb and the amba-clcd drivers the drm drivers can be used
        instead.
      
        The other code changes are minor: some fb_deferred_io flushing fixes,
        imxfb margin fixes and stifb cleanups.
      
        Summary:
         - Remove intelfb fbdev driver (Thomas Zimmermann)
         - Remove amba-clcd fbdev driver (Linus Walleij)
         - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox)
         - fb_deferred_io flushing fixes (Nam Cao)
         - imxfb code fixes and cleanups (Dario Binacchi)
         - stifb primary screen detection cleanups (Thomas Zimmermann)"
      
      * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits)
        fbdev/intelfb: Remove driver
        fbdev/hyperv_fb: Do not clear global screen_info
        firmware/sysfb: Clear screen_info state after consuming it
        fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
        drm/hyperv: Remove firmware framebuffers with aperture helper
        fbdev/sis: Remove dependency on screen_info
        video/logo: use %u format specifier for unsigned int values
        video/sticore: Remove info field from STI struct
        arch/parisc: Detect primary video device from device instance
        fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
        video/sticore: Store ROM device in STI struct
        fbdev: flush deferred IO before closing
        fbdev: flush deferred work in fb_deferred_io_fsync()
        fbdev: amba-clcd: Delete the old CLCD driver
        fbdev: Remove support for Carillo Ranch driver
        fbdev: hgafb: fix kernel-doc comments
        fbdev: mmp: Fix typo and wording in code comment
        fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
        fbdev: imxfb: add '*/' on a separate line in block comment
        fbdev: imxfb: use __func__ for function name
        ...
      d97a7842
    • Linus Torvalds's avatar
      Merge tag 'media/v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 61da593f
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - v4l core: subdev frame interval now supports which field
      
       - v4l kapi: moves and renames the init_cfg pad op to init_state as an
         internal op.
      
       - new sensor drivers: gc0308, gc2145, Avnet Alvium, ov64a40, tw9900
      
       - new camera driver: STM32 DCMIPP
      
       - s5p-mfc has gained MFC v12 support
      
       - new ISP driver added to staging: Starfive
      
       - new stateful encoder/decoded: Wave5 codec It is found on the J721S2
         SoC, JH7100 SoC, ssd202d SoC. Etc.
      
       - fwnode gained support for MIPI "DisCo for Imaging"
         (https://www.mipi.org/specifications/mipi-disco-imaging)
      
       - as usual, lots of cleanups, fixups and driver improvements.
      
      * tag 'media/v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (309 commits)
        media: i2c: thp7312: select CONFIG_FW_LOADER
        media: i2c: mt9m114: use fsleep() in place of udelay()
        media: videobuf2: core: Rename min_buffers_needed field in vb2_queue
        media: i2c: thp7312: Store frame interval in subdev state
        media: docs: uAPI: Fix documentation of 'which' field for routing ioctls
        media: docs: uAPI: Expand error documentation for invalid 'which' value
        media: docs: uAPI: Clarify error documentation for invalid 'which' value
        media: v4l2-subdev: Store frame interval in subdev state
        media: v4l2-subdev: Add which field to struct v4l2_subdev_frame_interval
        media: v4l2-subdev: Turn .[gs]_frame_interval into pad operations
        media: v4l: subdev: Move out subdev state lock macros outside CONFIG_MEDIA_CONTROLLER
        media: s5p-mfc: DPB Count Independent of VIDIOC_REQBUF
        media: s5p-mfc: Load firmware for each run in MFCv12.
        media: s5p-mfc: Set context for valid case before calling try_run
        media: s5p-mfc: Add support for DMABUF for encoder
        media: s5p-mfc: Add support for UHD encoding.
        media: s5p-mfc: Add support for rate controls in MFCv12
        media: s5p-mfc: Add YV12 and I420 multiplanar format support
        media: s5p-mfc: Add initial support for MFCv12
        media: s5p-mfc: Rename IS_MFCV10 macro
        ...
      61da593f
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · a3cc31e7
      Linus Torvalds authored
      Pull libnvdimm updates from Ira Weiny:
       "A mix of bug fixes and updates to interfaces used by nvdimm:
      
         - Updates to interfaces include:
              Use the new scope based management
              Remove deprecated ida interfaces
              Update to sysfs_emit()
      
         - Fixup kdoc comments"
      
      * tag 'libnvdimm-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        acpi/nfit: Use sysfs_emit() for all attributes
        nvdimm/namespace: fix kernel-doc for function params
        nvdimm/dimm_devs: fix kernel-doc for function params
        nvdimm/btt: fix btt_blk_cleanup() kernel-doc
        nvdimm-btt: simplify code with the scope based resource management
        nvdimm: Remove usage of the deprecated ida_simple_xx() API
        ACPI: NFIT: Use cleanup.h helpers instead of devm_*()
      a3cc31e7
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 20077583
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Don't force a retune before eMMC RPMB switch
         - Add optional HS400 tuning in HS400es initialization
         - Add a sysfs node to for write-protect-group-size
         - Add re-tuning test to the mmc-test module
         - Use mrq.sbc to support close-ended ioctl requests
      
        MMC host:
         - mmci: Add support for SDIO in-band irqs for the stm32 variant
         - mmc_spi: Remove broken support custom DMA mapped buffers
         - mtk-sd: Improve and extend the support for tunings
         - renesas_sdhi: Document support for the RZ/Five variant
         - sdhci_am654: Drop support for the ti,otap-del-sel DT property
         - sdhci-brcmstb: Add support for the brcm 74165b0 variant
         - sdhci-msm: Add compatibles for IPQ4019 and IPQ8074
         - sdhci-of-dwcmshc: Add support for the T-Head TH1520 variant
         - sdhci-xenon: Add support for the Marvell ac5 variant"
      
      * tag 'mmc-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (27 commits)
        mmc: xenon: Add ac5 support via bounce buffer
        dt-bindings: mmc: add Marvell ac5
        mmc: sdhci-brcmstb: add new sdhci reset sequence for brcm 74165b0
        dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0
        mmc: core: Do not force a retune before RPMB switch
        mmc: core: Add HS400 tuning in HS400es initialization
        mmc: sdhci_omap: Fix TI SoC dependencies
        mmc: sdhci_am654: Fix TI SoC dependencies
        mmc: core: Add wp_grp_size sysfs node
        mmc: mmc_test: Add re-tuning test
        mmc: mmc_spi: remove custom DMA mapped buffers
        dt-bindings: mmc: sdhci-msm: document dedicated IPQ4019 and IPQ8074
        dt-bindings: mmc: synopsys-dw-mshc: add iommus for Intel SocFPGA
        mmc: mtk-sd: Extend number of tuning steps
        dt-bindings: mmc: mtk-sd: add tuning steps related property
        mmc: sdhci-omap: don't misuse kernel-doc marker
        mmc: mtk-sd: Increase the verbosity of msdc_track_cmd_data
        mmc: core: Use mrq.sbc in close-ended ffu
        mmc: sdhci_am654: Drop lookup for deprecated ti,otap-del-sel
        mmc: sdhci-of-dwcmshc: Use logical OR instead of bitwise OR in dwcmshc_probe()
        ...
      20077583
    • Linus Torvalds's avatar
      Merge tag 'pmdomain-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · 0c4b09cb
      Linus Torvalds authored
      Pull pmdomain updates from Ulf Hansson:
       "Core:
         - Move the generic PM domain and its governor to the pmdomain
           subsystem
         - Drop the unused pm_genpd_opp_to_performance_state()
      
        Providers:
         - Convert some providers to let the ->remove() callback return void
         - amlogic: Add support for G12A ISP power domain
         - arm: Move the SCPI power-domain driver to the pmdomain subsystem
         - arm: Move Kconfig options to the pmdomain subsystem
         - qcom: Update part number to X1E80100 for the rpmhpd"
      
      * tag 'pmdomain-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
        PM: domains: Move genpd and its governor to the pmdomain subsystem
        PM: domains: Drop redundant header for genpd
        PM: domains: Drop the unused pm_genpd_opp_to_performance_state()
        PM: domains: fix domain_governor kernel-doc warnings
        pmdomain: xilinx/zynqmp: Convert to platform remove callback returning void
        pmdomain: qcom-cpr: Convert to platform remove callback returning void
        pmdomain: imx93-pd: Convert to platform remove callback returning void
        pmdomain: imx93-blk-ctrl: Convert to platform remove callback returning void
        pmdomain: imx8mp-blk-ctrl: Convert to platform remove callback returning void
        pmdomain: imx8m-blk-ctrl: Convert to platform remove callback returning void
        pmdomain: imx-gpcv2: Convert to platform remove callback returning void
        pmdomain: imx-gpc: Convert to platform remove callback returning void
        pmdomain: imx-pgc: Convert to platform remove callback returning void
        pmdomain: amlogic: meson-ee-pwrc: add support for G12A ISP power domain
        dt-bindings: power: meson-g12a-power: document ISP power domain
        firmware: arm_scpi: Move power-domain driver to the pmdomain dir
        pmdomain: arm_scmi: Move Kconfig options to the pmdomain subsystem
        pmdomain: qcom: rpmhpd: Update part number to X1E80100
        dt-bindings: power: rpmpd: Update part number to X1E80100
      0c4b09cb
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · bf9ca811
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "Small cycle, with some typical driver updates:
      
         - General code tidying in siw, hfi1, idrdma, usnic, hns rtrs and
           bnxt_re
      
         - Many small siw cleanups without an overeaching theme
      
         - Debugfs stats for hns
      
         - Fix a TX queue timeout in IPoIB and missed locking of the mcast
           list
      
         - Support more features of P7 devices in bnxt_re including a new work
           submission protocol
      
         - CQ interrupts for MANA
      
         - netlink stats for erdma
      
         - EFA multipath PCI support
      
         - Fix Incorrect MR invalidation in iser"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (66 commits)
        RDMA/bnxt_re: Fix error code in bnxt_re_create_cq()
        RDMA/efa: Add EFA query MR support
        IB/iser: Prevent invalidating wrong MR
        RDMA/erdma: Add hardware statistics support
        RDMA/erdma: Introduce dma pool for hardware responses of CMDQ requests
        IB/iser: iscsi_iser.h: fix kernel-doc warning and spellos
        RDMA/mana_ib: Add CQ interrupt support for RAW QP
        RDMA/mana_ib: query device capabilities
        RDMA/mana_ib: register RDMA device with GDMA
        RDMA/bnxt_re: Fix the sparse warnings
        RDMA/bnxt_re: Fix the offset for GenP7 adapters for user applications
        RDMA/bnxt_re: Share a page to expose per CQ info with userspace
        RDMA/bnxt_re: Add UAPI to share a page with user space
        IB/ipoib: Fix mcast list locking
        RDMA/mlx5: Expose register c0 for RDMA device
        net/mlx5: E-Switch, expose eswitch manager vport
        net/mlx5: Manage ICM type of SW encap
        RDMA/mlx5: Support handling of SW encap ICM area
        net/mlx5: Introduce indirect-sw-encap ICM properties
        RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters
        ...
      bf9ca811
    • Linus Torvalds's avatar
      Merge tag 'firewire-updates-6.8' of... · 141d9c6e
      Linus Torvalds authored
      Merge tag 'firewire-updates-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire updates from Takashi Sakamoto:
       "This includes the series of changes related to device attributes, as
        well as slight code refactoring.
      
        Some old devices are recognized to have legacy layout of configuration
        ROM. They have an inconvenience that FireWire subsystem adds no
        attributes for vendor information to corresponding devices. The main
        purpose of this update is to rectify the inconvenience.
      
        We have a slight concern about regression. The update changes the
        value of modalias for the unit devices by populating its model field,
        which was previously left as zero in the case. I've assessed the
        potential impact of this change and anticipate it to have minimal
        concern for both the kernel and user lands. The change is enough
        acceptable"
      
      * tag 'firewire-updates-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: core: fill model field in modalias of unit device for legacy layout of configuration ROM
        firewire: core: detect model name for legacy layout of configuration ROM
        firewire: core: detect numeric model identifier for legacy layout of configuration ROM
        firewire: test: add test of device attributes for legacy AV/C device
        firewire: test: add test of device attributes for simple AV/C device
        firewire: test: add KUnit test for device attributes
        firewire: core: replace magic number with macro
        firewire: core: adds constant qualifier for local helper functions
        firewire: make fw_bus_type const
      141d9c6e