Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Shuah Khan

On 3/29/21 4:14 AM, Greg Kroah-Hartman wrote:

This is the start of the stable review cycle for the 5.11.11 release.
There are 252 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 Wed, 31 Mar 2021 10:13:07 +.
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.11.11-rc2.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.11.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 

thanks,
-- Shuah


Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Guenter Roeck
On Mon, Mar 29, 2021 at 12:14:20PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.11.11 release.
> There are 252 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 Wed, 31 Mar 2021 10:13:07 +.
> Anything received after that time might be too late.
> 

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

Tested-by: Guenter Roeck 

Guenter


Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Naresh Kamboju
On Mon, 29 Mar 2021 at 15:45, Greg Kroah-Hartman
 wrote:
>
> This is the start of the stable review cycle for the 5.11.11 release.
> There are 252 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 Wed, 31 Mar 2021 10:13:07 +.
> 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.11.11-rc2.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.11.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 

Summary


kernel: 5.11.11-rc2
git repo: 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-5.11.y
git commit: f288f3edc68844bc15b54723fe2c7a50c24f5da6
git describe: v5.11.10-253-gf288f3edc688
Test details: 
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.11.y/build/v5.11.10-253-gf288f3edc688

No regressions (compared to build v5.11.9-3-g7ab86fca27ce)

No fixes (compared to build v5.11.9-3-g7ab86fca27ce)


Ran 66219 total tests in the following environments and test suites.

Environments
--
- arc
- arm
- arm64
- dragonboard-410c
- hi6220-hikey
- i386
- juno-64k_page_size
- juno-r2
- juno-r2-compat
- juno-r2-kasan
- mips
- nxp-ls2088
- nxp-ls2088-64k_page_size
- parisc
- powerpc
- qemu-arm-clang
- qemu-arm-debug
- qemu-arm64-clang
- qemu-arm64-debug
- qemu-arm64-kasan
- qemu-i386-clang
- qemu-i386-debug
- qemu-x86_64-clang
- qemu-x86_64-debug
- qemu-x86_64-kasan
- qemu-x86_64-kcsan
- qemu_arm
- qemu_arm64
- qemu_arm64-compat
- qemu_i386
- qemu_x86_64
- qemu_x86_64-compat
- riscv
- s390
- sh
- sparc
- x15
- x86
- x86-kasan
- x86_64

Test Suites
---
* build
* linux-log-parser
* install-android-platform-tools-r2600
* kselftest-
* kselftest-android
* kselftest-bpf
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-filesystems
* kselftest-firmware
* kselftest-fpu
* kselftest-futex
* kselftest-gpio
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-lkdtm
* kselftest-net
* kselftest-netfilter
* kselftest-nsfs
* kselftest-tc-testing
* ltp-commands-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-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* fwts
* libhugetlbfs
* ltp-cap_bounds-tests
* ltp-cpuhotplug-tests
* ltp-crypto-tests
* ltp-cve-tests
* ltp-ipc-tests
* ltp-syscalls-tests
* network-basic-tests
* perf
* kselftest-intel_pstate
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* 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
* ltp-containers-tests
* ltp-controllers-tests
* ltp-open-posix-tests
* ltp-tracing-tests
* kvm-unit-tests
* v4l2-compliance
* rcutorture
* kunit
* igt-gpu-tools
* kselftest-vsyscall-mode-native-
* kselftest-vsyscall-mode-none-
* ssuite

-- 
Linaro LKFT
https://lkft.linaro.org


Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Ronald Warsow

On 29.03.21 16:46, Greg KH wrote:

On Mon, Mar 29, 2021 at 04:40:00PM +0200, Ronald Warsow wrote:

hello

5.11.11-rc2 compiles, boots and run fine here (on an i7-6700 with Fedora
34 Beta)

Thanks.

but I see some error's/warning's with the new gcc-11.0.1 compared to the
elder gcc-10.2.1-11


Do you also see those gcc-11 warnings on Linus's tree?  I don't think
I've started to backport any gcc-11 fixes like this to older kernels
just yet.

thanks,

greg k-h



it seems so (I'm not an developer, just a home user compiling kernels).

AFAIK, there is a new gcc 11.x.y release with fixes for Fedora 34 in the
pipe, but not yet released, so no need to invest time.
just an report what I see here.


with linux-5.12-rc5 from https://www.kernel.org/

I see:

...

  CC  mm/gup.o
  AR  arch/x86/kernel/acpi/built-in.a
  CC  fs/proc/inode.o
In function ‘poly1305_simd_init’,
inlined from ‘crypto_poly1305_setdctxkey’ at
arch/x86/crypto/poly1305_glue.c:150:4,
inlined from ‘crypto_poly1305_setdctxkey’ at
arch/x86/crypto/poly1305_glue.c:144:21,
inlined from ‘poly1305_update_arch’ at
arch/x86/crypto/poly1305_glue.c:181:8:
arch/x86/crypto/poly1305_glue.c:86:9: warning: ‘poly1305_init_x86_64’
reading 32 bytes from a region of size 16 [-Wstringop-overread]
   86 | poly1305_init_x86_64(ctx, key);
  | ^~
arch/x86/crypto/poly1305_glue.c: In function ‘poly1305_update_arch’:
arch/x86/crypto/poly1305_glue.c:86:9: note: referencing argument 2 of
type ‘const u8 *’ {aka ‘const unsigned char *’}
arch/x86/crypto/poly1305_glue.c:18:17: note: in a call to function
‘poly1305_init_x86_64’
   18 | asmlinkage void poly1305_init_x86_64(void *ctx,
  | ^~~~
  AS  arch/x86/crypto/nh-sse2-x86_64.o
...

  CC  kernel/cgroup/cpuset.o
In file included from ./include/linux/string.h:269,
 from ./include/linux/bitmap.h:9,
 from ./include/linux/cpumask.h:12,
 from ./arch/x86/include/asm/cpumask.h:5,
 from ./arch/x86/include/asm/msr.h:11,
 from ./arch/x86/include/asm/processor.h:22,
 from ./arch/x86/include/asm/cpufeature.h:5,
 from ./arch/x86/include/asm/thread_info.h:53,
 from ./include/linux/thread_info.h:59,
 from ./arch/x86/include/asm/preempt.h:7,
 from ./include/linux/preempt.h:78,
 from ./include/linux/rcupdate.h:27,
 from ./include/linux/rbtree.h:22,
 from ./include/linux/iova.h:14,
 from ./include/linux/intel-iommu.h:14,
 from arch/x86/kernel/tboot.c:9:
In function ‘memcmp’,
inlined from ‘tboot_probe’ at arch/x86/kernel/tboot.c:70:6:
./include/linux/fortify-string.h:19:33: warning: ‘__builtin_memcmp_eq’
specified bound 16 exceeds source size 0 [-Wstringop-overread]
   19 | #define __underlying_memcmp __builtin_memcmp
  | ^
./include/linux/fortify-string.h:235:16: note: in expansion of macro
‘__underlying_memcmp’
  235 | return __underlying_memcmp(p, q, size);
  |^~~
  CC  kernel/time/tick-common.o
...

  CC  drivers/acpi/acpica/utglobal.o
lib/crypto/poly1305-donna64.c:15:67: warning: argument 2 of type ‘const
u8[16]’ {aka ‘const unsigned char[16]’} with mismatched bound
[-Warray-parameter=]
   15 | void poly1305_core_setkey(struct poly1305_core_key *key, const
u8 raw_key[16])
  |
~^~~
In file included from lib/crypto/poly1305-donna64.c:11:
./include/crypto/internal/poly1305.h:21:68: note: previously declared as
‘const u8 *’ {aka ‘const unsigned char *’}
   21 | void poly1305_core_setkey(struct poly1305_core_key *key, const
u8 *raw_key);
  |
~~^~~
  CC  fs/btrfs/raid56.o
..

  CC  lib/decompress_unlzma.o
arch/x86/lib/msr-smp.c:255:51: warning: argument 2 of type ‘u32 *’ {aka
‘unsigned int *’} declared as a pointer [-Warray-parameter=]
  255 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
  |  ~^~~~
In file included from ./arch/x86/include/asm/processor.h:22,
 from ./arch/x86/include/asm/cpufeature.h:5,
 from ./arch/x86/include/asm/thread_info.h:53,
 from ./include/linux/thread_info.h:59,
 from ./arch/x86/include/asm/preempt.h:7,
 from ./include/linux/preempt.h:78,
 from arch/x86/lib/msr-smp.c:3:
./arch/x86/include/asm/msr.h:347:50: note: previously declared as an
array ‘u32[8]’ {aka ‘unsigned int[8]’}
  347 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
  |  ^~~
arch/x86/lib/msr-smp.c:268:51: warning: argument 2 of type ‘u32 *’ {aka
‘unsigned int *’} declared as a pointer [-Warray-parameter=]
  268 | int wrmsr_safe_regs_on_cpu(unsigned int 

Re: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Greg KH
On Mon, Mar 29, 2021 at 04:40:00PM +0200, Ronald Warsow wrote:
> hello
> 
> 5.11.11-rc2 compiles, boots and run fine here (on an i7-6700 with Fedora
> 34 Beta)
> 
> Thanks.
> 
> but I see some error's/warning's with the new gcc-11.0.1 compared to the
> elder gcc-10.2.1-11

Do you also see those gcc-11 warnings on Linus's tree?  I don't think
I've started to backport any gcc-11 fixes like this to older kernels
just yet.

thanks,

greg k-h


RE: [PATCH 5.11 000/252] 5.11.11-rc2 review

2021-03-29 Thread Ronald Warsow

hello

5.11.11-rc2 compiles, boots and run fine here (on an i7-6700 with Fedora
34 Beta)

Thanks.

but I see some error's/warning's with the new gcc-11.0.1 compared to the
elder gcc-10.2.1-11


In function ‘poly1305_simd_init’,
inlined from ‘crypto_poly1305_setdctxkey’ at
arch/x86/crypto/poly1305_glue.c:150:4,
inlined from ‘crypto_poly1305_setdctxkey’ at
arch/x86/crypto/poly1305_glue.c:144:21,
inlined from ‘poly1305_update_arch’ at
arch/x86/crypto/poly1305_glue.c:181:8:
arch/x86/crypto/poly1305_glue.c:86:9: warning: ‘poly1305_init_x86_64’
reading 32 bytes from a region of size 16 [-Wstringop-overread]
   86 | poly1305_init_x86_64(ctx, key);
  | ^~
arch/x86/crypto/poly1305_glue.c: In function ‘poly1305_update_arch’:
arch/x86/crypto/poly1305_glue.c:86:9: note: referencing argument 2 of
type ‘const u8 *’ {aka ‘const unsigned char *’}
arch/x86/crypto/poly1305_glue.c:18:17: note: in a call to function
‘poly1305_init_x86_64’
   18 | asmlinkage void poly1305_init_x86_64(void *ctx,
  | ^~~~
In file included from ./include/linux/bitmap.h:9,
 from ./include/linux/cpumask.h:12,
 from ./arch/x86/include/asm/cpumask.h:5,
 from ./arch/x86/include/asm/msr.h:11,
 from ./arch/x86/include/asm/processor.h:22,
 from ./arch/x86/include/asm/cpufeature.h:5,
 from ./arch/x86/include/asm/thread_info.h:53,
 from ./include/linux/thread_info.h:59,
 from ./arch/x86/include/asm/preempt.h:7,
 from ./include/linux/preempt.h:78,
 from ./include/linux/rcupdate.h:27,
 from ./include/linux/rbtree.h:22,
 from ./include/linux/iova.h:14,
 from ./include/linux/intel-iommu.h:14,
 from arch/x86/kernel/tboot.c:9:
In function ‘memcmp’,
inlined from ‘tboot_probe’ at arch/x86/kernel/tboot.c:70:6:
./include/linux/string.h:283:33: warning: ‘__builtin_memcmp_eq’
specified bound 16 exceeds source size 0 [-Wstringop-overread]
  283 | #define __underlying_memcmp __builtin_memcmp
  | ^
./include/linux/string.h:488:16: note: in expansion of macro
‘__underlying_memcmp’
  488 | return __underlying_memcmp(p, q, size);
  |^~~
lib/crypto/poly1305-donna64.c:15:67: warning: argument 2 of type ‘const
u8[16]’ {aka ‘const unsigned char[16]’} with mismatched bound
[-Warray-parameter=]
   15 | void poly1305_core_setkey(struct poly1305_core_key *key, const
u8 raw_key[16])
  | ~^~~
In file included from lib/crypto/poly1305-donna64.c:11:
./include/crypto/internal/poly1305.h:21:68: note: previously declared as
‘const u8 *’ {aka ‘const unsigned char *’}
   21 | void poly1305_core_setkey(struct poly1305_core_key *key, const
u8 *raw_key);
  | ~~^~~
arch/x86/lib/msr-smp.c:255:51: warning: argument 2 of type ‘u32 *’ {aka
‘unsigned int *’} declared as a pointer [-Warray-parameter=]
  255 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
  |  ~^~~~
In file included from ./arch/x86/include/asm/processor.h:22,
 from ./arch/x86/include/asm/cpufeature.h:5,
 from ./arch/x86/include/asm/thread_info.h:53,
 from ./include/linux/thread_info.h:59,
 from ./arch/x86/include/asm/preempt.h:7,
 from ./include/linux/preempt.h:78,
 from arch/x86/lib/msr-smp.c:3:
./arch/x86/include/asm/msr.h:347:50: note: previously declared as an
array ‘u32[8]’ {aka ‘unsigned int[8]’}
  347 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
  |  ^~~
arch/x86/lib/msr-smp.c:268:51: warning: argument 2 of type ‘u32 *’ {aka
‘unsigned int *’} declared as a pointer [-Warray-parameter=]
  268 | int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
  |  ~^~~~
In file included from ./arch/x86/include/asm/processor.h:22,
 from ./arch/x86/include/asm/cpufeature.h:5,
 from ./arch/x86/include/asm/thread_info.h:53,
 from ./include/linux/thread_info.h:59,
 from ./arch/x86/include/asm/preempt.h:7,
 from ./include/linux/preempt.h:78,
 from arch/x86/lib/msr-smp.c:3:
./arch/x86/include/asm/msr.h:348:50: note: previously declared as an
array ‘u32[8]’ {aka ‘unsigned int[8]’}
  348 | int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
  |  ^~~
In function ‘snb_wm_latency_quirk’,
inlined from ‘ilk_setup_wm_latency’ at
drivers/gpu/drm/i915/intel_pm.c:3108:3,
inlined from ‘intel_init_pm’ at drivers/gpu/drm/i915/intel_pm.c:7650:3: