Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-12 Thread Florian Fainelli
On 3/5/21 4:22 AM, Greg Kroah-Hartman wrote:
> Ben Hutchings 
> futex: Futex_unlock_pi() determinism
> 

Hi Ben,

This particular commit above eventually triggered the following warning
below, this was not caught in my initial testing of the v4.9.260 kernel,
when I gave my Tested-by tag. This appears to be easily reproducible
upon initialization of one of the modules being loaded for that test.

Are there additional changes that we are missing in linux-4.9.y with
respect to futex code?

[  233.128367] [ cut here ]
[  233.133104] WARNING: CPU: 3 PID: 1845 at kernel/futex.c:1584
do_futex+0x800/0x974
[  233.140707] Modules linked in: wakeup_drv(O) nexus(PO) brcmv3d(O)
[  233.146950]
[  233.148511] CPU: 3 PID: 1845 Comm: nx_sched_idle_s Tainted: P
   O4.9.261-1.22 #1
[  233.157072] Hardware name: BCX972180SV (DT)
[  233.161326] task: ffc075e12e00 task.stack: ffc07311
[  233.167328] PC is at do_futex+0x800/0x974
[  233.171410] LR is at do_futex+0x784/0x974
[  233.175490] pc : [] lr : []
pstate: 61c5
[  233.183003] sp : ffc073113d10
[  233.186380] x29: ffc073113d10 x28: 
[  233.191800] x27: 0735 x26: ffc073113df8
[  233.197220] x25: ffc07401bc90 x24: 8735
[  233.202638] x23: ffc07311 x22: 
[  233.208055] x21: 0c0cd220 x20: ffc07401bc80
[  233.213472] x19: 0001 x18: 
[  233.218890] x17: 007f82b8dfe8 x16: ff800810f5dc
[  233.224309] x15: 0b1a97b40980 x14: 0033240a01207260
[  233.229727] x13: 604b3cb0 x12: 0018
[  233.235144] x11: 0636eae9 x10: 00e9
[  233.240562] x9 : 003b9aca x8 : 0062
[  233.245979] x7 : 00014e26 x6 : 
[  233.251396] x5 : ffc07401bcb8 x4 : 
[  233.256814] x3 : 0001 x2 : 
[  233.262230] x1 :  x0 : ff8008cdf7dd
[  233.267644]
[  233.269192] ---[ end trace 18db5bc47ae34623 ]---
[  233.273877] Call trace:
[  233.276389] Exception stack(0xffc073113b10 to 0xffc073113c40)
[  233.282913] 3b00:   0001
007f
[  233.290873] 3b20: ffc073113d10 ff800810f468 61c5
003d
[  233.298833] 3b40: ffc07401bc90 ffc073113df8 0c0cd220
0735
[  233.306791] 3b60: ffc073113bd0 ff800810e004 
ffc073113cd0
[  233.314751] 3b80: 0c0cd220 ffc07311 
ffc073113cd0
[  233.322711] 3ba0:  ffc076b65bc0 ffc073113bd0
ff800810e1a4
[  233.330670] 3bc0:  000409ff ffc073113d10
000409ff
[  233.338628] 3be0: ff8008cdf7dd  
0001
[  233.346586] 3c00:  ffc07401bcb8 
00014e26
[  233.354545] 3c20: 0062 003b9aca 00e9
0636eae9
[  233.362506] [] do_futex+0x800/0x974
[  233.367638] [] SyS_futex+0x15c/0x184
[  233.372861] [] el0_svc_naked+0x34/0x38
-- 
Florian


Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Naresh Kamboju
On Fri, 5 Mar 2021 at 18:12, Greg Kroah-Hartman
 wrote:
>
> This is the start of the stable review cycle for the 4.9.260 release.
> There are 41 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, 07 Mar 2021 12:08:39 +.
> 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/v4.x/stable-review/patch-4.9.260-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-4.9.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: 4.9.260-rc1
git repo: 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.9.y
git commit: e118f9b98b963e03939869e5953a52351352f216
git describe: v4.9.259-42-ge118f9b98b96
Test details: 
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.9.y/build/v4.9.259-42-ge118f9b98b96

No regressions (compared to build v4.9.259)

No fixes (compared to build v4.9.259)


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

Environments
--
- arm
- arm64
- dragonboard-410c - arm64
- hi6220-hikey - arm64
- i386
- juno-64k_page_size
- juno-r2 - arm64
- juno-r2-compat
- juno-r2-kasan
- mips
- qemu-arm64-kasan
- qemu-x86_64-kasan
- qemu_arm
- qemu_arm64
- qemu_arm64-compat
- qemu_i386
- qemu_x86_64
- qemu_x86_64-compat
- sparc
- x15 - arm
- x86_64
- x86-kasan
- x86_64

Test Suites
---
* build
* linux-log-parser
* igt-gpu-tools
* install-android-platform-tools-r2600
* kselftest-android
* kselftest-bpf
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-intel_pstate
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-lkdtm
* kselftest-membarrier
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sysctl
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-zram
* 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_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-tracing-tests
* perf
* v4l2-compliance
* fwts
* kselftest-efivarfs
* kselftest-filesystems
* kselftest-firmware
* kselftest-fpu
* kselftest-futex
* kselftest-gpio
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* libhugetlbfs
* ltp-fs-tests
* ltp-hugetlb-tests
* ltp-mm-tests
* network-basic-tests
* kvm-unit-tests
* ltp-open-posix-tests
* kselftest-vm
* kselftest-kexec
* kselftest-x86

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


Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.260 release.
> There are 41 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, 07 Mar 2021 12:08:39 +.
> Anything received after that time might be too late.
> 

Forgot:

Tested-by: Guenter Roeck 

Guenter


Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.260 release.
> There are 41 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, 07 Mar 2021 12:08:39 +.
> Anything received after that time might be too late.
> 

Build results:
total: 168 pass: 168 fail: 0
Qemu test results:
total: 383 pass: 383 fail: 0

Guenter


Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-05 Thread Florian Fainelli



On 3/5/2021 4:22 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.260 release.
> There are 41 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, 07 Mar 2021 12:08:39 +.
> 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/v4.x/stable-review/patch-4.9.260-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-4.9.y
> and the diffstat can be found below.
> 
> thanks,

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

Tested-by: Florian Fainelli 
-- 
Florian




[PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.260 release.
There are 41 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, 07 Mar 2021 12:08:39 +.
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/v4.x/stable-review/patch-4.9.260-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-4.9.y
and the diffstat can be found below.

thanks,

greg k-h

-
Pseudo-Shortlog of commits:

Greg Kroah-Hartman 
Linux 4.9.260-rc1

Sakari Ailus 
media: v4l: ioctl: Fix memory leak in video_usercopy

Jens Axboe 
swap: fix swapfile read/write offset

Rokudo Yan 
zsmalloc: account the number of compacted pages correctly

Jan Beulich 
xen-netback: respect gnttab_map_refs()'s return value

Jan Beulich 
Xen/gnttab: handle p2m update errors on a per-slot basis

Chris Leech 
scsi: iscsi: Verify lengths on passthrough PDUs

Chris Leech 
scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE

Joe Perches 
sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output

Lee Duncan 
scsi: iscsi: Restrict sessions and handles to admin capabilities

Ricardo Ribalda 
media: uvcvideo: Allow entities with no pads

Christian Gromm 
staging: most: sound: add sanity check for function argument

Gopal Tiwari 
Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data

Fangrui Song 
x86/build: Treat R_386_PLT32 relocation as R_386_PC32

Miaoqing Pan 
ath10k: fix wmi mgmt tx queue full due to race condition

Di Zhu 
pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()

Tony Lindgren 
wlcore: Fix command execute failure 19 for wl12xx

Jiri Slaby 
vt/consolemap: do font sum unsigned

Heiner Kallweit 
x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk

Dinghao Liu 
staging: fwserial: Fix error handling in fwserial_create

Li Xinhai 
mm/hugetlb.c: fix unnecessary address expansion of pmd sharing

Marco Elver 
net: fix up truesize of cloned skb in skb_prepare_for_shift()

Sabyrzhan Tasbolatov 
smackfs: restrict bytes count in smackfs write functions

Yumei Huang 
xfs: Fix assert failure in xfs_setattr_size()

Randy Dunlap 
JFS: more checks for invalid superblock

Andrew Murray 
arm64: Use correct ll/sc atomic constraints

Will Deacon 
arm64: cmpxchg: Use "K" instead of "L" for ll/sc immediate constraint

Will Deacon 
arm64: Avoid redundant type conversions in xchg() and cmpxchg()

Robin Murphy 
arm64: Remove redundant mov from LL/SC cmpxchg

Muchun Song 
printk: fix deadlock when kernel panic

Mike Kravetz 
hugetlb: fix update_and_free_page contig page struct assumption

Rolf Eike Beer 
scripts: set proper OpenSSL include dir also for sign-file

Rolf Eike Beer 
scripts: use pkg-config to locate libcrypto

Masami Hiramatsu 
arm: kprobes: Allow to handle reentered kprobe on single-stepping

Lech Perczak 
net: usb: qmi_wwan: support ZTE P685M modem

Ben Hutchings 
futex: Don't enable IRQs unconditionally in put_pi_state()

Ben Hutchings 
futex: Fix more put_pi_state() vs. exit_pi_state_list() races

Ben Hutchings 
futex: Fix pi_state->owner serialization

Ben Hutchings 
futex: Futex_unlock_pi() determinism

Ben Hutchings 
futex: Pull rt_mutex_futex_unlock() out from under hb->lock

Ben Hutchings 
futex: Cleanup refcounting

Ben Hutchings 
futex: Cleanup variable names for futex_top_waiter()


-

Diffstat:

 Documentation/filesystems/sysfs.txt |   8 +-
 Makefile|   4 +-
 arch/arm/probes/kprobes/core.c  |   6 +
 arch/arm/xen/p2m.c  |  35 +-
 arch/arm64/include/asm/atomic_ll_sc.h   | 109 +-
 arch/arm64/include/asm/atomic_lse.h |  46 
 arch/arm64/include/asm/cmpxchg.h| 116 ++--
 arch/x86/kernel/module.c|   1 +
 arch/x86/kernel/reboot.c|   9 ++
 arch/x86/tools/relocs.c |  12 +-
 arch/x86/xen/p2m.c  |  44 +++-
 drivers/block/zram/zram_drv.c   |   2 +-
 drivers/media/usb/uvc/uvc_driver.c  |   7 +-
 drivers/media/v4l2-core/v4l2-ioctl.c|  19 ++--
 drivers/net/usb/qmi_wwan.c  |   1 +
 drivers/net/wireless/ath/ath10k/mac.c   |  15 +--
 drivers/net/wireless/ti/wl12xx/main.c   |   3 -
 drivers/net/wireless/ti/wlcore/main.c   |  15 +--
 drivers/net/wireless/ti/wlcore/wlcore.h |   3 -
 drivers/net/xen-netback/netback.c   |  12 +-
 drivers/scsi/libiscsi.c | 148 -
 drivers/scsi/scsi_transport_iscsi.c |  38 +--
 drivers/staging/fwserial/fwserial.c |   2 +