1. 10 Jan, 2022 31 commits
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-5.17-rc1' of... · 4369b3ce
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest update from Shuah Khan:
       "Fixes to build errors, false negatives, and several code cleanups,
        including the ARRAY_SIZE cleanup that removes 25+ duplicates
        ARRAY_SIZE defines from individual tests"
      
      * tag 'linux-kselftest-next-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/vm: remove ARRAY_SIZE define from individual tests
        selftests/timens: remove ARRAY_SIZE define from individual tests
        selftests/sparc64: remove ARRAY_SIZE define from adi-test
        selftests/seccomp: remove ARRAY_SIZE define from seccomp_benchmark
        selftests/rseq: remove ARRAY_SIZE define from individual tests
        selftests/net: remove ARRAY_SIZE define from individual tests
        selftests/landlock: remove ARRAY_SIZE define from common.h
        selftests/ir: remove ARRAY_SIZE define from ir_loopback.c
        selftests/core: remove ARRAY_SIZE define from close_range_test.c
        selftests/cgroup: remove ARRAY_SIZE define from cgroup_util.h
        selftests/arm64: remove ARRAY_SIZE define from vec-syscfg.c
        tools: fix ARRAY_SIZE defines in tools and selftests hdrs
        selftests: cgroup: build error multiple outpt files
        selftests/move_mount_set_group remove unneeded conversion to bool
        selftests/mount: remove unneeded conversion to bool
        selftests: harness: avoid false negatives if test has no ASSERTs
        selftests/ftrace: make kprobe profile testcase description unique
        selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
        selftests: timers: Remove unneeded semicolon
        kselftests: timers:Remove unneeded semicolon
      4369b3ce
    • Linus Torvalds's avatar
      Merge tag 'slab-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab · ca1a46d6
      Linus Torvalds authored
      Pull slab updates from Vlastimil Babka:
      
       - Separate struct slab from struct page - an offshot of the page folio
         work.
      
         Struct page fields used by slab allocators are moved from struct page
         to a new struct slab, that uses the same physical storage. Similar to
         struct folio, it always is a head page. This brings better type
         safety, separation of large kmalloc allocations from true slabs, and
         cleanup of related objcg code.
      
       - A SLAB_MERGE_DEFAULT config optimization.
      
      * tag 'slab-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab: (33 commits)
        mm/slob: Remove unnecessary page_mapcount_reset() function call
        bootmem: Use page->index instead of page->freelist
        zsmalloc: Stop using slab fields in struct page
        mm/slub: Define struct slab fields for CONFIG_SLUB_CPU_PARTIAL only when enabled
        mm/slub: Simplify struct slab slabs field definition
        mm/sl*b: Differentiate struct slab fields by sl*b implementations
        mm/kfence: Convert kfence_guarded_alloc() to struct slab
        mm/kasan: Convert to struct folio and struct slab
        mm/slob: Convert SLOB to use struct slab and struct folio
        mm/memcg: Convert slab objcgs from struct page to struct slab
        mm: Convert struct page to struct slab in functions used by other subsystems
        mm/slab: Finish struct page to struct slab conversion
        mm/slab: Convert most struct page to struct slab by spatch
        mm/slab: Convert kmem_getpages() and kmem_freepages() to struct slab
        mm/slub: Finish struct page to struct slab conversion
        mm/slub: Convert most struct page to struct slab by spatch
        mm/slub: Convert pfmemalloc_match() to take a struct slab
        mm/slub: Convert __free_slab() to use struct slab
        mm/slub: Convert alloc_slab_page() to return a struct slab
        mm/slub: Convert print_page_info() to print_slab_info()
        ...
      ca1a46d6
    • Linus Torvalds's avatar
      Merge branch 'random-5.17-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random · d93aebbd
      Linus Torvalds authored
      Pull random number generator updates from Jason Donenfeld:
       "These a bit more numerous than usual for the RNG, due to folks
        resubmitting patches that had been pending prior and generally renewed
        interest.
      
        There are a few categories of patches in here:
      
         1) Dominik Brodowski and I traded a series back and forth for a some
            weeks that fixed numerous issues related to seeds being provided
            at extremely early boot by the firmware, before other parts of the
            kernel or of the RNG have been initialized, both fixing some
            crashes and addressing correctness around early boot randomness.
            One of these is marked for stable.
      
         2) I replaced the RNG's usage of SHA-1 with BLAKE2s in the entropy
            extractor, and made the construction a bit safer and more
            standard. This was sort of a long overdue low hanging fruit, as we
            were supposed to have phased out SHA-1 usage quite some time ago
            (even if all we needed here was non-invertibility). Along the way
            it also made extraction 131% faster. This required a bit of
            Kconfig and symbol plumbing to make things work well with the
            crypto libraries, which is one of the reasons why I'm sending you
            this pull early in the cycle.
      
         3) I got rid of a truly superfluous call to RDRAND in the hot path,
            which resulted in a whopping 370% increase in performance.
      
         4) Sebastian Andrzej Siewior sent some patches regarding PREEMPT_RT,
            the full series of which wasn't ready yet, but the first two
            preparatory cleanups were good on their own. One of them touches
            files in kernel/irq/, which is the other reason why I'm sending
            you this pull early in the cycle.
      
         5) Other assorted correctness fixes from Eric Biggers, Jann Horn,
            Mark Brown, Dominik Brodowski, and myself"
      
      * 'random-5.17-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random:
        random: don't reset crng_init_cnt on urandom_read()
        random: avoid superfluous call to RDRAND in CRNG extraction
        random: early initialization of ChaCha constants
        random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
        random: harmonize "crng init done" messages
        random: mix bootloader randomness into pool
        random: do not throw away excess input to crng_fast_load
        random: do not re-init if crng_reseed completes before primary init
        random: fix crash on multiple early calls to add_bootloader_randomness()
        random: do not sign extend bytes for rotation when mixing
        random: use BLAKE2s instead of SHA1 in extraction
        lib/crypto: blake2s: include as built-in
        random: fix data race on crng init time
        random: fix data race on crng_node_pool
        irq: remove unused flags argument from __handle_irq_event_percpu()
        random: remove unused irq_flags argument from add_interrupt_randomness()
        random: document add_hwgenerator_randomness() with other input functions
        MAINTAINERS: add git tree for random.c
      d93aebbd
    • Linus Torvalds's avatar
      Merge tag 'seccomp-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 9d3a1e0a
      Linus Torvalds authored
      Pull seccomp updates from Kees Cook:
       "The core seccomp code hasn't changed for this cycle, but the selftests
        were improved while helping to debug the recent signal handling
        refactoring work Eric did.
      
        Summary:
      
         - Improve seccomp selftests in support of signal handler refactoring
           (Kees Cook)"
      
      * tag 'seccomp-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        selftests/seccomp: Report event mismatches more clearly
        selftests/seccomp: Stop USER_NOTIF test if kcmp() fails
      9d3a1e0a
    • Linus Torvalds's avatar
      Merge tag 'pstore-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 404dbad3
      Linus Torvalds authored
      Pull pstore update from Kees Cook:
      
       - Add boot param for early ftrace recording in pstore (Uwe
         Kleine-König)
      
      * tag 'pstore-v5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        pstore/ftrace: Allow immediate recording
      404dbad3
    • Linus Torvalds's avatar
      Merge tag 'edac_updates_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · ff8be964
      Linus Torvalds authored
      Pull EDAC updates from Borislav Petkov:
      
       - Add support for version 3 of the Synopsys DDR controller to
         synopsys_edac
      
       - Add support for DRR5 and new models 0x10-0x1f and 0x50-0x5f of AMD
         family 0x19 CPUs to amd64_edac
      
       - The usual set of fixes and cleanups
      
      * tag 'edac_updates_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/amd64: Add support for family 19h, models 50h-5fh
        EDAC/sb_edac: Remove redundant initialization of variable rc
        RAS/CEC: Remove a repeated 'an' in a comment
        EDAC/amd64: Add support for AMD Family 19h Models 10h-1Fh and A0h-AFh
        EDAC: Add RDDR5 and LRDDR5 memory types
        EDAC/sifive: Fix non-kernel-doc comment
        dt-bindings: memory: Add entry for version 3.80a
        EDAC/synopsys: Enable the driver on Intel's N5X platform
        EDAC/synopsys: Add support for version 3 of the Synopsys EDAC DDR
        EDAC/synopsys: Use the quirk for version instead of ddr version
      ff8be964
    • Linus Torvalds's avatar
      Merge tag 'ras_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7e740ae6
      Linus Torvalds authored
      Pull RAS updates from Borislav Petkov:
       "A relatively big amount of movements in RAS-land this time around:
      
         - First part of a series to move the AMD address translation code
           from arch/x86/ to amd64_edac as that is its only user anyway
      
         - Some MCE error injection improvements to the AMD side
      
         - Reorganization of the #MC handler code and the facilities it calls
           to make it noinstr-safe
      
         - Add support for new AMD MCA bank types and non-uniform banks layout
      
         - The usual set of cleanups and fixes"
      
      * tag 'ras_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        x86/mce: Reduce number of machine checks taken during recovery
        x86/mce/inject: Avoid out-of-bounds write when setting flags
        x86/MCE/AMD, EDAC/mce_amd: Support non-uniform MCA bank type enumeration
        x86/MCE/AMD, EDAC/mce_amd: Add new SMCA bank types
        x86/mce: Check regs before accessing it
        x86/mce: Mark mce_start() noinstr
        x86/mce: Mark mce_timed_out() noinstr
        x86/mce: Move the tainting outside of the noinstr region
        x86/mce: Mark mce_read_aux() noinstr
        x86/mce: Mark mce_end() noinstr
        x86/mce: Mark mce_panic() noinstr
        x86/mce: Prevent severity computation from being instrumented
        x86/mce: Allow instrumentation during task work queueing
        x86/mce: Remove noinstr annotation from mce_setup()
        x86/mce: Use mce_rdmsrl() in severity checking code
        x86/mce: Remove function-local cpus variables
        x86/mce: Do not use memset to clear the banks bitmaps
        x86/mce/inject: Set the valid bit in MCA_STATUS before error injection
        x86/mce/inject: Check if a bank is populated before injecting
        x86/mce: Get rid of cpu_missing
        ...
      7e740ae6
    • Linus Torvalds's avatar
      Merge tag 'core_entry_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 48a60bdb
      Linus Torvalds authored
      Pull thread_info flag accessor helper updates from Borislav Petkov:
       "Add a set of thread_info.flags accessors which snapshot it before
        accesing it in order to prevent any potential data races, and convert
        all users to those new accessors"
      
      * tag 'core_entry_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        powerpc: Snapshot thread flags
        powerpc: Avoid discarding flags in system_call_exception()
        openrisc: Snapshot thread flags
        microblaze: Snapshot thread flags
        arm64: Snapshot thread flags
        ARM: Snapshot thread flags
        alpha: Snapshot thread flags
        sched: Snapshot thread flags
        entry: Snapshot thread flags
        x86: Snapshot thread flags
        thread_info: Add helpers to snapshot thread flags
      48a60bdb
    • Linus Torvalds's avatar
      Merge tag 'core_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5ba13c1c
      Linus Torvalds authored
      Pull notifier fix from Borislav Petkov:
       "Return an error when a notifier callback has been registered already"
      
      * tag 'core_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        notifier: Return an error when a callback has already been registered
      5ba13c1c
    • Linus Torvalds's avatar
      Merge tag 'x86_vdso_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 133d9c53
      Linus Torvalds authored
      Pull x86 vdso updates from Borislav Petkov:
       "Remove -nostdlib compiler flag now that the vDSO uses the linker
        instead of the compiler driver to link files"
      
      * tag 'x86_vdso_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/purgatory: Remove -nostdlib compiler flag
        x86/vdso: Remove -nostdlib compiler flag
      133d9c53
    • Linus Torvalds's avatar
      Merge tag 'x86_build_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3c6d4056
      Linus Torvalds authored
      Pull x86 build fix from Borislav Petkov:
       "A fix for cross-compiling the compressed stub on arm64 with clang"
      
      * tag 'x86_build_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
      3c6d4056
    • Linus Torvalds's avatar
      Merge tag 'x86_cpu_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 25f8c778
      Linus Torvalds authored
      Pull x86 cpuid updates from Borislav Petkov:
      
       - Enable the short string copies for CPUs which support them, in
         copy_user_enhanced_fast_string()
      
       - Avoid writing MSR_CSTAR on Intel due to TDX guests raising a #VE trap
      
      * tag 'x86_cpu_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/lib: Add fast-short-rep-movs check to copy_user_enhanced_fast_string()
        x86/cpu: Don't write CSTAR MSR on Intel CPUs
      25f8c778
    • Linus Torvalds's avatar
      Merge tag 'x86_cleanups_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 308319e9
      Linus Torvalds authored
      Pull x86 cleanups from Borislav Petkov:
       "The mandatory set of random minor cleanups all over tip"
      
      * tag 'x86_cleanups_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/events/amd/iommu: Remove redundant assignment to variable shift
        x86/boot/string: Add missing function prototypes
        x86/fpu: Remove duplicate copy_fpstate_to_sigframe() prototype
        x86/uaccess: Move variable into switch case statement
      308319e9
    • Linus Torvalds's avatar
      Merge tag 'x86_misc_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2e97a0c0
      Linus Torvalds authored
      Pull misc x86 updates from Borislav Petkov:
       "The pile which we cannot find the proper topic for so we stick it in
        x86/misc:
      
         - Add support for decoding instructions which do MMIO accesses in
           order to use it in SEV and TDX guests
      
         - An include fix and reorg to allow for removing set_fs in UML later"
      
      * tag 'x86_misc_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mtrr: Remove the mtrr_bp_init() stub
        x86/sev-es: Use insn_decode_mmio() for MMIO implementation
        x86/insn-eval: Introduce insn_decode_mmio()
        x86/insn-eval: Introduce insn_get_modrm_reg_ptr()
        x86/insn-eval: Handle insn_get_opcode() failure
      2e97a0c0
    • Linus Torvalds's avatar
      Merge tag 'x86_mm_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4a692ae3
      Linus Torvalds authored
      Pull x86 mm updates from Borislav Petkov:
      
       - Flush *all* mappings from the TLB after switching to the trampoline
         pagetable to prevent any stale entries' presence
      
       - Flush global mappings from the TLB, in addition to the CR3-write,
         after switching off of the trampoline_pgd during boot to clear the
         identity mappings
      
       - Prevent instrumentation issues resulting from the above changes
      
      * tag 'x86_mm_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mm: Prevent early boot triple-faults with instrumentation
        x86/mm: Include spinlock_t definition in pgtable.
        x86/mm: Flush global TLB when switching to trampoline page-table
        x86/mm/64: Flush global TLB on boot and AP bringup
        x86/realmode: Add comment for Global bit usage in trampoline_pgd
        x86/mm: Add missing <asm/cpufeatures.h> dependency to <asm/page_64.h>
      4a692ae3
    • Linus Torvalds's avatar
      Merge tag 'x86_sgx_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bfed6efb
      Linus Torvalds authored
      Pull x86 SGX updates from Borislav Petkov:
      
       - Add support for handling hw errors in SGX pages: poisoning,
         recovering from poison memory and error injection into SGX pages
      
       - A bunch of changes to the SGX selftests to simplify and allow of SGX
         features testing without the need of a whole SGX software stack
      
       - Add a sysfs attribute which is supposed to show the amount of SGX
         memory in a NUMA node, similar to what /proc/meminfo is to normal
         memory
      
       - The usual bunch of fixes and cleanups too
      
      * tag 'x86_sgx_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        x86/sgx: Fix NULL pointer dereference on non-SGX systems
        selftests/sgx: Fix corrupted cpuid macro invocation
        x86/sgx: Add an attribute for the amount of SGX memory in a NUMA node
        x86/sgx: Fix minor documentation issues
        selftests/sgx: Add test for multiple TCS entry
        selftests/sgx: Enable multiple thread support
        selftests/sgx: Add page permission and exception test
        selftests/sgx: Rename test properties in preparation for more enclave tests
        selftests/sgx: Provide per-op parameter structs for the test enclave
        selftests/sgx: Add a new kselftest: Unclobbered_vdso_oversubscribed
        selftests/sgx: Move setup_test_encl() to each TEST_F()
        selftests/sgx: Encpsulate the test enclave creation
        selftests/sgx: Dump segments and /proc/self/maps only on failure
        selftests/sgx: Create a heap for the test enclave
        selftests/sgx: Make data measurement for an enclave segment optional
        selftests/sgx: Assign source for each segment
        selftests/sgx: Fix a benign linker warning
        x86/sgx: Add check for SGX pages to ghes_do_memory_failure()
        x86/sgx: Add hook to error injection address validation
        x86/sgx: Hook arch_memory_failure() into mainline code
        ...
      bfed6efb
    • Linus Torvalds's avatar
      Merge tag 'x86_cache_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d3c20bfb
      Linus Torvalds authored
      Pull x86 resource control fixlet from Borislav Petkov:
       "A minor code cleanup removing a redundant assignment"
      
      * tag 'x86_cache_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/resctrl: Remove redundant assignment to variable chunks
      d3c20bfb
    • Linus Torvalds's avatar
      Merge tag 'x86_sev_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 01d5e787
      Linus Torvalds authored
      Pull x86 SEV updates from Borislav Petkov:
       "The accumulated pile of x86/sev generalizations and cleanups:
      
         - Share the SEV string unrolling logic with TDX as TDX guests need it
           too
      
         - Cleanups and generalzation of code shared by SEV and TDX"
      
      * tag 'x86_sev_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sev: Move common memory encryption code to mem_encrypt.c
        x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.c
        x86/sev: Use CC_ATTR attribute to generalize string I/O unroll
        x86/sev: Remove do_early_exception() forward declarations
        x86/head64: Carve out the guest encryption postprocessing into a helper
        x86/sev: Get rid of excessive use of defines
        x86/sev: Shorten GHCB terminate macro names
      01d5e787
    • Linus Torvalds's avatar
      Merge tag 'x86_platform_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · cd36722d
      Linus Torvalds authored
      Pull x86 platform fix from Borislav Petkov:
       "A single DT compatibility fix for the Intel media processor CE4100
        driver"
      
      * tag 'x86_platform_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/ce4100: Replace "ti,pcf8575" by "nxp,pcf8575"
      cd36722d
    • Linus Torvalds's avatar
      Merge tag 'x86_paravirt_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e59451fd
      Linus Torvalds authored
      Pull x86 paravirtualization fix from Borislav Petkov:
       "Define the INTERRUPT_RETURN macro only when CONFIG_XEN_PV is enabled
        as it is its only user"
      
      * tag 'x86_paravirt_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/paravirt: Fix build PARAVIRT_XXL=y without XEN_PV
      e59451fd
    • Linus Torvalds's avatar
      Merge tag 'x86_fpu_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 191cf7fa
      Linus Torvalds authored
      Pull x86 fpu update from Borislav Petkov:
       "A single x86/fpu update for 5.17:
      
         - Exclude AVX opmask registers use from AVX512 state tracking as they
           don't contribute to frequency throttling"
      
      * tag 'x86_fpu_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/fpu: Correct AVX512 state tracking
      191cf7fa
    • Linus Torvalds's avatar
      Merge tag 'm68k-for-v5.17-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · 8cc1e207
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven:
      
       - enable memtest functionality
      
       - defconfig updates
      
      * tag 'm68k-for-v5.17-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        m68k: defconfig: Update defconfigs for v5.16-rc1
        m68k: Enable memtest functionality
      8cc1e207
    • Linus Torvalds's avatar
      Merge tag 's390-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · f0d43b3a
      Linus Torvalds authored
      Pull s390 updates from Heiko Carstens:
       "Besides all the small improvements and cleanups the most notable part
        is the fast vector/SIMD implementation of the ChaCha20 stream cipher,
        which is an adaptation of Andy Polyakov's code for the kernel.
      
        Summary:
      
         - add fast vector/SIMD implementation of the ChaCha20 stream cipher,
           which mainly adapts Andy Polyakov's code for the kernel
      
         - add status attribute to AP queue device so users can easily figure
           out its status
      
         - fix race in page table release code, and and lots of documentation
      
         - remove uevent suppress from cio device driver, since it turned out
           that it generated more problems than it solved problems
      
         - quite a lot of virtual vs physical address confusion fixes
      
         - various other small improvements and cleanups all over the place"
      
      * tag 's390-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (39 commits)
        s390/dasd: use default_groups in kobj_type
        s390/sclp_sd: use default_groups in kobj_type
        s390/pci: simplify __pciwb_mio() inline asm
        s390: remove unused TASK_SIZE_OF
        s390/crash_dump: fix virtual vs physical address handling
        s390/crypto: fix compile error for ChaCha20 module
        s390/mm: check 2KB-fragment page on release
        s390/mm: better annotate 2KB pagetable fragments handling
        s390/mm: fix 2KB pgtable release race
        s390/sclp: release SCLP early buffer after kernel initialization
        s390/nmi: disable interrupts on extended save area update
        s390/zcrypt: CCA control CPRB sending
        s390/disassembler: update opcode table
        s390/uv: fix memblock virtual vs physical address confusion
        s390/smp: fix memblock_phys_free() vs memblock_free() confusion
        s390/sclp: fix memblock_phys_free() vs memblock_free() confusion
        s390/exit: remove dead reference to do_exit from copy_thread
        s390/ap: add missing virt_to_phys address conversion
        s390/pgalloc: use pointers instead of unsigned long values
        s390/pgalloc: add virt/phys address handling to base asce functions
        ...
      f0d43b3a
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 9b9e2113
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
      
       - KCSAN enabled for arm64.
      
       - Additional kselftests to exercise the syscall ABI w.r.t. SVE/FPSIMD.
      
       - Some more SVE clean-ups and refactoring in preparation for SME
         support (scalable matrix extensions).
      
       - BTI clean-ups (SYM_FUNC macros etc.)
      
       - arm64 atomics clean-up and codegen improvements.
      
       - HWCAPs for FEAT_AFP (alternate floating point behaviour) and
         FEAT_RPRESS (increased precision of reciprocal estimate and
         reciprocal square root estimate).
      
       - Use SHA3 instructions to speed-up XOR.
      
       - arm64 unwind code refactoring/unification.
      
       - Avoid DC (data cache maintenance) instructions when DCZID_EL0.DZP ==
         1 (potentially set by a hypervisor; user-space already does this).
      
       - Perf updates for arm64: support for CI-700, HiSilicon PCIe PMU,
         Marvell CN10K LLC-TAD PMU, miscellaneous clean-ups.
      
       - Other fixes and clean-ups; highlights: fix the handling of erratum
         1418040, correct the calculation of the nomap region boundaries,
         introduce io_stop_wc() mapped to the new DGH instruction (data
         gathering hint).
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (81 commits)
        arm64: Use correct method to calculate nomap region boundaries
        arm64: Drop outdated links in comments
        arm64: perf: Don't register user access sysctl handler multiple times
        drivers: perf: marvell_cn10k: fix an IS_ERR() vs NULL check
        perf/smmuv3: Fix unused variable warning when CONFIG_OF=n
        arm64: errata: Fix exec handling in erratum 1418040 workaround
        arm64: Unhash early pointer print plus improve comment
        asm-generic: introduce io_stop_wc() and add implementation for ARM64
        arm64: Ensure that the 'bti' macro is defined where linkage.h is included
        arm64: remove __dma_*_area() aliases
        docs/arm64: delete a space from tagged-address-abi
        arm64: Enable KCSAN
        kselftest/arm64: Add pidbench for floating point syscall cases
        arm64/fp: Add comments documenting the usage of state restore functions
        kselftest/arm64: Add a test program to exercise the syscall ABI
        kselftest/arm64: Allow signal tests to trigger from a function
        kselftest/arm64: Parameterise ptrace vector length information
        arm64/sve: Minor clarification of ABI documentation
        arm64/sve: Generalise vector length configuration prctl() for SME
        arm64/sve: Make sysctl interface for SVE reusable by SME
        ...
      9b9e2113
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · a7ac3140
      Linus Torvalds authored
      Pull asm-generic cleanups from Arnd Bergmann:
       "A few minor cleanups for cross-architecture code: Alexandre Ghiti
        deals with removing some leftovers from drivers and features that have
        been removed, and Wasin Thonkaew has a cosmetic change"
      
      * tag 'asm-generic-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue
        arch: Remove leftovers from prism54 wireless driver
        arch: Remove leftovers from mandatory file locking
        Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH
        Documentation, arch: Remove leftovers from raw device
      a7ac3140
    • Linus Torvalds's avatar
      Merge tag 'newsoc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · bb4ed26e
      Linus Torvalds authored
      Pull RISC-V SoC updates from Arnd Bergmann:
       "Add support for StarFive JH7100 RISC-V SoC
      
        This adds support for the StarFive JH7100, including the necessary
        device drivers and DT files for the BeagleV Starlight prototype board,
        with additional boards to be added later. This SoC promises to be the
        first usable low-cost platform for RISC-V.
      
        I've taken this through the SoC tree in the anticipation of adding a
        few other Arm based SoCs as well, but those did not pass the review in
        time, so it's only this one"
      
      * tag 'newsoc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        reset: starfive-jh7100: Fix 32bit compilation
        RISC-V: Add BeagleV Starlight Beta device tree
        RISC-V: Add initial StarFive JH7100 device tree
        serial: 8250_dw: Add StarFive JH7100 quirk
        dt-bindings: serial: snps-dw-apb-uart: Add JH7100 uarts
        pinctrl: starfive: Add pinctrl driver for StarFive SoCs
        dt-bindings: pinctrl: Add StarFive JH7100 bindings
        dt-bindings: pinctrl: Add StarFive pinctrl definitions
        reset: starfive-jh7100: Add StarFive JH7100 reset driver
        dt-bindings: reset: Add Starfive JH7100 reset bindings
        dt-bindings: reset: Add StarFive JH7100 reset definitions
        clk: starfive: Add JH7100 clock generator driver
        dt-bindings: clock: starfive: Add JH7100 bindings
        dt-bindings: clock: starfive: Add JH7100 clock definitions
        dt-bindings: interrupt-controller: Add StarFive JH7100 plic
        dt-bindings: timer: Add StarFive JH7100 clint
        RISC-V: Add StarFive SoC Kconfig option
      bb4ed26e
    • Linus Torvalds's avatar
      Merge tag 'dt-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · aca48b2d
      Linus Torvalds authored
      Pull ARM SoC devicetree updates from Arnd Bergmann:
       "As usual, this is the bulk of the updates for the SoC tree, adding
        more devices to existing files, addressing issues from ever improving
        automated checking, and fixing minor issues.
      
        The most interesting bits as usual are the new platforms. All the
        newly supported SoCs belong into existing families this time:
      
         - Qualcomm gets support for two newly announced platforms, both of
           which can now work in production environments: the SDX65 5G modem
           that can run a minimal Linux on its Cortex-A7 core, and the
           Snapdragon 8 Gen 1, their latest high-end phone SoC.
      
         - Renesas adds support for R-Car S4-8, the most recent automotive
           Server/Communication SoC.
      
         - TI adds support for J721s2, a new automotive SoC in the K3 family.
      
         - Mediatek MT7986a/b is a SoC used in Wifi routers, the latest
           generation following their popular MT76xx series. Only basic
           support is added for now.
      
         - NXP i.MX8 ULP8 is a new low-power variant of the widespread i.MX8
           series.
      
         - TI SPEAr320s is a minor variant of the old SPEAr320 SoC that we
           have supported for a long time.
      
        New boards with the existing SoCs include
      
         - Aspeed AST2500/AST2600 BMCs in TYAN, Facebook and Yadro servers
      
         - AT91/SAMA5 based evaluation board
      
         - NXP gains twenty new development and industrial boards for their
           i.MX and Layerscape SoCs
      
         - Intel IXP4xx now supports the final two machines in device tree
           that were previously only supported in old style board files.
      
         - Mediatek MT6589 is used in the Fairphone FP1 phone from 2013, while
           MT8183 is used in the Acer Chromebook 314.
      
         - Qualcomm gains support for the reference machines using the two new
           SoCs, plus a number of Chromebook variants and phones based on the
           Snapdragon 7c, 845 and 888 SoCs, including various Sony Xperia
           devices and the Microsoft Surface Duo 2.
      
         - ST STM32 now supports the Engicam i.Core STM32MP1 carrier board.
      
         - Tegra now boots various older Android devices based on 32-bit chips
           out of the box, including a number of ASUS Transformer tablets.
      
           There is also a new Jetson AGX Orin developer kit.
      
         - Apple support adds the missing device trees for all the remaining
           M1 Macbook and iMac variants, though not yet the M1 Pro/Max
           versions.
      
         - Allwinner now supports another version of the Tanix TX6 set-top box
           based on the H6 SoC.
      
         - Broadcom gains support for the Netgear RAXE500 Wireless router
           based on BCM4908"
      
      * tag 'dt-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (574 commits)
        Revert "ARM: dts: BCM5301X: define RTL8365MB switch on Asus RT-AC88U"
        arm64: dts: qcom: sm6125: Avoid using missing SM6125_VDDCX
        arm64: dts: qcom: sm8450-qrd: Enable USB nodes
        arm64: dts: qcom: sm8450: Add usb nodes
        ARM: dts: aspeed: add LCLK setting into LPC KCS nodes
        dt-bindings: ipmi: bt-bmc: add 'clocks' as a required property
        ARM: dts: aspeed: add LCLK setting into LPC IBT node
        ARM: dts: aspeed: p10: Add TPM device
        ARM: dts: aspeed: p10: Enable USB host ports
        ARM: dts: aspeed: Add TYAN S8036 BMC machine
        ARM: dts: aspeed: tyan-s7106: Add uart_routing and fix vuart config
        ARM: dts: aspeed: Adding Facebook Bletchley BMC
        ARM: dts: aspeed: g220a: Enable secondary flash
        ARM: dts: Add openbmc-flash-layout-64-alt.dtsi
        ARM: dts: aspeed: Add secure boot controller node
        dt-bindings: aspeed: Add Secure Boot Controller bindings
        ARM: dts: Remove "spidev" nodes
        dt-bindings: pinctrl: samsung: Add pin drive definitions for Exynos850
        dt-bindings: arm: samsung: Document E850-96 board binding
        dt-bindings: Add vendor prefix for WinLink
        ...
      aca48b2d
    • Linus Torvalds's avatar
      Merge tag 'drivers-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · e85195d5
      Linus Torvalds authored
      Pull ARM SoC driver updates from Arnd Bergmann:
       "There are cleanups and minor bugfixes across several SoC specific
        drivers, for Qualcomm, Samsung, NXP i.MX, AT91, Tegra, Keystone,
        Renesas, ZynqMP
      
        Noteworthy new features are:
      
         - The op-tee firmware driver gains support for asynchronous
           notifications from secure-world firmware.
      
         - Qualcomm platforms gain support for new SoC types in various
           drivers: power domain, cache controller, RPM sleep, soc-info
      
         - Samsung SoC drivers gain support for new SoCs in ChipID and PMU, as
           well as a new USIv2 driver that handles various types of serial
           communiction (uart, i2c, spi)
      
         - Renesas adds support for R-Car S4-8 (R8A779F0) in multiple drivers,
           as well as memory controller support for RZ/G2L (R9A07G044).
      
         - Apple M1 gains support for the PMGR power management driver"
      
      * tag 'drivers-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (94 commits)
        soc: qcom: rpmh-rsc: Fix typo in a comment
        soc: qcom: socinfo: Add SM6350 and SM7225
        dt-bindings: arm: msm: Don't mark LLCC interrupt as required
        dt-bindings: firmware: scm: Add SM6350 compatible
        dt-bindings: arm: msm: Add LLCC for SM6350
        soc: qcom: rpmhpd: Sort power-domain definitions and lists
        soc: qcom: rpmhpd: Remove mx/cx relationship on sc7280
        soc: qcom: rpmhpd: Rename rpmhpd struct names
        soc: qcom: rpmhpd: sm8450: Add the missing .peer for sm8450_cx_ao
        soc: qcom: socinfo: add SM8450 ID
        soc: qcom: rpmhpd: Add SM8450 power domains
        dt-bindings: power: rpmpd: Add SM8450 to rpmpd binding
        soc: qcom: smem: Update max processor count
        dt-bindings: arm: qcom: Document SM8450 SoC and boards
        dt-bindings: firmware: scm: Add SM8450 compatible
        dt-bindings: arm: cpus: Add kryo780 compatible
        soc: qcom: rpmpd: Add support for sm6125
        dt-bindings: qcom-rpmpd: Add sm6125 power domains
        soc: qcom: aoss: constify static struct thermal_cooling_device_ops
        PM: AVS: qcom-cpr: Use div64_ul instead of do_div
        ...
      e85195d5
    • Linus Torvalds's avatar
      Merge tag 'defconfig-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 0dca3c5e
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "These are the usual changes to enable newly added driver by default,
        and to do some housekeeping around changing Kconfig symbols"
      
      * tag 'defconfig-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        arm64: defconfig: Enable Samsung I2C driver
        ARM: configs: at91: Enable crypto software implementations
        ARM: configs: at91: sama7: Enable SPI NOR and QSPI controller
        ARM: config: multi v7: Enable NVIDIA Tegra20 APB DMA driver
        ARM: config: multi v7: Enable NVIDIA Tegra20 S/PDIF driver
        ARM: tegra_defconfig: Enable S/PDIF driver
        ARM: imx_v6_v7_defconfig: Enable for DHCOM devices required RTC_DRV_RV3029C2
        ARM: config: multi v7: Enable display drivers used by Tegra devices
        ARM: tegra_defconfig: Enable drivers wanted by Acer Chromebooks and ASUS tablets
        ARM: configs: gemini: Activate crypto driver
        arm64: defconfig: enable drivers for booting i.MX8ULP
        arm64: defconfig: Enable R-Car S4-8
        arm64: defconfig: enable drivers for TQ TQMa8MxML-MBa8Mx
        arm64: defconfig: Enable OV5640
        arm64: defconfig: Enable VIDEO_IMX_MEDIA
      0dca3c5e
    • Linus Torvalds's avatar
      Merge tag 'soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 1135ec00
      Linus Torvalds authored
      Pull ARM SoC updates from Arnd Bergmann:
       "These are all minor bug fixes and cleanups to code in arch/arm and
        arch/arm64 that is specific to one SoC, updating Kconfig symbols, the
        MAINTAINERS file, and removing some dead code"
      
      * tag 'soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        arm64: exynos: Enable Exynos Multi-Core Timer driver
        ARM: ixp4xx: remove unused header file pata_ixp4xx_cf.h
        ARM: ixp4xx: remove dead configs CPU_IXP43X and CPU_IXP46X
        MAINTAINERS: Add Florian as BCM5301X and BCM53573 maintainer
        ARM: samsung: Remove HAVE_S3C2410_I2C and use direct dependencies
        ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
        ARM: imx: remove dead left-over from i.MX{27,31,35} removal
        ARM: s3c: add one more "fallthrough" statement in Jive
        ARM: s3c: include header for prototype of s3c2410_modify_misccr
        ARM: shmobile: rcar-gen2: Add missing of_node_put()
      1135ec00
    • Borislav Petkov's avatar
  2. 09 Jan, 2022 6 commits
  3. 08 Jan, 2022 3 commits