2019-06-09 19:09:30

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.14 00/35] 4.14.125-stable review

This is the start of the stable review cycle for the 4.14.125 release.
There are 35 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 Tue 11 Jun 2019 04:40:01 PM UTC.
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.14.125-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.14.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>
Linux 4.14.125-rc1

Kirill Smelkov <[email protected]>
fuse: Add FOPEN_STREAM to use stream_open()

Kirill Smelkov <[email protected]>
fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock

Kristian Evensen <[email protected]>
qmi_wwan: Add quirk for Quectel dynamic config

Jiri Slaby <[email protected]>
TTY: serial_core, add ->install

Daniel Drake <[email protected]>
drm/i915/fbc: disable framebuffer compression on GeminiLake

Chris Wilson <[email protected]>
drm/i915: Fix I915_EXEC_RING_MASK

Christian König <[email protected]>
drm/radeon: prefer lower reference dividers

Alex Deucher <[email protected]>
drm/amdgpu/psp: move psp version specific function pointers to early_init

Dave Airlie <[email protected]>
drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)

Patrik Jakobsson <[email protected]>
drm/gma500/cdv: Check vbt config bits when detecting lvds panels

Dan Carpenter <[email protected]>
test_firmware: Use correct snprintf() limit

Dan Carpenter <[email protected]>
genwqe: Prevent an integer overflow in the ioctl

Greg Kroah-Hartman <[email protected]>
Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"

Paul Burton <[email protected]>
MIPS: pistachio: Build uImage.gz by default

Paul Burton <[email protected]>
MIPS: Bounds check virt_addr_valid

Robert Hancock <[email protected]>
i2c: xiic: Add max_read_len quirk

Jiri Kosina <[email protected]>
x86/power: Fix 'nosmt' vs hibernation triple fault during resume

Kees Cook <[email protected]>
pstore/ram: Run without kernel crash dump region

Kees Cook <[email protected]>
pstore: Convert buf_lock to semaphore

Kees Cook <[email protected]>
pstore: Remove needless lock during console writes

Miklos Szeredi <[email protected]>
fuse: fallocate: fix return with locked inode

John David Anglin <[email protected]>
parisc: Use implicit space register selection for loading the coherence index of I/O pdirs

Linus Torvalds <[email protected]>
rcu: locking and unlocking need to always be at least barriers

Hangbin Liu <[email protected]>
Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"

Greg Kroah-Hartman <[email protected]>
Revert "fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"

Xin Long <[email protected]>
ipv6: fix the check before getting the cookie in rt6_get_cookie

Russell King <[email protected]>
net: sfp: read eeprom in maximum 16 byte increments

Olivier Matz <[email protected]>
ipv6: use READ_ONCE() for inet->hdrincl as in ipv4

Olivier Matz <[email protected]>
ipv6: fix EFAULT on sendto with icmpv6 and hdrincl

Paolo Abeni <[email protected]>
pktgen: do not sleep with the thread lock held.

Zhu Yanjun <[email protected]>
net: rds: fix memory leak in rds_ib_flush_mr_pool

Erez Alfasi <[email protected]>
net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query

David Ahern <[email protected]>
neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit

Neil Horman <[email protected]>
Fix memory leak in sctp_process_init

Vivien Didelot <[email protected]>
ethtool: fix potential userspace buffer overflow


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

Diffstat:

Makefile | 4 +-
arch/mips/ath79/setup.c | 6 +
arch/mips/mm/mmap.c | 5 +
arch/mips/pistachio/Platform | 1 +
arch/powerpc/kernel/nvram_64.c | 2 -
arch/x86/power/cpu.c | 10 +
arch/x86/power/hibernate_64.c | 33 +++
drivers/acpi/apei/erst.c | 1 -
drivers/firmware/efi/efi-pstore.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 19 +-
drivers/gpu/drm/gma500/cdv_intel_lvds.c | 3 +
drivers/gpu/drm/gma500/intel_bios.c | 3 +
drivers/gpu/drm/gma500/psb_drv.h | 1 +
drivers/gpu/drm/i915/intel_fbc.c | 4 +
drivers/gpu/drm/nouveau/Kconfig | 13 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 7 +-
drivers/gpu/drm/radeon/radeon_display.c | 4 +-
drivers/i2c/busses/i2c-xiic.c | 5 +
drivers/irqchip/irq-ath79-misc.c | 11 -
drivers/misc/genwqe/card_dev.c | 2 +
drivers/misc/genwqe/card_utils.c | 4 +
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/port.c | 5 -
drivers/net/phy/sfp.c | 24 +-
drivers/net/usb/qmi_wwan.c | 39 ++-
drivers/parisc/ccio-dma.c | 4 +-
drivers/parisc/sba_iommu.c | 3 +-
drivers/tty/serial/serial_core.c | 24 +-
drivers/xen/xenbus/xenbus_dev_frontend.c | 4 +-
fs/fuse/file.c | 6 +-
fs/open.c | 18 ++
fs/pstore/platform.c | 76 ++---
fs/pstore/ram.c | 37 ++-
fs/read_write.c | 5 +-
include/linux/cpu.h | 4 +
include/linux/fs.h | 4 +
include/linux/pstore.h | 7 +-
include/linux/rcupdate.h | 6 +-
include/net/ip6_fib.h | 3 +-
include/uapi/drm/i915_drm.h | 2 +-
include/uapi/linux/fuse.h | 2 +
kernel/cpu.c | 4 +-
kernel/power/hibernate.c | 9 +
lib/test_firmware.c | 14 +-
net/core/ethtool.c | 5 +-
net/core/fib_rules.c | 7 +-
net/core/neighbour.c | 9 +-
net/core/pktgen.c | 11 +
net/ipv6/raw.c | 25 +-
net/rds/ib_rdma.c | 10 +-
net/sctp/sm_make_chunk.c | 13 +-
net/sctp/sm_sideeffect.c | 5 +
scripts/coccinelle/api/stream_open.cocci | 363 ++++++++++++++++++++++++
53 files changed, 720 insertions(+), 174 deletions(-)



2019-06-09 19:10:38

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.14 12/35] Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"

From: Hangbin Liu <[email protected]>

[ Upstream commit 4970b42d5c362bf873982db7d93245c5281e58f4 ]

This reverts commit e9919a24d3022f72bcadc407e73a6ef17093a849.

Nathan reported the new behaviour breaks Android, as Android just add
new rules and delete old ones.

If we return 0 without adding dup rules, Android will remove the new
added rules and causing system to soft-reboot.

Fixes: e9919a24d302 ("fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied")
Reported-by: Nathan Chancellor <[email protected]>
Reported-by: Yaro Slav <[email protected]>
Reported-by: Maciej Żenczykowski <[email protected]>
Signed-off-by: Hangbin Liu <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/core/fib_rules.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- a/net/core/fib_rules.c
+++ b/net/core/fib_rules.c
@@ -563,9 +563,9 @@ int fib_nl_newrule(struct sk_buff *skb,
rule->uid_range = fib_kuid_range_unset;
}

- if (rule_exists(ops, frh, tb, rule)) {
- if (nlh->nlmsg_flags & NLM_F_EXCL)
- err = -EEXIST;
+ if ((nlh->nlmsg_flags & NLM_F_EXCL) &&
+ rule_exists(ops, frh, tb, rule)) {
+ err = -EEXIST;
goto errout_free;
}



2019-06-10 07:28:44

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 4.14 00/35] 4.14.125-stable review

On Sun, 9 Jun 2019 at 22:20, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 4.14.125 release.
> There are 35 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 Tue 11 Jun 2019 04:40:01 PM UTC.
> 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.14.125-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.14.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.

Summary
------------------------------------------------------------------------

kernel: 4.14.125-rc1
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.14.y
git commit: 396ea3538ca4ce6f760fff7a837e10f2450c5526
git describe: v4.14.123-106-g396ea3538ca4
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-4.14-oe/build/v4.14.123-106-g396ea3538ca4

No regressions (compared to build v4.14.123)

No fixes (compared to build v4.14.123)

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

Environments
--------------
- dragonboard-410c - arm64
- hi6220-hikey - arm64
- i386
- juno-r2 - arm64
- qemu_arm
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15 - arm
- x86_64

Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* libhugetlbfs
* ltp-cap_bounds-tests
* ltp-containers-tests
* ltp-cpuhotplug-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-io-tests
* ltp-ipc-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-timers-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
* ltp-commands-tests
* ltp-hugetlb-tests
* ltp-math-tests
* ltp-mm-tests
* network-basic-tests
* ltp-open-posix-tests
* kvm-unit-tests
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none

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

2019-06-10 08:51:59

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 4.14 00/35] 4.14.125-stable review


On 09/06/2019 17:42, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.14.125 release.
> There are 35 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 Tue 11 Jun 2019 04:40:01 PM UTC.
> 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.14.125-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.14.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

All tests are passing for Tegra ...

Test results for stable-v4.14:
8 builds: 8 pass, 0 fail
16 boots: 16 pass, 0 fail
24 tests: 24 pass, 0 fail

Linux version: 4.14.125-rc1-g396ea3538ca4
Boards tested: tegra124-jetson-tk1, tegra20-ventana,
tegra210-p2371-2180, tegra30-cardhu-a04

Cheers
Jon

--
nvpublic

2019-06-10 16:08:41

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 4.14 00/35] 4.14.125-stable review

On Sun, Jun 09, 2019 at 06:42:06PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.14.125 release.
> There are 35 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 Tue 11 Jun 2019 04:40:01 PM UTC.
> Anything received after that time might be too late.
>
Build results:
total: 172 pass: 172 fail: 0
Qemu test results:
total: 335 pass: 335 fail: 0

Guenter

2019-06-10 21:57:03

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 4.14 00/35] 4.14.125-stable review

On 6/9/19 10:42 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.14.125 release.
> There are 35 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 Tue 11 Jun 2019 04:40:01 PM UTC.
> 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.14.125-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.14.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

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

thanks,
-- Shuah