This is the start of the stable review cycle for the 4.14.310 release.
There are 21 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 Fri, 17 Mar 2023 11:57:10 +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/v4.x/stable-review/patch-4.14.310-r…
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 <gregkh(a)linuxfoundation.org>
Linux 4.14.310-rc1
Rhythm Mahajan <rhythm.m.mahajan(a)oracle.com>
x86/cpu: Fix LFENCE serialization check in init_amd()
John Harrison <John.C.Harrison(a)Intel.com>
drm/i915: Don't use BAR mappings for ring buffers with LLC
Tung Nguyen <tung.q.nguyen(a)dektech.com.au>
tipc: improve function tipc_wait_for_cond()
Paul Elder <paul.elder(a)ideasonboard.com>
media: ov5640: Fix analogue gain control
Alvaro Karsz <alvaro.karsz(a)solid-run.com>
PCI: Avoid FLR for SolidRun SNET DPU rev 1
Alvaro Karsz <alvaro.karsz(a)solid-run.com>
PCI: Add SolidRun vendor ID
Nathan Chancellor <nathan(a)kernel.org>
macintosh: windfarm: Use unsigned type for 1-bit bitfields
Edward Humes <aurxenon(a)lunos.org>
alpha: fix R_ALPHA_LITERAL reloc for large modules
xurui <xurui(a)kylinos.cn>
MIPS: Fix a compilation issue
Dmitry Baryshkov <dmitry.baryshkov(a)linaro.org>
clk: qcom: mmcc-apq8084: remove spdm clocks
Shigeru Yoshida <syoshida(a)redhat.com>
net: caif: Fix use-after-free in cfusbl_device_notify()
Eric Dumazet <edumazet(a)google.com>
ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
Kang Chen <void0red(a)gmail.com>
nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
Fedor Pchelkin <pchelkin(a)ispras.ru>
nfc: change order inside nfc_se_io error path
Zhihao Cheng <chengzhihao1(a)huawei.com>
ext4: zero i_disksize when initializing the bootloader inode
Ye Bin <yebin10(a)huawei.com>
ext4: fix WARNING in ext4_update_inline_data
Ye Bin <yebin10(a)huawei.com>
ext4: move where set the MAY_INLINE_DATA flag is set
Darrick J. Wong <djwong(a)kernel.org>
ext4: fix another off-by-one fsmap error on 1k block filesystems
Eric Whitney <enwlinux(a)gmail.com>
ext4: fix RENAME_WHITEOUT handling for inline directories
Andrew Cooper <andrew.cooper3(a)citrix.com>
x86/CPU/AMD: Disable XSAVES on AMD family 0x17
Theodore Ts'o <tytso(a)mit.edu>
fs: prevent out-of-bounds array speculation when closing a file descriptor
-------------
Diffstat:
Makefile | 4 +-
arch/alpha/kernel/module.c | 4 +-
arch/mips/include/asm/mach-rc32434/pci.h | 2 +-
arch/x86/kernel/cpu/amd.c | 11 +-
drivers/clk/qcom/mmcc-apq8084.c | 271 -------------------------------
drivers/gpu/drm/i915/intel_ringbuffer.c | 4 +-
drivers/macintosh/windfarm_lm75_sensor.c | 4 +-
drivers/macintosh/windfarm_smu_sensors.c | 4 +-
drivers/media/i2c/ov5640.c | 2 +-
drivers/nfc/fdp/i2c.c | 4 +
drivers/pci/quirks.c | 8 +
fs/ext4/fsmap.c | 2 +
fs/ext4/inline.c | 1 -
fs/ext4/inode.c | 7 +-
fs/ext4/ioctl.c | 1 +
fs/ext4/namei.c | 13 +-
fs/ext4/xattr.c | 3 +
fs/file.c | 1 +
include/linux/pci_ids.h | 2 +
net/caif/caif_usb.c | 3 +
net/ipv6/ila/ila_xlat.c | 1 +
net/nfc/netlink.c | 2 +-
net/tipc/socket.c | 2 +-
23 files changed, 61 insertions(+), 295 deletions(-)
Results from Linaro’s test farm.
selftests ftrace failed on qemu-x86_64 and qemu-arm64.
Please find the test log below.
Is this expected to fail ? Am I missing anything ?
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
kselftest: Running tests in ftrace
TAP version 13
1..1
# selftests: ftrace: ftracetest
# === Ftrace unit tests ===
# [1] Basic trace file check [PASS]
...
# [23] event filter function - test event filtering on functions [FAIL]
...
# [58] Kretprobe %return suffix test [PASS]
# [59] Register/unregister many kprobe events
[ 431.662904] trace_kprobe: Could not probe notrace function startup_64
[ 431.669846] trace_kprobe: Could not probe notrace function _stext
[ 431.674104] trace_kprobe: Could not probe notrace function _text
[ 431.675908] trace_kprobe: Could not probe notrace function
secondary_startup_64
[ 431.677876] trace_kprobe: Could not probe notrace function
secondary_startup_64_no_verify
[ 431.679899] trace_kprobe: Could not probe notrace function __pfx_verify_cpu
[ 431.681738] trace_kprobe: Could not probe notrace function verify_cpu
[ 431.683667] trace_kprobe: Could not probe notrace function
__pfx_sev_verify_cbit
[ 431.685594] trace_kprobe: Could not probe notrace function sev_verify_cbit
[ 431.687381] trace_kprobe: Could not probe notrace function start_cpu0
[ 431.689225] trace_kprobe: Could not probe notrace function __pfx___startup_64
[ 431.691223] trace_kprobe: Could not probe notrace function __startup_64
[ 431.693088] trace_kprobe: Could not probe notrace function
__pfx_startup_64_setup_env
[ 431.695021] trace_kprobe: Could not probe notrace function
startup_64_setup_env
[ 431.697012] trace_kprobe: Could not probe notrace function
__pfx___traceiter_initcall_level
[ 431.700780] trace_kprobe: Could not probe notrace function
__pfx___traceiter_initcall_start
...
[ 439.183587] trace_kprobe: Could not probe notrace function
__pfx_hv_check_msr_access
[ 439.186192] trace_kprobe: Could not probe notrace function
__pfx_kvm_hv_flush_tlb
...
# [106] (instance) event filter function - test event filtering on
functions [FAIL]
...
#
# # of passed: 109
# # of failed: 2
# # of unresolved: 3
# # of untested: 0
# # of unsupported: 3
# # of xfailed: 1
# # of undefined(test bug): 0
not ok 1 selftests: ftrace: ftracetest # exit=1
log link,
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230314/te…
--
Linaro LKFT
https://lkft.linaro.org
Total jobs: 45
Total errors: 14 (31.11%)
LAVA errors: 0 (0.00%)
Test errors: 12 (26.67%)
Job errors: 2 (4.44%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: x15
Total jobs: 15
Total errors: 1 (6.67%)
Error type: Test
Error count: 1 (6.67%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 28785 seconds'
Count: 1 (6.67%)
IDs:
x15-08:
6264526
Device type: hi6220-hikey-r2
Total jobs: 23
Total errors: 12 (52.17%)
Error type: Test
Error count: 10 (43.48%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[3BD8055E0031A733]'
Count: 2 (8.70%)
IDs:
hikey-6220-r2-17:
6267113 6267586
Error: No match for error type 'Test', message 'tradefed - adb device lost[3F939C43003B7553]'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-14:
6266213
Error: No match for error type 'Test', message 'tradefed - adb device lost[35FE0622003F362E]'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-10:
6266096
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17984 seconds'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-01:
6265795
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17985 seconds'
Count: 2 (8.70%)
IDs:
hikey-6220-r2-06:
6265325
hikey-6220-r2-16:
6265790
Error: No match for error type 'Test', message 'tradefed - adb device lost[4595FE84003F72FC]'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-04:
6265342
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17983 seconds'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-15:
6265324
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 28787 seconds'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-05:
6264586
Error type: Job
Error count: 2 (8.70%)
Error: wait for prompt timed out
Count: 1 (4.35%)
IDs:
hikey-6220-r2-09:
6267095
Error: No match for error type 'Job', message 'login-action timed out after 879 seconds'
Count: 1 (4.35%)
IDs:
hikey-6220-r2-08:
6267094
Device type: dragonboard-845c
Total jobs: 7
Total errors: 1 (14.29%)
Error type: Test
Error count: 1 (14.29%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[c9fcbffe]'
Count: 1 (14.29%)
IDs:
db845c-09:
6266279
Total jobs: 23
Total errors: 13 (56.52%)
LAVA errors: 0 (0.00%)
Test errors: 10 (43.48%)
Job errors: 1 (4.35%)
Infra errors: 2 (8.70%)
Canceled jobs: 0 (0.00%)
Device type: hi6220-hikey-r2
Total jobs: 19
Total errors: 9 (47.37%)
Error type: Job
Error count: 1 (5.26%)
Error: wait for prompt timed out
Count: 1 (5.26%)
IDs:
hikey-6220-r2-06:
6264753
Error type: Test
Error count: 8 (42.11%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17981 seconds'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-10:
6264583
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17986 seconds'
Count: 2 (10.53%)
IDs:
hikey-6220-r2-09:
6264417
hikey-6220-r2-16:
6264582
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 580 seconds'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-17:
6264523
Error: No match for error type 'Test', message 'tradefed - adb device lost[35FE0622003F362E]'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-10:
6264522
Error: No match for error type 'Test', message 'tradefed - adb device lost[6EDCB009004013EF]'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-08:
6264521
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 17987 seconds'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-06:
6264418
Error: No match for error type 'Test', message 'tradefed - adb device lost[50D6538A01FE17F3]'
Count: 1 (5.26%)
IDs:
hikey-6220-r2-15:
6264416
Device type: x15
Total jobs: 4
Total errors: 4 (100.00%)
Error type: Test
Error count: 2 (50.00%)
Error: Device NOT found!
Count: 1 (25.00%)
IDs:
x15-05:
6264615
Error: No match for error type 'Test', message 'tradefed - adb device lost[0d00a00877c48b22]'
Count: 1 (25.00%)
IDs:
x15-12:
6264525
Error type: Infrastructure
Error count: 2 (50.00%)
Error: No match for error type 'Infrastructure', message 'Unable to run 'nice' 'docker' 'exec' 'lava-6264613-2.11.9-595f5cb3-629d-4001-be43-296fa8ac7ae4' 'fastboot' '-s' '0c00700f35c08922' 'flash' 'super' '/var/lib/lava/dispatcher/tmp/6264613/fastboot-deploy-uc1h8g2g/super.img''
Count: 1 (25.00%)
IDs:
x15-11:
6264613
Error: Connection closed
Count: 1 (25.00%)
IDs:
x15-10:
6264612
kselftest: rtc built with clang-16 getting failed but passed with gcc-12
build. Please find more details about test logs on clang-16 and gcc-12
and steps to reproduce locally on your machine by using tuxrun.
On the qemu-x86-64 clang builds it is intermittent failure;
you could notice that from the test history link below.
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Test log:
----------
Linux version 6.3.0-rc1-next-20230307 (tuxmake@tuxmake) (Debian clang
version 16.0.0 (++20230228093516+60692a66ced6-1~exp1~20230228093525.41),
Debian LLD 16.0.0) #1 SMP PREEMPT @1678159722
...
kselftest: Running tests in rtc
TAP version 13
1..1
# selftests: rtc: rtctest
# TAP version 13
# 1..8
# # Starting 8 tests from 1 test cases.
# # RUN rtc.date_read ...
# # rtctest.c:54:date_read:Current RTC date/time is 07/03/2023 03:55:04.
# # OK rtc.date_read
# ok 1 rtc.date_read
# # RUN rtc.date_read_loop ...
# # rtctest.c:96:date_read_loop:Continuously reading RTC time for 30s
(with 11ms breaks after every read).
# # rtctest.c:122:date_read_loop:Performed 2630 RTC time reads.
# # OK rtc.date_read_loop
# ok 2 rtc.date_read_loop
# # RUN rtc.uie_read ...
# # OK rtc.uie_read
# ok 3 rtc.uie_read
# # RUN rtc.uie_select ...
# # OK rtc.uie_select
# ok 4 rtc.uie_select
# # RUN rtc.alarm_alm_set ...
# # rtctest.c:222:alarm_alm_set:Alarm time now set to 03:55:44.
# # rtctest.c:241:alarm_alm_set:data: 1a0
# # OK rtc.alarm_alm_set
# ok 5 rtc.alarm_alm_set
# # RUN rtc.alarm_wkalm_set ...
# # rtctest.c:284:alarm_wkalm_set:Alarm time now set to 07/03/2023 03:55:47.
# # rtctest.c:290:alarm_wkalm_set:Expected -1 (-1) != rc (-1)
# # alarm_wkalm_set: Test terminated by assertion
# # FAIL rtc.alarm_wkalm_set
# not ok 6 rtc.alarm_wkalm_set
# # RUN rtc.alarm_alm_set_minute ...
# # rtctest.c:332:alarm_alm_set_minute:Alarm time now set to 03:56:00.
# # rtctest.c:351:alarm_alm_set_minute:data: 1a0
# # OK rtc.alarm_alm_set_minute
# ok 7 rtc.alarm_alm_set_minute
# # RUN rtc.alarm_wkalm_set_minute ...
# # rtctest.c:394:alarm_wkalm_set_minute:Alarm time now set to
07/03/2023 03:57:00.
# # rtctest.c:400:alarm_wkalm_set_minute:Expected -1 (-1) != rc (-1)
# # alarm_wkalm_set_minute: Test terminated by assertion
# # FAIL rtc.alarm_wkalm_set_minute
# not ok 8 rtc.alarm_wkalm_set_minute
# # FAILED: 6 / 8 tests passed.
# # Totals: pass:6 fail:2 xfail:0 xpass:0 skip:0 error:0
Links,
qemu-x86_64:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/te…
qemu-arm64:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
Test history:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
Test log:
---------
Linux version 6.3.0-rc1-next-20230307 (tuxmake@tuxmake)
(aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils
for Debian) 2.40) #1 SMP PREEMPT @1678159736
...
kselftest: Running tests in rtc
TAP version 13
1..1
# selftests: rtc: rtctest
# TAP version 13
# 1..8
# # Starting 8 tests from 1 test cases.
# # RUN rtc.date_read ...
# # rtctest.c:52:date_read:Current RTC date/time is 07/03/2023 03:48:22.
# # OK rtc.date_read
# ok 1 rtc.date_read
# # RUN rtc.date_read_loop ...
# # rtctest.c:95:date_read_loop:Continuously reading RTC time for 30s
(with 11ms breaks after every read).
# # rtctest.c:122:date_read_loop:Performed 2670 RTC time reads.
# # OK rtc.date_read_loop
# ok 2 rtc.date_read_loop
# # RUN rtc.uie_read ...
# # OK rtc.uie_read
# ok 3 rtc.uie_read
# # RUN rtc.uie_select ...
# # OK rtc.uie_select
# ok 4 rtc.uie_select
# # RUN rtc.alarm_alm_set ...
# # rtctest.c:221:alarm_alm_set:Alarm time now set to 03:49:02.
# # rtctest.c:241:alarm_alm_set:data: 1a0
# # OK rtc.alarm_alm_set
# ok 5 rtc.alarm_alm_set
# # RUN rtc.alarm_wkalm_set ...
# # rtctest.c:281:alarm_wkalm_set:Alarm time now set to 07/03/2023 03:49:05.
# # OK rtc.alarm_wkalm_set
# ok 6 rtc.alarm_wkalm_set
# # RUN rtc.alarm_alm_set_minute ...
# # rtctest.c:331:alarm_alm_set_minute:Alarm time now set to 03:50:00.
<47>[ 106.383091] systemd-journald[98]: Sent WATCHDOG=1 notification.
# # rtctest.c:351:alarm_alm_set_minute:data: 1a0
# # OK rtc.alarm_alm_set_minute
# ok 7 rtc.alarm_alm_set_minute
# # RUN rtc.alarm_wkalm_set_minute ...
# # rtctest.c:391:alarm_wkalm_set_minute:Alarm time now set to
07/03/2023 03:51:00.
# # OK rtc.alarm_wkalm_set_minute
# ok 8 rtc.alarm_wkalm_set_minute
# # PASSED: 8 / 8 tests passed.
# # Totals: pass:8 fail:0 xfail:0 xpass:0 skip:0 error:0
ok 1 selftests: rtc: rtctest
Links,
qemu-x86_64:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
qemu-arm64:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230307/te…
Steps to reproduce:
--------------
# To install tuxrun on your system globally:
# sudo pip3 install -U tuxrun==0.37.2
#
# See https://tuxrun.org/ for complete documentation.
tuxrun \
--runtime podman \
--device qemu-x86_64 \
--boot-args rw \
--kernel https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWP6obiL1x51zgkgLX…
\
--modules https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWP6obiL1x51zgkgLX…
\
--rootfs https://storage.tuxboot.com/debian/bookworm/amd64/rootfs.ext4.xz \
--parameters SKIPFILE=skipfile-lkft.yaml \
--parameters KSELFTEST=https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWP6obiL…
\
--image docker.io/lavasoftware/lava-dispatcher:2023.01.0020.gc1598238f \
--tests kselftest-rtc \
--timeouts boot=15
--
Linaro LKFT
https://lkft.linaro.org