hi, The following patches are for OpenHarmony 5.10 kernel. These patches refer to some bugfixes (crypto/jbd2/block/scsi/perf/net, etc) from upstream or local test. ------------------------------------------------------------- Andrew Morton (1): mm/vmalloc.c:__vmalloc_area_node(): avoid 32-bit overflow Andrey Konovalov (1): kasan: fix conflict with page poisoning Ard Biesheuvel (11): arm64: assembler: add cond_yield macro crypto: arm64/sha1-ce - simplify NEON yield crypto: arm64/sha2-ce - simplify NEON yield crypto: arm64/sha3-ce - simplify NEON yield crypto: arm64/sha512-ce - simplify NEON yield crypto: arm64/aes-neonbs - remove NEON yield calls crypto: arm64/aes-ce-mac - simplify NEON yield crypto: arm64/crc-t10dif - move NEON yield to C code arm64: assembler: remove conditional NEON yield macros arm64: assembler: introduce wxN aliases for wN registers arm64: fpsimd: run kernel mode NEON with softirqs disabled Arnaldo Carvalho de Melo (1): perf parse-events: Check if the software events array slots are populated Athira Rajeev (1): powerpc/perf: Invoke per-CPU variable access with disabled interrupts Christoph Hellwig (1): writeback: don't warn on an unregistered BDI in __mark_inode_dirty Cui GaoSheng (1): arm32: kaslr: Fix the bitmap error Dan Williams (1): mm: fix page reference leak in soft_offline_page() Eric W. Biederman (2): exec: Don't open code get_close_on_exec exec: Move unshare_files to fix posix file locking during exec Eyal Birger (2): vti: fix ipv4 pmtu check to honor ip header df vti6: fix ipv4 pmtu check to honor ip header df Gong, Sishuai (1): net: fix a concurrency bug in l2tp_tunnel_register() Huang Guobin (1): netfilter: nftables: avoid potential overflows on 32bit arches Ido Schimmel (1): netfilter: Dissect flow after packet mangling Jakub Kicinski (1): net: make sure devices go through netdev_wait_all_refs Jan Kara (1): bdev: Do not return EBUSY if bdev discard races with write Jason Yan (1): scsi: core: Treat device offline as a failure Jeffle Xu (1): block: fix inflight statistics of part0 Jia Cheng Hu (1): block, bfq: set next_rq to waker_bfqq->next_rq in waker injection Jia-Ju Bai (1): crypto: sun8i-ce - fix error return code in sun8i_ce_prng_generate() Jianlin Lv (1): perf tools: Fix arm64 build error with gcc-11 Kefeng Wang (6): ARM: mm: Rafactor the __do_page_fault() ARM: mm: Kill task_struct argument for __do_page_fault() ARM: mm: Cleanup access_error() ARM: mm: Kill page table base print in show_pte() ARM: mm: Provide die_kernel_fault() helper ARM: mm: Fix PXN process with LPAE feature Liu Jian (1): igmp: Add ip_mc_list lock in ip_check_mc_rcu Liu Xiang (1): mm: hugetlb: fix type of delta parameter and related local variables in gather_surplus_pages() Marco Elver (1): kcsan: Never set up watchpoints on NULL pointers Martin K. Petersen (1): Revert "Revert "scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug"" Martin Liška (1): perf annotate: Fix jump parsing for C++ code. Mike Christie (6): scsi: libiscsi: Drop taskqueuelock scsi: libiscsi: Fix iscsi_task use after free() scsi: libiscsi: Fix iSCSI host workq destruction scsi: libiscsi: Add helper to calculate max SCSI cmds per session scsi: iscsi_tcp: Fix shost can_queue initialization scsi: libiscsi: Reset max/exp cmdsn during recovery Ming Lei (3): blk-mq: add new API of blk_mq_hctx_set_fq_lock_class nvme-loop: use blk_mq_hctx_set_fq_lock_class to set loop's lock class Revert "block: Fix a lockdep complaint triggered by request queue flushing" Mingrui Ren (1): tty/serial/imx: Enable TXEN bit in imx_poll_init(). Muchun Song (2): mm/page_alloc: speed up the iteration of max_order mm/page_isolation: do not isolate the max order page Namhyung Kim (1): perf record: Fix memory leak in vDSO found using ASAN Ondrej Mosnacek (1): debugfs: fix security_locked_down() call for SELinux Riccardo Mancini (2): perf env: Fix memory leak of bpf_prog_info_linear member perf symbol-elf: Fix memory leak by freeing sdt_note.args Sargun Dhillon (2): NFS: NFSv2/NFSv3: Use cred from fs_context during mount NFSv4: Refactor to use user namespaces for nfs4idmap Theodore Ts'o (2): ext4: fix possible UAF when remounting r/o a mmp-protected file system ext4: inline jbd2_journal_[un]register_shrinker() Tian Tao (2): mm/zswap: add the flag can_sleep_mapped mm: set the sleep_mapped to true for zbud and z3fold Vijayanand Jitta (1): mm: vmalloc: prevent use after free in _vm_unmap_aliases Vlad Buslov (1): net: fib_notifier: don't return positive values on fib registration Walter Wu (1): kasan: fix null pointer dereference in kasan_record_aux_stack Wang Hai (1): usb: gadget: rndis: Fix info leak of rndis Yang Li (1): crypto: nx - add missing call to of_node_put() Yang Shi (1): mm: vmscan: use a new flag to indicate shrinker is registered Ye Bin (1): ext4: fix WARN_ON_ONCE(!buffer_uptodate) after an error writing the superblock Yonghong Song (1): bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper YueHaibing (1): mm/zswap: fix passing zero to 'PTR_ERR' warning Yufen Yu (2): scsi: remove unused kobj map for sd devie to avoid memleak block: check disk exist before trying to add partition Zhang Yi (9): jbd2: remove the out label in __jbd2_journal_remove_checkpoint() jbd2: ensure abort the journal if detect IO error when writing original buffer back jbd2: don't abort the journal when freeing buffers jbd2: remove redundant buffer io error checks jbd2,ext4: add a shrinker to release checkpointed buffers jbd2: simplify journal_clean_one_cp_list() ext4: remove bdev_try_to_free_page() callback fs: remove bdev_try_to_free_page callback jbd2: export jbd2_journal_[un]register_shrinker() Zhihao Cheng (2): mtd: mtd_blkdevs: Initialize rq.limits.discard_granularity ubifs: Remove ui_mutex in ubifs_xattr_get and change_xattr zhangyi (F) (2): block_dump: remove block_dump feature block_dump: remove comments in docs .../admin-guide/laptops/laptop-mode.rst | 11 - Documentation/admin-guide/sysctl/vm.rst | 8 - arch/arm/boot/compressed/kaslr.c | 17 +- arch/arm/mm/fault.c | 119 +++--- arch/arm/mm/fault.h | 4 + arch/arm64/crypto/aes-glue.c | 21 +- arch/arm64/crypto/aes-modes.S | 52 +-- arch/arm64/crypto/aes-neonbs-core.S | 8 +- arch/arm64/crypto/crct10dif-ce-core.S | 43 +-- arch/arm64/crypto/crct10dif-ce-glue.c | 30 +- arch/arm64/crypto/sha1-ce-core.S | 47 +-- arch/arm64/crypto/sha1-ce-glue.c | 22 +- arch/arm64/crypto/sha2-ce-core.S | 38 +- arch/arm64/crypto/sha2-ce-glue.c | 22 +- arch/arm64/crypto/sha3-ce-core.S | 81 ++--- arch/arm64/crypto/sha3-ce-glue.c | 14 +- arch/arm64/crypto/sha512-ce-core.S | 29 +- arch/arm64/crypto/sha512-ce-glue.c | 53 ++- arch/arm64/include/asm/assembler.h | 100 ++---- arch/arm64/kernel/asm-offsets.c | 2 + arch/arm64/kernel/fpsimd.c | 4 +- arch/powerpc/perf/core-book3s.c | 10 +- block/bfq-iosched.c | 2 +- block/blk-core.c | 9 - block/blk-flush.c | 30 +- block/blk-mq.c | 3 +- block/blk.h | 1 - block/genhd.c | 8 + block/partitions/core.c | 19 +- drivers/base/map.c | 28 ++ .../crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 1 + drivers/crypto/nx/nx-common-powernv.c | 4 +- drivers/mtd/mtd_blkdevs.c | 1 + drivers/nvme/target/loop.c | 10 + drivers/scsi/bnx2i/bnx2i_iscsi.c | 2 - drivers/scsi/iscsi_tcp.c | 9 +- drivers/scsi/libiscsi.c | 339 +++++++++++------- drivers/scsi/libiscsi_tcp.c | 86 +++-- drivers/scsi/megaraid/megaraid_sas_base.c | 39 ++ drivers/scsi/megaraid/megaraid_sas_fusion.c | 29 +- drivers/scsi/sd.c | 1 + drivers/tty/serial/imx.c | 2 +- drivers/usb/gadget/composite.c | 2 +- drivers/usb/gadget/function/rndis.c | 37 +- fs/block_dev.c | 25 +- fs/debugfs/inode.c | 9 +- fs/exec.c | 32 +- fs/ext4/ext4_jbd2.c | 2 +- fs/ext4/mmp.c | 31 +- fs/ext4/super.c | 39 +- fs/fs-writeback.c | 4 - fs/jbd2/checkpoint.c | 206 +++++++++-- fs/jbd2/journal.c | 74 ++++ fs/jbd2/transaction.c | 17 - fs/nfs/client.c | 4 +- fs/nfs/nfs4client.c | 2 +- fs/ubifs/xattr.c | 4 - include/linux/blk-mq.h | 3 + include/linux/bpf-cgroup.h | 57 ++- include/linux/bpf.h | 43 ++- include/linux/fs.h | 1 - include/linux/genhd.h | 2 + include/linux/jbd2.h | 35 ++ include/linux/kobj_map.h | 2 + include/linux/shrinker.h | 7 +- include/linux/writeback.h | 1 - include/linux/zpool.h | 3 + include/scsi/libiscsi.h | 6 +- include/scsi/scsi.h | 54 +-- include/trace/events/jbd2.h | 101 ++++++ kernel/bpf/helpers.c | 15 +- kernel/bpf/local_storage.c | 5 +- kernel/kcsan/encoding.h | 6 +- kernel/sysctl.c | 8 - mm/hugetlb.c | 7 +- mm/kasan/generic.c | 2 + mm/memory-failure.c | 20 +- mm/page-writeback.c | 5 - mm/page_alloc.c | 8 +- mm/page_isolation.c | 2 +- mm/page_poison.c | 4 +- mm/vmalloc.c | 6 +- mm/vmscan.c | 39 +- mm/z3fold.c | 1 + mm/zbud.c | 1 + mm/zpool.c | 13 + mm/zswap.c | 52 ++- net/bpf/test_run.c | 6 +- net/core/dev.c | 14 +- net/ipv4/igmp.c | 2 + net/ipv4/ip_vti.c | 6 +- net/ipv4/netfilter.c | 2 + net/ipv6/ip6_fib.c | 5 +- net/ipv6/ip6_vti.c | 6 +- net/ipv6/netfilter.c | 2 + net/l2tp/l2tp_core.c | 10 +- net/netfilter/nf_tables_api.c | 7 +- net/netfilter/nft_set_hash.c | 10 +- tools/perf/arch/arm/include/perf_regs.h | 2 +- tools/perf/arch/arm64/include/perf_regs.h | 2 +- tools/perf/arch/csky/include/perf_regs.h | 2 +- tools/perf/arch/powerpc/include/perf_regs.h | 2 +- tools/perf/arch/riscv/include/perf_regs.h | 2 +- tools/perf/arch/s390/include/perf_regs.h | 2 +- tools/perf/arch/x86/include/perf_regs.h | 2 +- tools/perf/util/annotate.c | 8 + tools/perf/util/annotate.h | 1 + tools/perf/util/env.c | 1 + tools/perf/util/parse-events.c | 9 +- tools/perf/util/perf_regs.h | 7 + tools/perf/util/symbol-elf.c | 1 + tools/perf/util/vdso.c | 2 + 112 files changed, 1560 insertions(+), 908 deletions(-) -- 2.22.0