[PATCH 5.15 00/33] 5.15.37-rc1 review

Greg Kroah-Hartman posted 33 patches 4 years ago
Makefile                                           |   4 +-
arch/arm/boot/dts/socfpga.dtsi                     |   2 +-
arch/arm/boot/dts/socfpga_arria10.dtsi             |   2 +-
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi  |   2 +-
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi      |   2 +-
arch/powerpc/kernel/kvm.c                          |   3 +-
arch/powerpc/kernel/signal_32.c                    |   4 +-
arch/powerpc/kernel/signal_64.c                    |   2 +-
arch/x86/kernel/fpu/signal.c                       |   7 +-
drivers/block/Kconfig                              |  16 +
drivers/block/floppy.c                             |  43 +-
drivers/gpu/drm/armada/armada_gem.c                |   7 +-
drivers/spi/spi-cadence-quadspi.c                  |  24 +-
fs/btrfs/file.c                                    | 142 +++++-
fs/btrfs/inode.c                                   |  28 ++
fs/btrfs/ioctl.c                                   |   5 +-
fs/erofs/data.c                                    |   2 +-
fs/ext4/file.c                                     |   5 +-
fs/f2fs/file.c                                     |   2 +-
fs/fuse/file.c                                     |   2 +-
fs/gfs2/bmap.c                                     |  60 +--
fs/gfs2/file.c                                     | 252 ++++++++++-
fs/gfs2/glock.c                                    | 330 ++++++++++----
fs/gfs2/glock.h                                    |  20 +
fs/gfs2/incore.h                                   |   4 +-
fs/iomap/buffered-io.c                             |   2 +-
fs/iomap/direct-io.c                               |  29 +-
fs/ntfs/file.c                                     |   2 +-
fs/ntfs3/file.c                                    |   2 +-
fs/xfs/xfs_file.c                                  |   6 +-
fs/zonefs/super.c                                  |   4 +-
include/linux/bpf.h                                | 101 ++++-
include/linux/bpf_verifier.h                       |  18 +
include/linux/iomap.h                              |  11 +-
include/linux/mm.h                                 |   3 +-
include/linux/pagemap.h                            |  58 +--
include/linux/uio.h                                |   4 +-
kernel/bpf/btf.c                                   |  16 +-
kernel/bpf/cgroup.c                                |   2 +-
kernel/bpf/helpers.c                               |  12 +-
kernel/bpf/map_iter.c                              |   4 +-
kernel/bpf/ringbuf.c                               |   2 +-
kernel/bpf/syscall.c                               |   2 +-
kernel/bpf/verifier.c                              | 488 ++++++++++-----------
kernel/trace/bpf_trace.c                           |  22 +-
lib/iov_iter.c                                     |  98 ++++-
mm/filemap.c                                       |   4 +-
mm/gup.c                                           | 120 ++++-
mm/kfence/core.c                                   |  11 +-
mm/kfence/kfence.h                                 |   3 +
net/core/bpf_sk_storage.c                          |   2 +-
net/core/filter.c                                  |  64 +--
net/core/sock_map.c                                |   2 +-
tools/testing/selftests/bpf/prog_tests/ksyms_btf.c |  14 +
.../bpf/progs/test_ksyms_btf_write_check.c         |  29 ++
tools/testing/selftests/bpf/verifier/calls.c       |  19 +
56 files changed, 1472 insertions(+), 652 deletions(-)
[PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Greg Kroah-Hartman 4 years ago
This is the start of the stable review cycle for the 5.15.37 release.
There are 33 patches in this series, all will be posted as a response
to this one.  If anyone has any issues with these being applied, please
let me know.

Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
	https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.37-rc1.gz
or in the git tree and branch at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 5.15.37-rc1

Kumar Kartikeya Dwivedi <memxor@gmail.com>
    selftests/bpf: Add test for reg2btf_ids out of bounds access

Linus Torvalds <torvalds@linux-foundation.org>
    mm: gup: make fault_in_safe_writeable() use fixup_user_fault()

Filipe Manana <fdmanana@suse.com>
    btrfs: fallback to blocking mode when doing async dio over multiple extents

Filipe Manana <fdmanana@suse.com>
    btrfs: fix deadlock due to page faults during direct IO reads and writes

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Fix mmap + page fault deadlocks for direct I/O

Andreas Gruenbacher <agruenba@redhat.com>
    iov_iter: Introduce nofault flag to disable page faults

Andreas Gruenbacher <agruenba@redhat.com>
    gup: Introduce FOLL_NOFAULT flag to disable page faults

Andreas Gruenbacher <agruenba@redhat.com>
    iomap: Add done_before argument to iomap_dio_rw

Andreas Gruenbacher <agruenba@redhat.com>
    iomap: Support partial direct I/O on user copy failures

Andreas Gruenbacher <agruenba@redhat.com>
    iomap: Fix iomap_dio_rw return value for user copies

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Fix mmap + page fault deadlocks for buffered I/O

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Eliminate ip->i_gh

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Move the inode glock locking to gfs2_file_buffered_write

Bob Peterson <rpeterso@redhat.com>
    gfs2: Introduce flag for glock holder auto-demotion

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Clean up function may_grant

Andreas Gruenbacher <agruenba@redhat.com>
    gfs2: Add wrapper for iomap_file_buffered_write

Andreas Gruenbacher <agruenba@redhat.com>
    iov_iter: Introduce fault_in_iov_iter_writeable

Andreas Gruenbacher <agruenba@redhat.com>
    iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable

Andreas Gruenbacher <agruenba@redhat.com>
    gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}

Muchun Song <songmuchun@bytedance.com>
    mm: kfence: fix objcgs vector allocation

Dinh Nguyen <dinguyen@kernel.org>
    ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"

Dinh Nguyen <dinguyen@kernel.org>
    spi: cadence-quadspi: fix write completion support

Kumar Kartikeya Dwivedi <memxor@gmail.com>
    bpf: Fix crash due to out of bounds access into reg2btf_ids.

Hao Luo <haoluo@google.com>
    bpf/selftests: Test PTR_TO_RDONLY_MEM

Hao Luo <haoluo@google.com>
    bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.

Hao Luo <haoluo@google.com>
    bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM.

Hao Luo <haoluo@google.com>
    bpf: Convert PTR_TO_MEM_OR_NULL to composable types.

Hao Luo <haoluo@google.com>
    bpf: Introduce MEM_RDONLY flag

Hao Luo <haoluo@google.com>
    bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL

Hao Luo <haoluo@google.com>
    bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULL

Hao Luo <haoluo@google.com>
    bpf: Replace ARG_XXX_OR_NULL with ARG_XXX | PTR_MAYBE_NULL

Hao Luo <haoluo@google.com>
    bpf: Introduce composable reg, ret and arg types.

Willy Tarreau <w@1wt.eu>
    floppy: disable FDRAWCMD by default


-------------

Diffstat:

 Makefile                                           |   4 +-
 arch/arm/boot/dts/socfpga.dtsi                     |   2 +-
 arch/arm/boot/dts/socfpga_arria10.dtsi             |   2 +-
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi  |   2 +-
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi      |   2 +-
 arch/powerpc/kernel/kvm.c                          |   3 +-
 arch/powerpc/kernel/signal_32.c                    |   4 +-
 arch/powerpc/kernel/signal_64.c                    |   2 +-
 arch/x86/kernel/fpu/signal.c                       |   7 +-
 drivers/block/Kconfig                              |  16 +
 drivers/block/floppy.c                             |  43 +-
 drivers/gpu/drm/armada/armada_gem.c                |   7 +-
 drivers/spi/spi-cadence-quadspi.c                  |  24 +-
 fs/btrfs/file.c                                    | 142 +++++-
 fs/btrfs/inode.c                                   |  28 ++
 fs/btrfs/ioctl.c                                   |   5 +-
 fs/erofs/data.c                                    |   2 +-
 fs/ext4/file.c                                     |   5 +-
 fs/f2fs/file.c                                     |   2 +-
 fs/fuse/file.c                                     |   2 +-
 fs/gfs2/bmap.c                                     |  60 +--
 fs/gfs2/file.c                                     | 252 ++++++++++-
 fs/gfs2/glock.c                                    | 330 ++++++++++----
 fs/gfs2/glock.h                                    |  20 +
 fs/gfs2/incore.h                                   |   4 +-
 fs/iomap/buffered-io.c                             |   2 +-
 fs/iomap/direct-io.c                               |  29 +-
 fs/ntfs/file.c                                     |   2 +-
 fs/ntfs3/file.c                                    |   2 +-
 fs/xfs/xfs_file.c                                  |   6 +-
 fs/zonefs/super.c                                  |   4 +-
 include/linux/bpf.h                                | 101 ++++-
 include/linux/bpf_verifier.h                       |  18 +
 include/linux/iomap.h                              |  11 +-
 include/linux/mm.h                                 |   3 +-
 include/linux/pagemap.h                            |  58 +--
 include/linux/uio.h                                |   4 +-
 kernel/bpf/btf.c                                   |  16 +-
 kernel/bpf/cgroup.c                                |   2 +-
 kernel/bpf/helpers.c                               |  12 +-
 kernel/bpf/map_iter.c                              |   4 +-
 kernel/bpf/ringbuf.c                               |   2 +-
 kernel/bpf/syscall.c                               |   2 +-
 kernel/bpf/verifier.c                              | 488 ++++++++++-----------
 kernel/trace/bpf_trace.c                           |  22 +-
 lib/iov_iter.c                                     |  98 ++++-
 mm/filemap.c                                       |   4 +-
 mm/gup.c                                           | 120 ++++-
 mm/kfence/core.c                                   |  11 +-
 mm/kfence/kfence.h                                 |   3 +
 net/core/bpf_sk_storage.c                          |   2 +-
 net/core/filter.c                                  |  64 +--
 net/core/sock_map.c                                |   2 +-
 tools/testing/selftests/bpf/prog_tests/ksyms_btf.c |  14 +
 .../bpf/progs/test_ksyms_btf_write_check.c         |  29 ++
 tools/testing/selftests/bpf/verifier/calls.c       |  19 +
 56 files changed, 1472 insertions(+), 652 deletions(-)
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Naresh Kamboju 4 years ago
On Fri, 29 Apr 2022 at 16:12, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
>         https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.37-rc1.gz
> or in the git tree and branch at:
>         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>

## Build
* kernel: 5.15.37-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.15.y
* git commit: ff3177a2b8b333ce1007cb22d7e2adafdcda9720
* git describe: v5.15.36-34-gff3177a2b8b3
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.36-34-gff3177a2b8b3

## Test Regressions (compared to v5.15.35)
No test regressions found.

## Metric Regressions (compared to v5.15.35)
No metric regressions found.

## Test Fixes (compared to v5.15.35)
No test fixes found.

## Metric Fixes (compared to v5.15.35)
No metric fixes found.

## Test result summary
total: 102673, pass: 87138, fail: 713, skip: 13898, xfail: 924

## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 291 total, 291 passed, 0 failed
* arm64: 41 total, 41 passed, 0 failed
* i386: 39 total, 39 passed, 0 failed
* mips: 37 total, 37 passed, 0 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 60 total, 54 passed, 6 failed
* riscv: 27 total, 22 passed, 5 failed
* s390: 21 total, 21 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x86_64: 41 total, 41 passed, 0 failed

## Test suites summary
* fwts
* igt-gpu-tools
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers
* kselftest-efivarfs
* kselftest-filesystems
* kselftest-firmware
* kselftest-fpu
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-vm
* kselftest-x86
* kselftest-zram
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* linux-log-parser
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-controllers-tests
* ltp-cpuhotplug-tests
* ltp-crypto-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-open-posix-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-tracing-tests
* network-basic-tests
* packetdrill
* perf
* perf/Zstd-perf.data-compression
* rcutorture
* ssuite
* v4l2-compliance
* vdso

--
Linaro LKFT
https://lkft.linaro.org
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Ron Economos 4 years ago
On 4/29/22 3:41 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.37-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by: Ron Economos <re@w6rz.net>
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Guenter Roeck 4 years ago
On Fri, Apr 29, 2022 at 12:41:47PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.
> 

Build results:
	total: 155 pass: 155 fail: 0
Qemu test results:
	total: 489 pass: 489 fail: 0

Tested-by: Guenter Roeck <linux@roeck-us.net>

Guenter
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Sudip Mukherjee 4 years ago
Hi Greg,

On Fri, Apr 29, 2022 at 12:41:47PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.

Build test:
mips (gcc version 11.2.1 20220408): 62 configs -> no failure
arm (gcc version 11.2.1 20220408): 100 configs -> no new failure
arm64 (gcc version 11.2.1 20220408): 3 configs -> no failure
x86_64 (gcc version 11.2.1 20220408): 4 configs -> no failure

Boot test:
x86_64: Booted on my test laptop. No regression.
x86_64: Booted on qemu. No regression. [1]
arm64: Booted on rpi4b (4GB model). No regression. [2]
mips: Booted on ci20 board. No regression. [3]

[1]. https://openqa.qa.codethink.co.uk/tests/1087
[2]. https://openqa.qa.codethink.co.uk/tests/1088
[3]. https://openqa.qa.codethink.co.uk/tests/1089

Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>

--
Regards
Sudip
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Shuah Khan 4 years ago
On 4/29/22 4:41 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.37-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h
> 

Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah
Re: [PATCH 5.15 00/33] 5.15.37-rc1 review
Posted by Florian Fainelli 4 years ago
On 4/29/22 03:41, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.37 release.
> There are 33 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Sun, 01 May 2022 10:40:41 +0000.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.37-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:

Tested-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian