This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from 879dbe9ffebc Merge tag 'x86_sgx_for_v5.16_rc1' of git://git.kernel.org/ [...] new 0e277fb80770 Merge branch 'timers/drivers/armv8.6_arch_timer' of https: [...] new fdf865988b5a arm64: Add a capability for FEAT_ECV new 9ee840a96042 arm64: Add CNT{P,V}CTSS_EL0 alternatives to cnt{p,v}ct_el0 new ae976f063b60 arm64: Add handling of CNTVCTSS traps new fee29f008aa3 arm64: Add HWCAP for self-synchronising virtual counter new a69483eeefff Merge branch 'for-next/8.6-timers' into for-next/core new 35d67794b882 arm64: lib: __arch_clear_user(): fold fixups into body new 4012e0e22739 arm64: lib: __arch_copy_from_user(): fold fixups into body new 139f9ab73d60 arm64: lib: __arch_copy_to_user(): fold fixups into body new ae2b2f3384c6 arm64: kvm: use kvm_exception_table_entry new 8ed1b498ada6 arm64: factor out GPR numbering helpers new 286fba6c2a45 arm64: gpr-num: support W registers new 819771cc2892 arm64: extable: consolidate definitions new e8c328d7de03 arm64: extable: make fixup_exception() return bool new 5d0e79051425 arm64: extable: use `ex` for `exception_table_entry` new d6e2cc564775 arm64: extable: add `type` and `data` fields new 2e77a62cb3a6 arm64: extable: add a dedicated uaccess handler new 753b32368705 arm64: extable: add load_unaligned_zeropad() handler new bf6e667f4738 arm64: vmlinux.lds.S: remove `.fixup` section new 99fe09c857c6 Merge branch 'for-next/extable' into for-next/core new 094a3684b9b6 arm64: kernel: add helper for booted at EL2 and not VHE new 788bfdd97434 arm64: trans_pgd: hibernate: Add trans_pgd_copy_el2_vectors new a347f601452f arm64: hibernate: abstract ttrb0 setup function new 0d8732e461d6 arm64: kexec: flush image and lists during kexec load time new 5bb6834fc290 arm64: kexec: skip relocation code for inplace kexec new 3036ec599332 arm64: kexec: Use dcache ops macros instead of open-coding new 878fdbd70486 arm64: kexec: pass kimage as the only argument to relocati [...] new 08eae0ef618f arm64: kexec: configure EL2 vectors for kexec new ba959fe96a1b arm64: kexec: relocate in EL1 mode new 19a046f07ce5 arm64: kexec: use ld script for relocation function new 3744b5280e67 arm64: kexec: install a copy of the linear-map new efc2d0f20a9d arm64: kexec: keep MMU enabled during kexec relocation new 939f1b9564c6 arm64: kexec: remove the pre-kexec PoC maintenance new 7a2512fa6493 arm64: kexec: remove cpu-reset.h new 6091dd9eaf8e arm64: trans_pgd: remove trans_pgd_map_page() new d8a2c0fba530 Merge branch 'for-next/kexec' into for-next/core new 78d2d816c45a selftests: arm64: Use a define for the number of SVE ptrac [...] new 09121ad7186e selftests: arm64: Don't log child creation as a test in SV [...] new eab281e3afa6 selftests: arm64: Remove extraneous register setting code new 736e6d5a5451 selftests: arm64: Document what the SVE ptrace test is doing new 8c9eece0bfbf selftests: arm64: Clarify output when verifying SVE register set new 9f7d03a2c5a1 selftests: arm64: Verify interoperation of SVE and FPSIMD [...] new a1d7111257cd selftests: arm64: More comprehensively test the SVE ptrace [...] new 34785030dc06 selftests: arm64: Move FPSIMD in SVE ptrace test into a function new ff944c44b782 selftests: arm64: Fix printf() format mismatch in vec-syscfg new 4caf339c037c selftests: arm64: Remove bogus error check on writing to files new e42391150eab selftests: arm64: Fix and enable test for setting current [...] new 8694e5e63886 selftests: arm64: Verify that all possible vector lengths [...] new 0ba1ce1e8605 selftests: arm64: Add coverage of ptrace flags for SVE VL [...] new 260ea4ba94e8 selftests: arm64: Factor out utility functions for assembl [...] new 082f6b4b6223 Merge branch 'for-next/kselftest' into for-next/core new f5b650f887f3 arm64/traps: Avoid unnecessary kernel/user pointer conversion new 1dfde0892b32 arm64: asm: setup.h: export common variables new de56379f21c7 arm64: ftrace: use function_nocfi for _mcount as well new d198c77b7fab arm64: Document boot requirements for FEAT_SME_FA64 new a68773bd32d9 arm64: Select POSIX_CPU_TIMERS_TASK_WORK new 2bc655ce2942 Merge branch 'for-next/misc' into for-next/core new e63cf610ead1 arm64: mm: Drop pointless call to set_max_mapnr() new f8b46c4b51ab arm64/mm: Add pud_sect_supported() new 8fac67ca236b arm64: mm: update max_pfn after memory hotplug new dc6bab18fb3c Merge branch 'for-next/mm' into for-next/core new e5af50a5df57 arm64: kasan: mte: move GCR_EL1 switch to task switch when [...] new f5627ec1ff2c kasan: Remove duplicate of kasan_flag_async new ba1a98e8b172 arm64: mte: Bitfield definitions for Asymm MTE new d73c162e0733 arm64: mte: CPU feature detection for Asymm MTE new ec0288369f0c arm64: mte: Add asymmetric mode support new 2d27e5851473 kasan: Extend KASAN mode kernel parameter new 7066248c44ee Merge branch 'for-next/mte' into for-next/core new 16cc4af286aa drivers/perf: hisi: Fix PA PMU counter offset new 78cac393b464 drivers/perf: thunderx2_pmu: Change data in size tx2_uncor [...] new e656972b6986 drivers/perf: Improve build test coverage new bd334dd7def6 Merge branch 'for-next/perf' into for-next/core new a9c38c5d267c dma-mapping: remove bogus test for pfn_valid from dma_map_ [...] new 3de360c3fdb3 arm64/mm: drop HAVE_ARCH_PFN_VALID new 16c200e04045 Merge branch 'for-next/pfn-valid' into for-next/core new 528a4ab45300 scs: Release kasan vmalloc poison in scs_free process new 3d9c8315fa9b Merge branch 'for-next/scs' into for-next/core new 2d481bd3b636 arm64/fp: Reindent fpsimd_save() new b53223e0a4d9 arm64/sve: Remove sve_load_from_fpsimd_state() new 12cc2352bfb3 arm64/sve: Make sve_state_size() static new 9f5848665788 arm64/sve: Make access to FFR optional new 059613f546b6 arm64/sve: Rename find_supported_vector_length() new 0423eedcf4e1 arm64/sve: Use accessor functions for vector lengths in th [...] new b5bc00ffddc0 arm64/sve: Put system wide vector length information into structs new ddc806b5c475 arm64/sve: Explicitly load vector length when restoring SVE state new 5838a1557984 arm64/sve: Track vector lengths for tasks in an array new 49ed920408f8 arm64/sve: Add stub for sve_max_virtualisable_vl() new 04ee53a55543 arm64/sve: Fix warnings when SVE is disabled new 655ee5571f4b Merge branch 'for-next/sve' into for-next/core new 2d0d656700d6 arm64: Add Neoverse-N2, Cortex-A710 CPU part definition new b9d216fcef42 arm64: errata: Add detection for TRBE overwrite in FILL mode new fa82d0b4b833 arm64: errata: Add workaround for TSB flush failures new 8d81b2a38ddf arm64: errata: Add detection for TRBE write to out-of-range new e5f521021279 Merge branch 'for-next/trbe-errata' into for-next/core new 1907d3ff5a64 arm64: vdso32: drop the test for dmb ishld new a517faa902b5 arm64: vdso32: drop test for -march=armv8-a new 14831fad73f5 arm64: vdso32: suppress error message for 'make mrproper' new 3e6f8d1fa184 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd new b2909a447ec3 Merge branch 'for-next/vdso' into for-next/core new e6359798f62d Merge branch 'for-next/fixes' into for-next/core new 46f876322820 Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm [...] new cf2ec7893f87 parisc/unwind: use copy_from_kernel_nofault() new a348eab32776 parisc: make parisc_acctyp() available outside of faults.c new aeb1e833a4c3 parisc: Switch to ARCH_STACKWALK implementation new ec5c115050f5 parisc: Add KFENCE support new a5e8ca3783ad parisc: disable preemption during local tlb flush new 4f1938673994 parisc: deduplicate code in flush_cache_mm() and flush_cac [...] new 3fb28e199d1f parisc: fix preempt_count() check in entry.S new 1c2fb946cdb7 parisc: disable preemption in send_IPI_allbutself() new 1030d681319b parisc: fix warning in flush_tlb_all new 9f6cfef1d040 parisc: Define FRAME_ALIGN and PRIV_USER/PRIV_KERNEL in as [...] new b7d8c16a58f8 parisc: Allocate task struct with stack frame alignment new 6ff7fa4b2393 parisc: Use FRAME_SIZE and FRAME_ALIGN from assembly.h new f06d6e92c879 parisc: Use PRIV_USER instead of 3 in entry.S new 9cc2fa4f4a92 task_stack: Fix end_of_stack() for architectures with upwa [...] new 8779e05ba8aa parisc: Fix ptrace check on syscall return new 8e0ba125c2bf parisc/unwind: fix unwinder when CONFIG_64BIT is enabled new b5f73da500c6 parisc: move virt_map macro to assembly.h new d9e203366936 parisc: add PIM TOC data structures new ecac70366dce parisc/firmware: add functions to retrieve TOC data new bc294838cc34 parisc: add support for TOC (transfer of control) new 2214c0e77259 parisc: Move thread_info into task struct new 66e29fcda182 parisc/kgdb: add kgdb_roundup() to make kgdb work with idl [...] new fdc9e4e0ef89 parisc: Use PRIV_USER in syscall.S new 8d90dbfd4c49 parisc: Use PRIV_USER and PRIV_KERNEL in ptrace.h new 0760a9157bc9 parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers new 3759778e6b8c parisc: enhance warning regarding usage of O_NONBLOCK new ecb6a16fb60e parisc: mark xchg functions notrace new d1fbab7e203e parisc: Make use of the helper macro kthread_run() new 44382af89346 parisc/ftrace: set function trace function new 98f2926171ae parisc/ftrace: use static key to enable/disable function g [...] new dc5292b28089 parisc: Remove unused constants from asm-offsets.c new 07578f16ef38 parisc: decompressor: remove repeated depenency of misc.o new 6f21e7347fb8 parisc: decompressor: clean up Makefile new 55a2ed760166 parisc: Update defconfigs new 1ae8e91e814d parisc: Use swap() to swap values in setup_bootmem() new 6e866a462867 parisc: Fix set_fixmap() on PA1.x CPUs new 552ebfe022ec Merge tag 'for-5.16/parisc-1' of git://git.kernel.org/pub/ [...] new 6621cb4a2d0a m68k: muldi3: Use semicolon instead of comma new 8a3c0a74ae87 m68k: defconfig: Update defconfigs for v5.15-rc1 new 03feb7c55c47 Merge tag 'm68k-for-v5.16-tag1' of git://git.kernel.org/pu [...] new 001430c1910d arm64: add CPU field to struct thread_info new 5443f98fb9e0 x86: add CPU field to struct thread_info new bd2e2632556a s390: add CPU field to struct thread_info new 227d735d889e powerpc: add CPU field to struct thread_info new bcf9033e5449 sched: move CPU field back into thread_info if THREAD_INFO [...] new 336868afbaae powerpc: smp: remove hack to obtain offset of task_struct::cpu new 8aa0fb0fbb82 riscv: rely on core code to keep thread_info::cpu updated new d9f2a53f64a6 Merge tag 'pr-move-task-cpu-to-ti' of git://git.kernel.org [...] new 01463374c50e Merge tag 'cpu-to-thread_info-v5.16-rc1' of git://git.kern [...] new f02003c860d9 hardening: Avoid harmless Clang option under CONFIG_INIT_S [...] new 4c78c7271f34 gcc-plugins: remove support for GCC 4.9 and older new 6eb4bd92c1ce kallsyms: strip LTO suffixes from static functions new 8bd51a2ba3c3 gcc-plugins: Explicitly document purpose and deprecation schedule new b4d89579ccb1 gcc-plugins: Remove cyc_complexity new 6425392acf24 gcc-plugins: remove duplicate include in gcc-common.h new f594e28d805a Merge tag 'hardening-v5.16-rc1' of git://git.kernel.org/pu [...] new 3d0107a7fee4 scsi: ibmvscsi: Avoid multi-field memset() overflow by aim [...] new 0e17ad87645c powerpc: Split memset() to avoid multi-field overflow new e7f18c22e6be stddef: Fix kerndoc for sizeof_field() and offsetofend() new 50d7bd38c3aa stddef: Introduce struct_group() helper macro new 301e68dd9b9b cxl/core: Replace unions with struct_group() new 241fe395e8fe bnxt_en: Use struct_group_attr() for memcpy() region new 43d83af8a57a iommu/amd: Use struct_group() for memcpy() region new 10579b75e023 drm/mga/mga_ioc32: Use struct_group() for memcpy() region new 5e423a0c2db6 HID: cp2112: Use struct_group() for memcpy() region new 69dae0fe1073 HID: roccat: Use struct_group() to zero kone_mouse_event new c92a08c1afff can: flexcan: Use struct_group() to zero struct flexcan_re [...] new 8610047ca89f cm4000_cs: Use struct_group() to zero struct cm4000_dev region new c80d92fbb67b compiler_types.h: Remove __compiletime_object_size() new cfecea6ead5f lib/string: Move helper functions out of string.c new c430f60036af fortify: Move remaining fortify helpers into fortify-string.h new a52f8a59aef4 fortify: Explicitly disable Clang support new 072af0c638dc fortify: Fix dropped strcpy() compile-time write overflow check new 369cd2165d7b fortify: Prepare to improve strnlen() and strlen() warnings new 3009f891bb9f fortify: Allow strlen() and strnlen() to pass compile-time [...] new be58f7103700 fortify: Add compile-time FORTIFY_SOURCE tests new bb95ebbe89a7 lib: Introduce CONFIG_MEMCPY_KUNIT_TEST new 4797632f4f1d string.h: Introduce memset_after() for wiping trailing mem [...] new caf283d040f5 xfrm: Use memset_after() to clear padding new 6dbefad40815 string.h: Introduce memset_startat() for wiping trailing m [...] new a2c5062f391b btrfs: Use memset_startat() to clear end of struct new 3080ea5553cc stddef: Introduce DECLARE_FLEX_ARRAY() helper new fa7845cfd53f treewide: Replace open-coded flex arrays in unions new 47c662486ccc treewide: Replace 0-element memcpy() destinations with fle [...] new 9a48e7564ac8 compiler-gcc.h: Define __SANITIZE_ADDRESS__ under hwaddres [...] new 95cadae320be fortify: strlen: Avoid shadowing previous locals new 2dc26d98cfdf Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub [...] new 2f46993d83ff x86: change default to spec_store_bypass_disable=prctl spe [...] new d9bbdbf324cd x86: deduplicate the spectre_v2_user documentation new a5a9e006059e Merge tag 'seccomp-v5.16-rc1' of git://git.kernel.org/pub/ [...] new 2a12e0003580 assoc_array: Avoid open coded arithmetic in allocator arguments new c2e4e3b75623 xfs: Use kvcalloc() instead of kvzalloc() new 98b160c828f3 writeback: prefer struct_size over open coded arithmetic new 6446c4fb12ec aio: Prefer struct_size over open coded arithmetic new 5dfbbb668af9 KVM: PPC: Replace zero-length array with flexible array member new 50740d5de614 dmaengine: pxa_dma: Prefer struct_size over open coded arithmetic new 2ac5fb35cd52 firmware/psci: fix application of sizeof to pointer new 71e4bbca070e nouveau/svm: Use kvcalloc() instead of kvzalloc() new ebe4560ed5c8 firewire: Remove function callback casts new bf953917bed6 Merge tag 'kspp-misc-fixes-5.16-rc1' of git://git.kernel.o [...] new 6a7391ed6c77 scsi: st: Fix fall-through warning for Clang new 25d7b70e0202 MIPS: Fix fall-through warnings for Clang new 02900f428d3c pcmcia: db1xxx_ss: Fix fall-through warning for Clang new f2786f43c983 Merge tag 'fallthrough-fixes-clang-5.16-rc1' of git://git. [...] new 0817534ff9ea smackfs: Fix use-after-free in netlbl_catmap_walk() new 222a96b31c24 smack: Guard smack_ipv6_lock definition within a SMACK_IPV [...] new 387ef964460f Smack:- Use overlay inode label in smack_inode_copy_up() new f8de49ef9252 smack: remove duplicated hook function new b57d02091b8f Smack: fix W=1 build warnings new f91488ee15bd smackfs: use __GFP_NOFAIL for smk_cipso_doi() new 0934ad42bb2c smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi new 6f2b76a4a384 Merge tag 'Smack-for-5.16' of https://github.com/cschaufle [...]
The 213 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: Documentation/admin-guide/hw-vuln/spectre.rst | 61 +-- Documentation/admin-guide/kernel-parameters.txt | 5 +- Documentation/arm64/booting.rst | 10 + Documentation/arm64/cpu-feature-registers.rst | 12 +- Documentation/arm64/elf_hwcaps.rst | 4 + Documentation/arm64/silicon-errata.rst | 12 + Documentation/dev-tools/kasan.rst | 7 +- .../core/thread-info-in-task/arch-support.txt | 2 +- Documentation/kbuild/gcc-plugins.rst | 28 +- MAINTAINERS | 9 + Makefile | 6 +- arch/arm/boot/compressed/string.c | 1 + arch/arm64/Kconfig | 122 ++++- arch/arm64/include/asm/arch_timer.h | 32 +- arch/arm64/include/asm/asm-extable.h | 95 ++++ arch/arm64/include/asm/asm-uaccess.h | 7 +- arch/arm64/include/asm/assembler.h | 78 ++-- arch/arm64/include/asm/barrier.h | 16 +- arch/arm64/include/asm/cputype.h | 4 + arch/arm64/include/asm/esr.h | 6 + arch/arm64/include/asm/extable.h | 23 +- arch/arm64/include/asm/fpsimd.h | 118 ++++- arch/arm64/include/asm/fpsimdmacros.h | 21 +- arch/arm64/include/asm/ftrace.h | 2 +- arch/arm64/include/asm/futex.h | 25 +- arch/arm64/include/asm/gpr-num.h | 26 ++ arch/arm64/include/asm/hwcap.h | 1 + arch/arm64/include/asm/kexec.h | 12 + arch/arm64/include/asm/kvm_asm.h | 7 +- arch/arm64/include/asm/memory.h | 1 + arch/arm64/include/asm/mmu_context.h | 24 + arch/arm64/include/asm/mte-kasan.h | 5 + arch/arm64/include/asm/mte.h | 8 +- arch/arm64/include/asm/page.h | 1 - arch/arm64/include/asm/pgtable.h | 5 + arch/arm64/include/asm/processor.h | 49 +- arch/arm64/include/asm/sections.h | 1 + arch/arm64/include/asm/setup.h | 6 + arch/arm64/include/asm/sysreg.h | 31 +- arch/arm64/include/asm/thread_info.h | 3 +- arch/arm64/include/asm/trans_pgd.h | 14 +- arch/arm64/include/asm/uaccess.h | 30 +- arch/arm64/include/asm/vdso/compat_barrier.h | 7 - arch/arm64/include/asm/virt.h | 7 + arch/arm64/include/asm/vmalloc.h | 4 +- arch/arm64/include/asm/word-at-a-time.h | 21 +- arch/arm64/include/uapi/asm/hwcap.h | 1 + arch/arm64/kernel/armv8_deprecated.c | 12 +- arch/arm64/kernel/asm-offsets.c | 13 +- arch/arm64/kernel/cpu-reset.S | 7 +- arch/arm64/kernel/cpu-reset.h | 32 -- arch/arm64/kernel/cpu_errata.c | 64 +++ arch/arm64/kernel/cpufeature.c | 29 +- arch/arm64/kernel/cpuinfo.c | 1 + arch/arm64/kernel/entry-fpsimd.S | 34 +- arch/arm64/kernel/entry.S | 10 +- arch/arm64/kernel/fpsimd.c | 342 ++++++++------ arch/arm64/kernel/head.S | 2 +- arch/arm64/kernel/hibernate-asm.S | 72 --- arch/arm64/kernel/hibernate.c | 49 +- arch/arm64/kernel/machine_kexec.c | 177 +++---- arch/arm64/kernel/mte.c | 67 ++- arch/arm64/kernel/ptrace.c | 6 +- arch/arm64/kernel/relocate_kernel.S | 69 ++- arch/arm64/kernel/sdei.c | 2 +- arch/arm64/kernel/signal.c | 8 +- arch/arm64/kernel/traps.c | 24 +- arch/arm64/kernel/vdso32/Makefile | 36 +- arch/arm64/kernel/vmlinux.lds.S | 22 +- arch/arm64/kvm/hyp/fpsimd.S | 6 +- arch/arm64/kvm/hyp/include/hyp/switch.h | 10 +- arch/arm64/kvm/reset.c | 6 +- arch/arm64/lib/clear_user.S | 10 +- arch/arm64/lib/copy_from_user.S | 8 +- arch/arm64/lib/copy_to_user.S | 8 +- arch/arm64/mm/Makefile | 1 + arch/arm64/mm/extable.c | 85 +++- arch/arm64/mm/hugetlbpage.c | 27 +- arch/arm64/mm/init.c | 39 -- arch/arm64/mm/mmu.c | 5 + arch/arm64/mm/trans_pgd-asm.S | 65 +++ arch/arm64/mm/trans_pgd.c | 84 +--- arch/arm64/net/bpf_jit_comp.c | 9 +- arch/arm64/tools/cpucaps | 5 + arch/m68k/configs/amiga_defconfig | 7 +- arch/m68k/configs/apollo_defconfig | 7 +- arch/m68k/configs/atari_defconfig | 7 +- arch/m68k/configs/bvme6000_defconfig | 7 +- arch/m68k/configs/hp300_defconfig | 7 +- arch/m68k/configs/mac_defconfig | 7 +- arch/m68k/configs/multi_defconfig | 7 +- arch/m68k/configs/mvme147_defconfig | 7 +- arch/m68k/configs/mvme16x_defconfig | 7 +- arch/m68k/configs/q40_defconfig | 7 +- arch/m68k/configs/sun3_defconfig | 7 +- arch/m68k/configs/sun3x_defconfig | 7 +- arch/m68k/lib/muldi3.c | 2 +- arch/mips/alchemy/devboards/db1550.c | 1 + arch/mips/kernel/uprobes.c | 1 + arch/parisc/Kconfig | 22 +- arch/parisc/boot/compressed/Makefile | 9 +- arch/parisc/configs/generic-32bit_defconfig | 9 +- arch/parisc/configs/generic-64bit_defconfig | 21 +- arch/parisc/include/asm/assembly.h | 32 ++ arch/parisc/include/asm/bitops.h | 10 - arch/parisc/include/asm/current.h | 19 + arch/parisc/include/asm/futex.h | 3 - arch/parisc/include/asm/ide.h | 4 - arch/parisc/include/asm/kfence.h | 44 ++ arch/parisc/include/asm/mckinley.h | 2 - arch/parisc/include/asm/pdc.h | 2 + arch/parisc/include/asm/processor.h | 11 +- arch/parisc/include/asm/ptrace.h | 6 +- arch/parisc/include/asm/runway.h | 2 - arch/parisc/include/asm/smp.h | 19 +- arch/parisc/include/asm/thread_info.h | 12 +- arch/parisc/include/asm/traps.h | 1 + arch/parisc/include/asm/unaligned.h | 2 - arch/parisc/include/uapi/asm/pdc.h | 28 +- arch/parisc/kernel/Makefile | 1 + arch/parisc/kernel/asm-offsets.c | 34 +- arch/parisc/kernel/cache.c | 87 ++-- arch/parisc/kernel/entry.S | 90 ++-- arch/parisc/kernel/firmware.c | 32 ++ arch/parisc/kernel/ftrace.c | 21 +- arch/parisc/kernel/head.S | 40 +- arch/parisc/kernel/irq.c | 6 +- arch/parisc/kernel/pdt.c | 4 +- arch/parisc/kernel/process.c | 4 +- arch/parisc/kernel/smp.c | 25 +- arch/parisc/kernel/stacktrace.c | 30 +- arch/parisc/kernel/sys_parisc.c | 10 +- arch/parisc/kernel/syscall.S | 26 +- arch/parisc/kernel/toc.c | 111 +++++ arch/parisc/kernel/toc_asm.S | 88 ++++ arch/parisc/kernel/traps.c | 7 +- arch/parisc/kernel/unwind.c | 34 +- arch/parisc/lib/bitops.c | 12 +- arch/parisc/mm/fault.c | 2 +- arch/parisc/mm/fixmap.c | 5 +- arch/parisc/mm/init.c | 10 +- arch/powerpc/Makefile | 11 - arch/powerpc/include/asm/kvm_host.h | 2 +- arch/powerpc/include/asm/smp.h | 17 +- arch/powerpc/include/asm/thread_info.h | 3 + arch/powerpc/kernel/asm-offsets.c | 4 +- arch/powerpc/kernel/smp.c | 2 +- arch/powerpc/kvm/book3s_64_vio.c | 3 +- arch/riscv/kernel/asm-offsets.c | 1 - arch/riscv/kernel/entry.S | 5 - arch/riscv/kernel/head.S | 1 - arch/s390/include/asm/thread_info.h | 1 + arch/s390/lib/string.c | 3 + arch/x86/boot/compressed/misc.h | 2 + arch/x86/boot/compressed/pgtable_64.c | 2 + arch/x86/include/asm/thread_info.h | 3 + arch/x86/kernel/cpu/bugs.c | 4 +- arch/x86/lib/string_32.c | 1 + drivers/char/pcmcia/cm4000_cs.c | 9 +- drivers/crypto/chelsio/chcr_crypto.h | 14 +- drivers/cxl/cxl.h | 61 +-- drivers/dma/pxa_dma.c | 3 +- drivers/firewire/core-cdev.c | 32 +- drivers/firmware/psci/psci_checker.c | 2 +- drivers/gpu/drm/mga/mga_ioc32.c | 27 +- drivers/gpu/drm/nouveau/nouveau_svm.c | 2 +- drivers/hid/hid-cp2112.c | 14 +- drivers/hid/hid-roccat-kone.c | 2 +- drivers/hid/hid-roccat-kone.h | 12 +- drivers/iommu/amd/init.c | 9 +- drivers/macintosh/smu.c | 3 +- drivers/net/can/flexcan.c | 68 +-- drivers/net/can/usb/etas_es58x/es581_4.h | 2 +- drivers/net/can/usb/etas_es58x/es58x_fd.h | 2 +- drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c | 4 +- drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h | 14 +- drivers/net/wireless/ath/ath10k/bmi.h | 10 +- drivers/net/wireless/ath/ath10k/htt.h | 7 +- drivers/net/wireless/intel/iwlegacy/commands.h | 6 +- drivers/net/wireless/intel/iwlwifi/dvm/commands.h | 6 +- drivers/net/wireless/intel/iwlwifi/fw/api/tx.h | 12 +- drivers/pcmcia/db1xxx_ss.c | 1 + drivers/perf/Kconfig | 12 +- drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 2 +- drivers/perf/thunderx2_pmu.c | 2 +- drivers/scsi/aic94xx/aic94xx_sds.c | 6 +- drivers/scsi/ibmvscsi/ibmvscsi.c | 3 +- drivers/scsi/qla4xxx/ql4_def.h | 4 +- drivers/staging/r8188eu/include/ieee80211.h | 6 +- drivers/staging/rtl8712/ieee80211.h | 4 +- drivers/staging/rtl8723bs/include/ieee80211.h | 6 +- fs/aio.c | 3 +- fs/btrfs/root-tree.c | 6 +- fs/fs-writeback.c | 6 +- fs/hpfs/hpfs.h | 8 +- fs/xfs/xfs_ioctl.c | 6 +- include/linux/compiler-gcc.h | 10 +- include/linux/compiler_types.h | 5 - include/linux/filter.h | 6 +- include/linux/firewire.h | 11 +- include/linux/fortify-string.h | 77 +++- include/linux/ieee80211.h | 30 +- include/linux/kasan.h | 9 +- include/linux/sched.h | 13 +- include/linux/sched/task_stack.h | 4 + include/linux/stddef.h | 65 ++- include/linux/string.h | 44 +- include/linux/thread_info.h | 2 +- include/scsi/sas.h | 12 +- include/uapi/drm/mga_drm.h | 22 +- include/uapi/linux/dlm_device.h | 4 +- include/uapi/linux/stddef.h | 37 ++ include/uapi/rdma/rdma_user_rxe.h | 4 +- include/uapi/sound/asoc.h | 4 +- kernel/dma/mapping.c | 4 - kernel/kallsyms.c | 46 +- kernel/sched/sched.h | 4 - kernel/scs.c | 1 + lib/.gitignore | 2 + lib/Kconfig.debug | 11 + lib/Makefile | 34 ++ lib/assoc_array.c | 22 +- lib/memcpy_kunit.c | 289 ++++++++++++ lib/string.c | 210 +-------- lib/string_helpers.c | 195 ++++++++ lib/test_fortify/read_overflow-memchr.c | 5 + lib/test_fortify/read_overflow-memchr_inv.c | 5 + lib/test_fortify/read_overflow-memcmp.c | 5 + lib/test_fortify/read_overflow-memscan.c | 5 + lib/test_fortify/read_overflow2-memcmp.c | 5 + lib/test_fortify/read_overflow2-memcpy.c | 5 + lib/test_fortify/read_overflow2-memmove.c | 5 + lib/test_fortify/test_fortify.h | 35 ++ lib/test_fortify/write_overflow-memcpy.c | 5 + lib/test_fortify/write_overflow-memmove.c | 5 + lib/test_fortify/write_overflow-memset.c | 5 + lib/test_fortify/write_overflow-strcpy-lit.c | 5 + lib/test_fortify/write_overflow-strcpy.c | 5 + lib/test_fortify/write_overflow-strlcpy-src.c | 5 + lib/test_fortify/write_overflow-strlcpy.c | 5 + lib/test_fortify/write_overflow-strncpy-src.c | 5 + lib/test_fortify/write_overflow-strncpy.c | 5 + lib/test_fortify/write_overflow-strscpy.c | 5 + lib/test_kasan.c | 2 +- mm/kasan/hw_tags.c | 29 +- mm/kasan/kasan.h | 32 +- mm/kasan/report.c | 2 +- net/xfrm/xfrm_policy.c | 4 +- net/xfrm/xfrm_user.c | 2 +- scripts/Makefile.gcc-plugins | 2 - scripts/gcc-plugins/Kconfig | 20 +- scripts/gcc-plugins/cyc_complexity_plugin.c | 69 --- scripts/gcc-plugins/gcc-common.h | 132 +----- scripts/gcc-plugins/gcc-generate-gimple-pass.h | 19 - scripts/gcc-plugins/gcc-generate-ipa-pass.h | 19 - scripts/gcc-plugins/gcc-generate-rtl-pass.h | 19 - scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | 19 - scripts/gcc-plugins/structleak_plugin.c | 2 - scripts/kernel-doc | 9 + scripts/sorttable.c | 30 ++ scripts/test_fortify.sh | 62 +++ security/Kconfig | 3 + security/Kconfig.hardening | 14 +- security/smack/smack_lsm.c | 41 +- security/smack/smack_netfilter.c | 26 +- security/smack/smackfs.c | 11 +- tools/testing/selftests/arm64/fp/Makefile | 6 +- tools/testing/selftests/arm64/fp/TODO | 9 +- tools/testing/selftests/arm64/fp/asm-utils.S | 172 +++++++ tools/testing/selftests/arm64/fp/assembler.h | 11 + tools/testing/selftests/arm64/fp/fpsimd-test.S | 164 ------- tools/testing/selftests/arm64/fp/sve-ptrace-asm.S | 33 -- tools/testing/selftests/arm64/fp/sve-ptrace.c | 511 +++++++++++++++------ tools/testing/selftests/arm64/fp/sve-test.S | 163 ------- tools/testing/selftests/arm64/fp/vec-syscfg.c | 95 +++- 275 files changed, 4233 insertions(+), 2698 deletions(-) create mode 100644 arch/arm64/include/asm/asm-extable.h create mode 100644 arch/arm64/include/asm/gpr-num.h delete mode 100644 arch/arm64/kernel/cpu-reset.h create mode 100644 arch/arm64/mm/trans_pgd-asm.S create mode 100644 arch/parisc/include/asm/current.h create mode 100644 arch/parisc/include/asm/kfence.h create mode 100644 arch/parisc/kernel/toc.c create mode 100644 arch/parisc/kernel/toc_asm.S create mode 100644 lib/memcpy_kunit.c create mode 100644 lib/test_fortify/read_overflow-memchr.c create mode 100644 lib/test_fortify/read_overflow-memchr_inv.c create mode 100644 lib/test_fortify/read_overflow-memcmp.c create mode 100644 lib/test_fortify/read_overflow-memscan.c create mode 100644 lib/test_fortify/read_overflow2-memcmp.c create mode 100644 lib/test_fortify/read_overflow2-memcpy.c create mode 100644 lib/test_fortify/read_overflow2-memmove.c create mode 100644 lib/test_fortify/test_fortify.h create mode 100644 lib/test_fortify/write_overflow-memcpy.c create mode 100644 lib/test_fortify/write_overflow-memmove.c create mode 100644 lib/test_fortify/write_overflow-memset.c create mode 100644 lib/test_fortify/write_overflow-strcpy-lit.c create mode 100644 lib/test_fortify/write_overflow-strcpy.c create mode 100644 lib/test_fortify/write_overflow-strlcpy-src.c create mode 100644 lib/test_fortify/write_overflow-strlcpy.c create mode 100644 lib/test_fortify/write_overflow-strncpy-src.c create mode 100644 lib/test_fortify/write_overflow-strncpy.c create mode 100644 lib/test_fortify/write_overflow-strscpy.c delete mode 100644 scripts/gcc-plugins/cyc_complexity_plugin.c create mode 100644 scripts/test_fortify.sh create mode 100644 tools/testing/selftests/arm64/fp/asm-utils.S delete mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace-asm.S