6.9.6-rc1 review
Subsystems (6)
Hi!
Quoted 4 lines
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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.
CIP testing did not find any problems here:
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-6.9.y
6.6 passes our testing, too:
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-6.6.y
Best regards,
Pavel
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Quoted 9 lines
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 9 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
Compiled and booted on my x86_64 and ARM64 test systems. No errors or regressions.
Thanks.
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
No regressions found on WSL (x86 and arm64).
Built, booted, and reviewed dmesg.
Thank you. :)
Quoted 5 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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.
Successfully compiled and installed the kernel on my computer (Acer Aspire E15, Intel Core i3 Haswell). No noticeable regressions.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Am 19.06.2024 um 14:52 schrieb Greg Kroah-Hartman:
Quoted 7 lines
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
Builds, boots and works fine w/o regressions on my 2-socket Ivy Bridge Xeon E5-2697 v2 server.
Beste Grüße,
Peter Schneider
Signature · 8 lines
Climb the mountain not to plant your flag, but to embrace the challenge, enjoy the air and behold the view. Climb it so you can see the world, not so the world can see you. -- David McCullough Jr. OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244 Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc https://keys.mailvelope.com/pks/lookup?op=get&[email protected] https://keys.mailvelope.com/pks/lookup?op=get&[email protected]
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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.
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllers cgroup_fj_stress test cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.
In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/
it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflow
2)
The LTP controllers cgroup_fj_stress test suite causing kernel oops on arm64 Juno-r2 (with the clang-night build toolchain).
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000009 Internal error: Oops: 0000000096000044 [#1] PREEMPT SMP pc : xprt_alloc_slot+0x54/0x1c8 lr : xprt_alloc_slot+0x30/0x1c8
Details of crash log:
1)
Crash log:
-----------cgroup_fj_stress 1 TINFO: Running: cgroup_fj_stress.sh cpuacct 200 1 none cgroup_fj_stress 1 TINFO: timeout per run is 0h 50m 0s tst_cgroup.c:764: TINFO: Mounted V1 cpuacct CGroup on /scratch/ltp-iiltEE0UOm/cgroup_cpuacctcgroup_fj_stress 1 TINFO: test starts with cgroup version 1 cgroup_fj_stress 1 TINFO: Creating subgroups ...
[ 1785.477847] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1785.486682] Mem abort info: [ 1785.489477] ESR = 0x0000000096000004 [ 1785.493232] EC = 0x25: DABT (current EL), IL = 32 bits [ 1785.498555] SET = 0, FnV = 0 [ 1785.501613] EA = 0, S1PTW = 0 [ 1785.504757] FSC = 0x04: level 0 translation fault [ 1785.509643] Data abort info: [ 1785.512526] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 1785.518021] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1785.523082] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 .. [ 1786.235715] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 .. [ 1786.286238] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 .. [ 1786.336761] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.345564] Mem abort info: [ 1786.348359] ESR = 0x0000000096000004 [ 1786.352112] EC = 0x25: DABT (current EL), IL = 32 bits [ 1786.357434] SET = 0, FnV = 0 [ 1786.360492] EA = 0, S1PTW = 0 [ 1786.363637] FSC = 0x04: level 0 translation fault [ 1786.368523] Data abort info: [ 1786.371405] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 1786.376900] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1786.381960] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1786.387284] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.387293] Insufficient stack space to handle exception! [ 1786.387296] ESR: 0x0000000096000047 -- DABT (current EL) [ 1786.387302] FAR: 0xffff80008399ffe0 [ 1786.387306] Task stack: [0xffff8000839a0000..0xffff8000839a4000] [ 1786.387312] IRQ stack: [0xffff8000837f8000..0xffff8000837fc000] [ 1786.387319] Overflow stack: [0xffff00097ec95320..0xffff00097ec96320] [ 1786.387327] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.9.6-rc1 #1 [ 1786.387338] Hardware name: ARM Juno development board (r2) (DT) [ 1786.387344] pstate: a00003c5 (NzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1786.387355] pc : _prb_read_valid (kernel/printk/printk_ringbuffer.c:2109) [ 1786.387374] lr : prb_read_valid (kernel/printk/printk_ringbuffer.c:2183) [ 1786.387385] sp : ffff80008399ffe0 [ 1786.387390] x29: ffff8000839a0030 x28: ffff000800365f00 x27: ffff800082530008 [ 1786.387407] x26: ffff8000834e33b8 x25: ffff8000839a00b0 x24: 0000000000000001 [ 1786.387423] x23: ffff8000839a00a8 x22: ffff8000830e3e40 x21: 0000000000001e9e [ 1786.387438] x20: 0000000000000000 x19: ffff8000839a01c8 x18: 0000000000000010 [ 1786.387453] x17: 72646461206c6175 x16: 7472697620746120 x15: 65636e6572656665 [ 1786.387468] x14: 726564207265746e x13: 3037303030303030 x12: 3030303030303030 [ 1786.387483] x11: 2073736572646461 x10: ffff800083151ea0 x9 : ffff80008014273c [ 1786.387498] x8 : ffff8000839a0120 x7 : 0000000000000000 x6 : 0000000000000e9f [ 1786.387512] x5 : ffff8000839a00c8 x4 : ffff8000837157c0 x3 : 0000000000000000 [ 1786.387526] x2 : ffff8000839a00b0 x1 : 0000000000000000 x0 : ffff8000830e3f58 [ 1786.387542] Kernel panic - not syncing: kernel stack overflow [ 1786.387549] SMP: stopping secondary CPUs [ 1787.510055] SMP: failed to stop secondary CPUs 0,4 [ 1787.510065] Kernel Offset: disabled [ 1787.510068] CPU features: 0x4,00001061,e0100000,0200421b [ 1787.510076] Memory Limit: none [ 1787.680436] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
2) Kernel oops log:
-----------
[ 1094.253182] __secondary_switched+0xb8/0xc0 [ 1094.258306] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000009 [ 1094.267132] Mem abort info: [ 1094.269938] ESR = 0x0000000096000044 [ 1094.273701] EC = 0x25: DABT (current EL), IL = 32 bits [ 1094.279031] SET = 0, FnV = 0 [ 1094.282097] EA = 0, S1PTW = 0 [ 1094.285242] FSC = ranslation fault [ 1094.290136] Data abort info: [ 1094.293019] ISV = 0, ISS = 0x00000044, ISS2 = 0x00000000 [ 1094.298523] CM = 0, WnR = 1, TnD = 0, TagAccess = 0 [ 1094.303592] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1094.308921] user pgtable: 4k bit VAs, pgdp=00000008a2a34000 [ 1094.315383] [0000000000000009] pgd=0000000000000000, p4d=0000000000000000 [ 1094.322211] Internal error: Oops: 0000000096000044 [#1] PREEMPT SMP [ 1094.328489] Modules linked in: btrfs xor xor_neon raid6_pq zstd_compress libcrc38x hdlcd cec drm_dma_helper onboard_usb_hub crct10dif_ce drm_kms_helper fuse drm backlight dm_mod ip_tables x_tables [ 1094.346744] CPU: 1 PID: 161 Comm: systemd-journal Tainted: G W 6.9.6-rc1 #1 [ 1094.355112] Hardware name: ARM Juno development board (r2) (DT) [ 1094.361038] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1094.368013] pc : xprt_alloc_slot+0x54/0x1c8 [ 1094.372208] lr : xprt_alloc_slot+0x30/0x1c8 [ 1094.376398] sp : ffff800082dc37e0 [ 1094.379713] x29: ffff800082dc37e0 x28: ffff8000814d31c8 x27: 0000000000008080 [ 1094.386868] x26: ffff8000825da000 x25: 0000000000000001 x24: 0000000000440100 [ 1094.394022] x23: ffff000821759300 x22: 0000000000002102 x21: ffff00082d39d000 [ 1094.401176] x20: ffff00082201f800 x19: ffff0008225bf400 x18: 0000000000000000 [ 1094.408329] x17: 0000000000000000 x16: 0000000000000800 x15: 8080008000000000 [ 1094.415483] x14: 0000ff0064656873 x13: ffff800082dc0000 x12: 0000000000000022 [ 1094.422636] x11: dead000000000100 x10: 0000000000000001 x9 : 0000000000000000 [ 1094.429790] x8 : ffff00082d39d0c8 x7 : 0000000000000000 x6 : 0000000000000000 [ 1094.436942] x5 : 0000000000000000 x4 : ffff00097ec4c530 x3 : ffff800082dc3790 [ 1094.444096] x2 : ffff000821759300 x1 : 0000000000000000 x0 : ffff800081583770 [ 1094.451249] Call trace: [ 1094.453694] xprt_alloc_slot+0x54/0x1c8 [ 1094.457536] xprt_reserve+0x6c/0xe8 [ 1094.461029] call_reserve+0x2c/0x40 [ 1094.464522] __rpc_execute+0x124/0x640 [ 1094.468280] rpc_execute+0x100/0x280 [ 1094.471862] rpc_run_task+0x124/0x1e8 [ 1094.475528] rpc_call_sync+0x58/0xc0 [ 1094.479106] nfs3_proc_getattr+0x94/0xf8 [ 1094.483037] __nfs_revalidate_inode+0x13c/0x310 [ 1094.487575] nfs_access_get_cached+0x23c/0x3b8 [ 1094.492024] nfs_do_access+0x74/0x2b8 [ 1094.495689] nfs_permission+0xb8/0x1e0 [ 1094.499441] inode_permission+0xc4/0x170 [ 1094.503371] link_path_walk+0x100/0x3e0 [ 1094.507215] path_lookupat+0x74/0x130 [ 1094.510882] filename_lookup+0xdc/0x1d8 [ 1094.514724] user_path_at_empty+0x58/0x108 [ 1094.518828] do_faccessat+0x178/0x330 [ 1094.522495] __arm64_sys_faccessat+0x30/0x48 [ 1094.526771] invoke_syscall+0x4c/0x118 [ 1094.530528] el0_svc_common+0x8c/0xf0 [ 1094.534197] do_el0_svc+0x28/0x40 [ 1094.537518] el0_svc+0x40/0x88 [ 1094.540576] el0t_64_sync_handler+0x90/0x100 [ 1094.544853] el0t_64_sync+0x190/0x198 [ 1094.548522] Code: d280200b f2fbd5ab 5280044c d1032115 (f9000549) [ 1094.554623] ---[ end trace 0000000000000000 ]--- [ 1094.559268] note: systemd-journal[161] exited with preempt_count 1 [ 1115.569495] rcu: INFO: rcu_preempt self-detected stall on CPU
Links:
------
1)
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410131/suite/log-parser-test/test/check-kernel-panic/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410131/suite/log-parser-test/test/check-kernel-panic-a44367e5836148d6e94412d6de8ab7a0ca37c18d2bfb6a639947ecd2704ad6b1/details/
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2i6h1Ah6I8CP7ABUzTl9shfaW60
- https://lkft.validation.linaro.org/scheduler/job/7687060#L23314
2)
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410890/suite/log-parser-test/test/check-kernel-oops/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410890/suite/log-parser-test/test/check-kernel-exception-55b962f42ea3dfdcb5c7b6c7ceee184b48ae8d479f430f7b31241f220adcb542/details/
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410890/suite/log-parser-test/tests/
- https://lkft.validation.linaro.org/scheduler/job/7688690#L16336
Build details:
-------
* kernel: 6.9.6-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-6.9.y
* git commit: 93f303762da5a9d9c2c72cac615d4d092ce42b1f
* git describe: v6.9.5-282-g93f303762da5
--
Linaro LKFT
https://lkft.linaro.org
Greg Kroah-Hartman
maintainerQuoted 41 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflow
Quoted 8 lines
2)
The LTP controllerscgroup_fj_stresstest suite causing kernel oops on arm64 Juno-r2 (with the clang-night build toolchain).Unable to handle kernel NULL pointer dereference at virtual address 0000000000000009 Internal error: Oops: 0000000096000044 [#1] PREEMPT SMP pc : xprt_alloc_slot+0x54/0x1c8 lr : xprt_alloc_slot+0x30/0x1c8
And these are regressions? Any chance to run 'git bisect'?
thanks,
greg k-h
Quoted 52 lines · Greg Kroah-Hartman
Quoted 41 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflowQuoted 8 lines
2)
The LTP controllerscgroup_fj_stresstest suite causing kernel oops on arm64 Juno-r2 (with the clang-night build toolchain).Unable to handle kernel NULL pointer dereference at virtual address 0000000000000009 Internal error: Oops: 0000000096000044 [#1] PREEMPT SMP pc : xprt_alloc_slot+0x54/0x1c8 lr : xprt_alloc_slot+0x30/0x1c8
Quoted 1 line
And these are regressions? Any chance to run 'git bisect'?
it's difficult to reproduce the first one so we haven't been able to bisect it. It seemd like David and Baolin might have an idea what's causing it.
- Naresh
Quoted 39 lines · Naresh Kamboju
Quoted 37 lines · Greg Kroah-Hartman
Quoted 35 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflow
How is that related to 6.9.6-rc1? That report is from mainline (6.10.rc3).
Can you share a similar kernel dmesg output from the issue on 6.9.6-rc1?
Signature · 3 lines
Cheers, David / dhildenb
Quoted 48 lines · David Hildenbrand
Quoted 39 lines · Naresh Kamboju
Quoted 37 lines · Greg Kroah-Hartman
Quoted 35 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflow
Quoted 3 lines
How is that related to 6.9.6-rc1? That report is from mainline (6.10.rc3).
Can you share a similar kernel dmesg output from the issue on 6.9.6-rc1?
I request you to use this link for detailed boot log, test log and crash log.
- https://lkft.validation.linaro.org/scheduler/job/7687060#L23314
Few more logs related to build artifacts links provided in the original email thread and bottom of this email.
crash log:
---
[ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033] [ 0.000000] Linux version 6.9.6-rc1 (tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 13.2.0-12) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1 SMP PREEMPT @1718817000 ... [ 1786.336761] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.345564] Mem abort info: [ 1786.348359] ESR = 0x0000000096000004 [ 1786.352112] EC = 0x25: DABT (current EL), IL = 32 bits [ 1786.357434] SET = 0, FnV = 0 [ 1786.360492] EA = 0, S1PTW = 0 [ 1786.363637] FSC = 0x04: level 0 translation fault [ 1786.368523] Data abort info: [ 1786.371405] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 1786.376900] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1786.381960] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1786.387284] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.387293] Insufficient stack space to handle exception! [ 1786.387296] ESR: 0x0000000096000047 -- DABT (current EL) [ 1786.387302] FAR: 0xffff80008399ffe0 [ 1786.387306] Task stack: [0xffff8000839a0000..0xffff8000839a4000] [ 1786.387312] IRQ stack: [0xffff8000837f8000..0xffff8000837fc000] [ 1786.387319] Overflow stack: [0xffff00097ec95320..0xffff00097ec96320] [ 1786.387327] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.9.6-rc1 #1 [ 1786.387338] Hardware name: ARM Juno development board (r2) (DT) [ 1786.387344] pstate: a00003c5 (NzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1786.387355] pc : _prb_read_valid (kernel/printk/printk_ringbuffer.c:2109) [ 1786.387374] lr : prb_read_valid (kernel/printk/printk_ringbuffer.c:2183) [ 1786.387385] sp : ffff80008399ffe0 [ 1786.387390] x29: ffff8000839a0030 x28: ffff000800365f00 x27: ffff800082530008 [ 1786.387407] x26: ffff8000834e33b8 x25: ffff8000839a00b0 x24: 0000000000000001 [ 1786.387423] x23: ffff8000839a00a8 x22: ffff8000830e3e40 x21: 0000000000001e9e [ 1786.387438] x20: 0000000000000000 x19: ffff8000839a01c8 x18: 0000000000000010 [ 1786.387453] x17: 72646461206c6175 x16: 7472697620746120 x15: 65636e6572656665 [ 1786.387468] x14: 726564207265746e x13: 3037303030303030 x12: 3030303030303030 [ 1786.387483] x11: 2073736572646461 x10: ffff800083151ea0 x9 : ffff80008014273c [ 1786.387498] x8 : ffff8000839a0120 x7 : 0000000000000000 x6 : 0000000000000e9f [ 1786.387512] x5 : ffff8000839a00c8 x4 : ffff8000837157c0 x3 : 0000000000000000 [ 1786.387526] x2 : ffff8000839a00b0 x1 : 0000000000000000 x0 : ffff8000830e3f58 [ 1786.387542] Kernel panic - not syncing: kernel stack overflow [ 1786.387549] SMP: stopping secondary CPUs [ 1787.510055] SMP: failed to stop secondary CPUs 0,4 [ 1787.510065] Kernel Offset: disabled [ 1787.510068] CPU features: 0x4,00001061,e0100000,0200421b [ 1787.510076] Memory Limit: none [ 1787.680436] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
1)
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410131/suite/log-parser-test/test/check-kernel-panic/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/build/v6.9.5-282-g93f303762da5/testrun/24410131/suite/log-parser-test/test/check-kernel-panic-a44367e5836148d6e94412d6de8ab7a0ca37c18d2bfb6a639947ecd2704ad6b1/details/
- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2i6h1Ah6I8CP7ABUzTl9shfaW60
- https://lkft.validation.linaro.org/scheduler/job/7687060#L23314
- Naresh
Quoted 6 lines
--
Cheers,David / dhildenb
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Quoted 53 lines · Naresh Kamboju
Quoted 48 lines · David Hildenbrand
Quoted 39 lines · Naresh Kamboju
Quoted 37 lines · Greg Kroah-Hartman
Quoted 35 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflowQuoted 3 lines
How is that related to 6.9.6-rc1? That report is from mainline (6.10.rc3).
Can you share a similar kernel dmesg output from the issue on 6.9.6-rc1?
Quoted 9 lines
I request you to use this link for detailed boot log, test log and crash log.
- https://lkft.validation.linaro.org/scheduler/job/7687060#L23314Few more logs related to build artifacts links provided in the original email thread and bottom of this email.
crash log:
---
Thanks, so this is something different than the
"BUG: Bad page map in process fork13
BUG: Bad rss-counter state mm:"
stuff on mainline you referenced.
Looks like some recursive exception until we exhausted the stack.
Trying to connect the dots here, can you enlighten me how this is related to the fork13 mainline report?
Quoted 48 lines
[ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033] [ 0.000000] Linux version 6.9.6-rc1 (tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 13.2.0-12) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1 SMP PREEMPT @1718817000 ... [ 1786.336761] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.345564] Mem abort info: [ 1786.348359] ESR = 0x0000000096000004 [ 1786.352112] EC = 0x25: DABT (current EL), IL = 32 bits [ 1786.357434] SET = 0, FnV = 0 [ 1786.360492] EA = 0, S1PTW = 0 [ 1786.363637] FSC = 0x04: level 0 translation fault [ 1786.368523] Data abort info: [ 1786.371405] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 1786.376900] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1786.381960] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1786.387284] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.387293] Insufficient stack space to handle exception! [ 1786.387296] ESR: 0x0000000096000047 -- DABT (current EL) [ 1786.387302] FAR: 0xffff80008399ffe0 [ 1786.387306] Task stack: [0xffff8000839a0000..0xffff8000839a4000] [ 1786.387312] IRQ stack: [0xffff8000837f8000..0xffff8000837fc000] [ 1786.387319] Overflow stack: [0xffff00097ec95320..0xffff00097ec96320] [ 1786.387327] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.9.6-rc1 #1 [ 1786.387338] Hardware name: ARM Juno development board (r2) (DT) [ 1786.387344] pstate: a00003c5 (NzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1786.387355] pc : _prb_read_valid (kernel/printk/printk_ringbuffer.c:2109) [ 1786.387374] lr : prb_read_valid (kernel/printk/printk_ringbuffer.c:2183) [ 1786.387385] sp : ffff80008399ffe0 [ 1786.387390] x29: ffff8000839a0030 x28: ffff000800365f00 x27: ffff800082530008 [ 1786.387407] x26: ffff8000834e33b8 x25: ffff8000839a00b0 x24: 0000000000000001 [ 1786.387423] x23: ffff8000839a00a8 x22: ffff8000830e3e40 x21: 0000000000001e9e [ 1786.387438] x20: 0000000000000000 x19: ffff8000839a01c8 x18: 0000000000000010 [ 1786.387453] x17: 72646461206c6175 x16: 7472697620746120 x15: 65636e6572656665 [ 1786.387468] x14: 726564207265746e x13: 3037303030303030 x12: 3030303030303030 [ 1786.387483] x11: 2073736572646461 x10: ffff800083151ea0 x9 : ffff80008014273c [ 1786.387498] x8 : ffff8000839a0120 x7 : 0000000000000000 x6 : 0000000000000e9f [ 1786.387512] x5 : ffff8000839a00c8 x4 : ffff8000837157c0 x3 : 0000000000000000 [ 1786.387526] x2 : ffff8000839a00b0 x1 : 0000000000000000 x0 : ffff8000830e3f58 [ 1786.387542] Kernel panic - not syncing: kernel stack overflow [ 1786.387549] SMP: stopping secondary CPUs [ 1787.510055] SMP: failed to stop secondary CPUs 0,4 [ 1787.510065] Kernel Offset: disabled [ 1787.510068] CPU features: 0x4,00001061,e0100000,0200421b [ 1787.510076] Memory Limit: none [ 1787.680436] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
Signature · 3 lines
Cheers, David / dhildenb
Quoted 58 lines · David Hildenbrand
Quoted 56 lines · Naresh Kamboju
Quoted 48 lines · David Hildenbrand
Quoted 39 lines · Naresh Kamboju
Quoted 37 lines · Greg Kroah-Hartman
Quoted 35 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1
1)
The LTP controllerscgroup_fj_stresstest cases causing kernel crash on arm64 Juno-r2 with
compat mode testing with stable-rc 6.9 kernel.In the recent past I have reported this issues on Linux mainline.
LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3
- https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
it goes like this,
Unable to handle kernel NULL pointer dereference at virtual address ... Insufficient stack space to handle exception! end Kernel panic - not syncing: kernel stack overflowQuoted 3 lines
How is that related to 6.9.6-rc1? That report is from mainline (6.10.rc3).
Can you share a similar kernel dmesg output from the issue on 6.9.6-rc1?
I request you to use this link for detailed boot log, test log and crash log.
- https://lkft.validation.linaro.org/scheduler/job/7687060#L23314
Quoted 6 lines
Quoted 6 lines
Few more logs related to build artifacts links provided in the original email thread and bottom of this email.
crash log:
---
Thanks for investigating this crash report.
Quoted 8 lines
Thanks, so this is something different than the
"BUG: Bad page map in process fork13
BUG: Bad rss-counter state mm:"stuff on mainline you referenced.
Looks like some recursive exception until we exhausted the stack.
You are right !
I see only one common case is, exhaust the stack.
Quoted 4 lines
Trying to connect the dots here, can you enlighten me how this is related to the fork13 mainline report?
I am not sure about the relation between these two reports. But as a common practice I have shared that report information.
Quoted 50 lines
Quoted 40 lines
[ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033] [ 0.000000] Linux version 6.9.6-rc1 (tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 13.2.0-12) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1 SMP PREEMPT @1718817000 ... [ 1786.336761] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.345564] Mem abort info: [ 1786.348359] ESR = 0x0000000096000004 [ 1786.352112] EC = 0x25: DABT (current EL), IL = 32 bits [ 1786.357434] SET = 0, FnV = 0 [ 1786.360492] EA = 0, S1PTW = 0 [ 1786.363637] FSC = 0x04: level 0 translation fault [ 1786.368523] Data abort info: [ 1786.371405] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 1786.376900] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1786.381960] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1786.387284] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 [ 1786.387293] Insufficient stack space to handle exception! [ 1786.387296] ESR: 0x0000000096000047 -- DABT (current EL) [ 1786.387302] FAR: 0xffff80008399ffe0 [ 1786.387306] Task stack: [0xffff8000839a0000..0xffff8000839a4000] [ 1786.387312] IRQ stack: [0xffff8000837f8000..0xffff8000837fc000] [ 1786.387319] Overflow stack: [0xffff00097ec95320..0xffff00097ec96320] [ 1786.387327] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.9.6-rc1 #1 [ 1786.387338] Hardware name: ARM Juno development board (r2) (DT) [ 1786.387344] pstate: a00003c5 (NzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1786.387355] pc : _prb_read_valid (kernel/printk/printk_ringbuffer.c:2109) [ 1786.387374] lr : prb_read_valid (kernel/printk/printk_ringbuffer.c:2183) [ 1786.387385] sp : ffff80008399ffe0 [ 1786.387390] x29: ffff8000839a0030 x28: ffff000800365f00 x27: ffff800082530008 [ 1786.387407] x26: ffff8000834e33b8 x25: ffff8000839a00b0 x24: 0000000000000001 [ 1786.387423] x23: ffff8000839a00a8 x22: ffff8000830e3e40 x21: 0000000000001e9e [ 1786.387438] x20: 0000000000000000 x19: ffff8000839a01c8 x18: 0000000000000010 [ 1786.387453] x17: 72646461206c6175 x16: 7472697620746120 x15: 65636e6572656665 [ 1786.387468] x14: 726564207265746e x13: 3037303030303030 x12: 3030303030303030 [ 1786.387483] x11: 2073736572646461 x10: ffff800083151ea0 x9 : ffff80008014273c [ 1786.387498] x8 : ffff8000839a0120 x7 : 0000000000000000 x6 : 0000000000000e9f [ 1786.387512] x5 : ffff8000839a00c8 x4 : ffff8000837157c0 x3 : 0000000000000000Quoted 8 lines
[ 1786.387526] x2 : ffff8000839a00b0 x1 : 0000000000000000 x0 : ffff8000830e3f58 [ 1786.387542] Kernel panic - not syncing: kernel stack overflow [ 1786.387549] SMP: stopping secondary CPUs [ 1787.510055] SMP: failed to stop secondary CPUs 0,4 [ 1787.510065] Kernel Offset: disabled [ 1787.510068] CPU features: 0x4,00001061,e0100000,0200421b [ 1787.510076] Memory Limit: none [ 1787.680436] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
Quoted 4 lines
--
Cheers,David / dhildenb
- Naresh
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Trying to connect the dots here, can you enlighten me how this is related to the fork13 mainline report?
I am not sure about the relation between these two reports. But as a common practice I have shared that report information.
Yes, I was just briefly concerned that we are seeing the same issue as we saw once on 6.10-rc3 also on a 6.9 kernel -- also because the patch list don't contain that much MM stuff.
Signature · 3 lines
Cheers, David / dhildenb
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.9.6 release. There are 281 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, 21 Jun 2024 12:55:11 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 9 lines
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.9.y
and the diffstat can be found below.thanks,
greg k-h
Compiled and booted on my test system. No dmesg regressions.
thanks,
-- Shuah
Re: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
In reply to Greg Kroah-HartmanQuoted 7 lines · Greg Kroah-Hartman
Quoted 6 lines · Francois Dugast
Quoted 1 line · Greg Kroah-Hartman
6.9-stable review patch. If anyone has any objections, please let me know.
Hi Greg,
This patch seems to be a duplicate and should be dropped.
Please also drop the 6.9.7-rc1:
https://lore.kernel.org/stable/[email protected]/T/#u
Quoted 10 lines
How are we supposed to be able to determine this?
When you all check in commits into multiple branches, and tag them for
stable: and then they hit Linus's tree, and all hell breaks loose on our scripts. "Normally" this tag:Quoted 1 line
Quoted 1 line
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Quoted 1 line
Why not, what went wrong?
worst thing in this case is that git applied this cleanly, although the change was already there.
But also a timing thing. The faulty patch was already in the master. At the moment we applied the fix in our drm-xe-next, we had already sent the latest changes to the upcoming merge-window, so it propagated there as a cherry-pick, but we had to also send to the current -rc cycle and then the second cherry-pick also goes there.
This fast propagation to the current active development branch in general shouldn't be a problem, but a good thing so it is ensured that the fix gets quickly there. But clearly this configure a problem to the later propagation to the stable trees.
Quoted 6 lines
I'll go drop this, but ugh, what a mess. It makes me dread every drm patch that gets tagged for stable, and so I postpone taking them until I am done with everything else and can't ignore them anymore.
Please fix your broken process.
When you say drm, do you have same problem with patches coming from other drm drivers, drm-misc, or is it really only Intel trees? (only drm-intel (i915) and drm-xe)?
Quoted 2 lines
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines · Francois Dugast
Quoted 1 line · Greg Kroah-Hartman
6.9-stable review patch. If anyone has any objections, please let me know.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Hi Greg,
This patch seems to be a duplicate and should be dropped.
Please also drop the 6.9.7-rc1:
Done.
Quoted 6 lines
Quoted 6 lines
How are we supposed to be able to determine this?
When you all check in commits into multiple branches, and tag them for
stable: and then they hit Linus's tree, and all hell breaks loose on our scripts. "Normally" this tag:
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
Quoted 1 line
Why not, what went wrong?
worst thing in this case is that git applied this cleanly, although the change was already there.
Yup.
Quoted 10 lines
But also a timing thing. The faulty patch was already in the master. At the moment we applied the fix in our drm-xe-next, we had already sent the latest changes to the upcoming merge-window, so it propagated there as a cherry-pick, but we had to also send to the current -rc cycle and then the second cherry-pick also goes there.
This fast propagation to the current active development branch in general shouldn't be a problem, but a good thing so it is ensured that the fix gets quickly there. But clearly this configure a problem to the later propagation to the stable trees.
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
Quoted 9 lines
Quoted 5 lines
I'll go drop this, but ugh, what a mess. It makes me dread every drm patch that gets tagged for stable, and so I postpone taking them until I am done with everything else and can't ignore them anymore.
Please fix your broken process.
When you say drm, do you have same problem with patches coming from other drm drivers, drm-misc, or is it really only Intel trees? (only drm-intel (i915) and drm-xe)?
Intel trees have traditionally been the worst, but normally you all give me some cherry-pick clue on the commits so I can weed them out. That didn't happen here.
But, I will note that the AMD drm tree is now starting to do this, in much worse ways than the Intel tree because there is NO cherry-pick information anywhere, so again, I have no idea what to do and massive conflicts happen.
So AMD is copying your bad behavior, please, both of you stop and fix this so that it isn't so broken.
Again, I understand the need/want to have multiple versions of the same patch in different branches to get fixes merged quicker, but when you do that, please give me a way to determine this, otherwise we have no chance.
thanks,
greg k-h
Re: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 80 lines · Greg Kroah-Hartman
Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines · Francois Dugast
Quoted 1 line · Greg Kroah-Hartman
6.9-stable review patch. If anyone has any objections, please let me know.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Hi Greg,
This patch seems to be a duplicate and should be dropped.
Please also drop the 6.9.7-rc1:
Done.
Quoted 6 lines
Quoted 6 lines
How are we supposed to be able to determine this?
When you all check in commits into multiple branches, and tag them for
stable: and then they hit Linus's tree, and all hell breaks loose on our scripts. "Normally" this tag:Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
Quoted 1 line
Why not, what went wrong?
worst thing in this case is that git applied this cleanly, although the change was already there.
Yup.
Quoted 10 lines
But also a timing thing. The faulty patch was already in the master. At the moment we applied the fix in our drm-xe-next, we had already sent the latest changes to the upcoming merge-window, so it propagated there as a cherry-pick, but we had to also send to the current -rc cycle and then the second cherry-pick also goes there.
This fast propagation to the current active development branch in general shouldn't be a problem, but a good thing so it is ensured that the fix gets quickly there. But clearly this configure a problem to the later propagation to the stable trees.
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
Quoted 9 lines
Quoted 5 lines
I'll go drop this, but ugh, what a mess. It makes me dread every drm patch that gets tagged for stable, and so I postpone taking them until I am done with everything else and can't ignore them anymore.
Please fix your broken process.
When you say drm, do you have same problem with patches coming from other drm drivers, drm-misc, or is it really only Intel trees? (only drm-intel (i915) and drm-xe)?
Intel trees have traditionally been the worst, but normally you all give me some cherry-pick clue on the commits so I can weed them out. That didn't happen here.
But, I will note that the AMD drm tree is now starting to do this, in much worse ways than the Intel tree because there is NO cherry-pick information anywhere, so again, I have no idea what to do and massive conflicts happen.
Quoted 7 lines
So AMD is copying your bad behavior, please, both of you stop and fix this so that it isn't so broken.
Again, I understand the need/want to have multiple versions of the same patch in different branches to get fixes merged quicker, but when you do that, please give me a way to determine this, otherwise we have no chance.
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
BR,
Jani.
[1] https://lore.kernel.org/r/Zjz7SzCvfA3vQRxu@fedora
[2] https://lore.kernel.org/r/c3rduifdp5wipkljdpuq4x6uowkc2uyzgdoft4txvp6mgvzjaj@7zw7c6uw4wrf
Signature · 1 line
Jani Nikula, Intel
Greg Kroah-Hartman
maintainerRe: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 89 lines · Jani Nikula
Quoted 80 lines · Greg Kroah-Hartman
Quoted 5 lines · Rodrigo Vivi
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines · Francois Dugast
Quoted 1 line · Greg Kroah-Hartman
6.9-stable review patch. If anyone has any objections, please let me know.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Hi Greg,
This patch seems to be a duplicate and should be dropped.
Please also drop the 6.9.7-rc1:
Done.
Quoted 6 lines
Quoted 6 lines
How are we supposed to be able to determine this?
When you all check in commits into multiple branches, and tag them for
stable: and then they hit Linus's tree, and all hell breaks loose on our scripts. "Normally" this tag:Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
Quoted 1 line
Why not, what went wrong?
worst thing in this case is that git applied this cleanly, although the change was already there.
Yup.
Quoted 10 lines
But also a timing thing. The faulty patch was already in the master. At the moment we applied the fix in our drm-xe-next, we had already sent the latest changes to the upcoming merge-window, so it propagated there as a cherry-pick, but we had to also send to the current -rc cycle and then the second cherry-pick also goes there.
This fast propagation to the current active development branch in general shouldn't be a problem, but a good thing so it is ensured that the fix gets quickly there. But clearly this configure a problem to the later propagation to the stable trees.
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
Quoted 9 lines
Quoted 5 lines
I'll go drop this, but ugh, what a mess. It makes me dread every drm patch that gets tagged for stable, and so I postpone taking them until I am done with everything else and can't ignore them anymore.
Please fix your broken process.
When you say drm, do you have same problem with patches coming from other drm drivers, drm-misc, or is it really only Intel trees? (only drm-intel (i915) and drm-xe)?
Intel trees have traditionally been the worst, but normally you all give me some cherry-pick clue on the commits so I can weed them out. That didn't happen here.
But, I will note that the AMD drm tree is now starting to do this, in much worse ways than the Intel tree because there is NO cherry-pick information anywhere, so again, I have no idea what to do and massive conflicts happen.
Quoted 7 lines
So AMD is copying your bad behavior, please, both of you stop and fix this so that it isn't so broken.
Again, I understand the need/want to have multiple versions of the same patch in different branches to get fixes merged quicker, but when you do that, please give me a way to determine this, otherwise we have no chance.
Quoted 5 lines
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
any cherry-pick SHOULD have the git id referenced when they are cherry-picked, that's what the id is there for. Please always do that.
greg k-h
Re: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
My thought was on the stable scripts doing something like that.
For each candidate commit, check if it has the tag line (cherry picked from commit <original-hash>)
if so, then something like:
if git rev-parse --quiet --verify <original-hash> || \
git log --grep="cherry picked from commit <original-hash> -E --oneline >/dev/null; then
echo "One version of this patch is already in tree. Skipping..." # send-email?!
else
#attempt to apply the candidate commit...
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
I'm afraid this is not accurate. Our tooling is taking care of that for us. More details below.
Quoted 5 lines
Quoted 5 lines
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
Also I don't believe there's anything wrong here. It was a coincidence on the timing, but one is
drm-xe-next-fixes-2024-05-09-1
and the other
drm-xe-fixes-2024-05-09
both maintained by different people at that time.
Quoted 3 lines
any cherry-pick SHOULD have the git id referenced when they are cherry-picked, that's what the id is there for. Please always do that.
Original commit hash is 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de 50aec9665e0b ("drm/xe: Use ordered WQ for G2H handler")
drm-xe-next-fixes-2024-05-09-1
has commit 2d9c72f676e6 ("drm/xe: Use ordered WQ for G2H handler") which contains:
drm-xe-fixes-2024-05-09
has commit c002bfe644a2 ("drm/xe: Use ordered WQ for G2H handler") which contains:
Perhaps git itself should be smart to avoid it since the info is there, but unfortunately it is not. So probably a script on top like above could help us to minimize cases like this.
Thanks a lot from the support and patience here.
Quoted 2 lines
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 18 lines · Rodrigo Vivi
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
My thought was on the stable scripts doing something like that.
For each candidate commit, check if it has the tag line (cherry picked from commit <original-hash>)
Right there, that fails with how the drm tree works. So you are going to have to come up with something else for how to check this. Or fix your process to make this work.
Look at the commits tagged for stable in the -rc1 merge window. They don't have the "cherry picked" wording as they were not cherry picked! They were the "originals" that were cherry picked from.
Quoted 8 lines
if so, then something like:
if git rev-parse --quiet --verify <original-hash> || \
git log --grep="cherry picked from commit <original-hash> -E --oneline >/dev/null; then
echo "One version of this patch is already in tree. Skipping..." # send-email?!
else
#attempt to apply the candidate commit...
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
I'm afraid this is not accurate. Our tooling is taking care of that for us.
Then your tooling needs to be fixed.
Quoted 12 lines
Quoted 5 lines
Quoted 5 lines
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
Also I don't believe there's anything wrong here. It was a coincidence on the timing, but one is
drm-xe-next-fixes-2024-05-09-1
and the other
drm-xe-fixes-2024-05-09
Quoted 8 lines
both maintained by different people at that time.
Quoted 3 lines
any cherry-pick SHOULD have the git id referenced when they are cherry-picked, that's what the id is there for. Please always do that.
Original commit hash is
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de50aec9665e0b("drm/xe: Use ordered WQ for G2H handler")
And that's not in Linus's tree.
Quoted 11 lines
drm-xe-next-fixes-2024-05-09-1
has commit2d9c72f676e6("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Thomas Hellström <[email protected]>drm-xe-fixes-2024-05-09
has commitc002bfe644a2("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Lucas De Marchi <[email protected]>
Ok, but again, the original is not in Linus's tree.
So how am I do know that the cherry picked line was already in the tree? Added it twice is odd, but really, that's not the common failure here at all. The real problem is the -rc1 window where there is NOT a commit id that can be matched up with (as it happening with a few commits here, and with lots of AMD patches now.)
thanks,
greg k-h
Re: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 77 lines · Greg Kroah-Hartman
Quoted 18 lines · Rodrigo Vivi
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
My thought was on the stable scripts doing something like that.
For each candidate commit, check if it has the tag line (cherry picked from commit <original-hash>)
Right there, that fails with how the drm tree works. So you are going to have to come up with something else for how to check this. Or fix your process to make this work.
Look at the commits tagged for stable in the -rc1 merge window. They don't have the "cherry picked" wording as they were not cherry picked! They were the "originals" that were cherry picked from.
Quoted 8 lines
if so, then something like:
if git rev-parse --quiet --verify <original-hash> || \
git log --grep="cherry picked from commit <original-hash> -E --oneline >/dev/null; then
echo "One version of this patch is already in tree. Skipping..." # send-email?!
else
#attempt to apply the candidate commit...Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
I'm afraid this is not accurate. Our tooling is taking care of that for us.
Then your tooling needs to be fixed.
Quoted 12 lines
Quoted 5 lines
Quoted 5 lines
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
Also I don't believe there's anything wrong here. It was a coincidence on the timing, but one is
drm-xe-next-fixes-2024-05-09-1
and the other
drm-xe-fixes-2024-05-09Quoted 8 lines
both maintained by different people at that time.
Quoted 3 lines
any cherry-pick SHOULD have the git id referenced when they are cherry-picked, that's what the id is there for. Please always do that.
Original commit hash is
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de50aec9665e0b("drm/xe: Use ordered WQ for G2H handler")And that's not in Linus's tree.
Quoted 6 lines
drm-xe-next-fixes-2024-05-09-1
has commit2d9c72f676e6("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Thomas Hellström <[email protected]>
Quoted 7 lines
Quoted 5 lines
drm-xe-fixes-2024-05-09
has commitc002bfe644a2("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Lucas De Marchi <[email protected]>Ok, but again, the original is not in Linus's tree.
current workflow is:
All patches go to drm-xe-next which may be targeting the next kernel release or the next->next. Then the fixes (and less frequently, other commits which are not important here) are cherry-picked by maintainers to the current or next kernel release. In other words, the cherry-pick always targets a version 1 less than the original patch.
couple of issues I see:
1) original commit not being in Linus's tree
If you are traversing the branch and you have a "Fixes: XXXX" where XXXX is from a previous release, you will most likely see the "cherry picked from <original>" *before* the <original> commit showing up in that tree.
Examples looking at the most recent fixes in Linus's tree with
$ git rev-parse origin/master 6d6444ba82053c716fb5ac83346202659023044e
$ git log --format="%h %s%n%(trailers)" -n3 --grep "^Fixes:" \ 6d6444ba82053c716fb5ac83346202659023044e \ -- drivers/gpu/drm/xe
d21d44dbdde8 in v6.10-rc5, fixes aef4eb7c7dec from v6.9 but f0ccd2d805e55e12b430d5d6b9acd9f891af455e is not in any tag.
2470b141bfae in v6.10-rc4, fixes 975e4a3795d4 from v6.8 but 6800e63cf97bae62bca56d8e691544540d945f53 is not in any tag.
cd554e1e118a in v6.10-rc4, fixes 0698ff57bf32 from v6.10-rc3 but b321cb83a375bcc18cd0a4b62bdeaf6905cca769 is not in any tag.
Without a change in the workflow, I don't think you can rely on the original commit hash being present in Linus's tree, unless you wait one entire kernel release cycle.
2) Duplicate commits with "cherry picked from ... "
This only happened because it was cherry-picked in 2 branches, both for current and for next kernel releases. This can only happen during the last rcN as drm-xe-next-fixes is only used there.
I think (2) is easier to fix: we should really add more checks in dim to avoid that: if a commit is a candidate to drm-xe-fixes it should never be a candidate to drm-xe-next-fixes.
As for (1), I don't see how it could be fixed without a workflow change. That would require committers to add the commits to the right branch rather than relying on maintainers to cherry-pick them to the -fixes branch after they are merged in drm-xe-next. What dim could do is to automate that for the committer and figure out the branch by itself based on the 2 commit hashes.
For all the above I used drm-xe-* as example, but it applies to drm-intel-* too.
Without the fix to (2) and workflow change from (1), this situation can be avoided from the -stable scripts by checking if the commit or any cherry-pick thereof is already in the stable tree:
git merge-base --is-ancestor $original_commit HEAD git log -n1 --grep "^(cherry picked from commit $original_commit)"
the second search is very expensive though.... probably need to find a way to limit the search space.
Lucas De Marchi
Quoted 10 lines
So how am I do know that the cherry picked line was already in the tree? Added it twice is odd, but really, that's not the common failure here at all. The real problem is the -rc1 window where there is NOT a commit id that can be matched up with (as it happening with a few commits here, and with lots of AMD patches now.)
thanks,
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH 6.9 073/281] drm/xe: Use ordered WQ for G2H handler
Quoted 86 lines · Lucas De Marchi
Quoted 77 lines · Greg Kroah-Hartman
Quoted 18 lines · Rodrigo Vivi
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
(cherry picked from commit
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Would help out here, but it doesn't.
I wonder if there would be a way of automate this on stable scripts to avoid attempting a cherry pick that is already there.
Please tell me how to do so.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
But I do understand that any change like this would cause a 'latency' on the scripts and slow down everything.
Depends, I already put a huge latency on drm stable patches because of this mess. And I see few, if any, actual backports for when I report FAILED stable patches, so what is going to get slower than it currently is?
Quoted 4 lines
My thought was on the stable scripts doing something like that.
For each candidate commit, check if it has the tag line (cherry picked from commit <original-hash>)
Right there, that fails with how the drm tree works. So you are going to have to come up with something else for how to check this. Or fix your process to make this work.
Look at the commits tagged for stable in the -rc1 merge window. They don't have the "cherry picked" wording as they were not cherry picked! They were the "originals" that were cherry picked from.
Quoted 8 lines
if so, then something like:
if git rev-parse --quiet --verify <original-hash> || \
git log --grep="cherry picked from commit <original-hash> -E --oneline >/dev/null; then
echo "One version of this patch is already in tree. Skipping..." # send-email?!
else
#attempt to apply the candidate commit...Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Normally you all tag these cherry-picks as such. You didn't do that here or either place, so there was no way for anyone to know. Please fix that.
I'm afraid this is not accurate. Our tooling is taking care of that for us.
Then your tooling needs to be fixed.
Quoted 12 lines
Quoted 5 lines
Quoted 5 lines
To be fair, this one seems to have been an accident. The same commit was cherry-picked to *two* different branches by two different people [1][2], and this is something we try not to do. Any cherry-picks should go to one tree only, it's checked by our scripts, but it's not race free when two people are doing this roughly at the same time.
Also I don't believe there's anything wrong here. It was a coincidence on the timing, but one is
drm-xe-next-fixes-2024-05-09-1
and the other
drm-xe-fixes-2024-05-09Quoted 8 lines
both maintained by different people at that time.
Quoted 3 lines
any cherry-pick SHOULD have the git id referenced when they are cherry-picked, that's what the id is there for. Please always do that.
Original commit hash is
50aec9665e0babd62b9eee4e613d9a1ef8d2b7de50aec9665e0b("drm/xe: Use ordered WQ for G2H handler")And that's not in Linus's tree.
Quoted 6 lines
drm-xe-next-fixes-2024-05-09-1
has commit2d9c72f676e6("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Thomas Hellström <[email protected]>Quoted 7 lines
Quoted 5 lines
drm-xe-fixes-2024-05-09
has commitc002bfe644a2("drm/xe: Use ordered WQ for G2H handler") which contains:(cherry picked from commit 50aec9665e0babd62b9eee4e613d9a1ef8d2b7de)Signed-off-by Lucas De Marchi <[email protected]>Ok, but again, the original is not in Linus's tree.
Quoted 7 lines
current workflow is:
All patches go to drm-xe-next which may be targeting the next kernel release or the
next->next. Then the fixes (and less frequently, other commits which are not important here) are cherry-picked by maintainers to the current or next kernel release. In other words, the cherry-pick always targets a version 1 less than the original patch.
That's fine, as long as that cherry-pick references the git id of the original one. Which did not happen here, and does NOT happen at all for all drm branches (like AMD right now).
Quoted 23 lines
couple of issues I see:
1) original commit not being in Linus's tree
If you are traversing the branch and you have a "Fixes: XXXX" where XXXX is from a previous release, you will most likely see the "cherry picked from <original>" *before* the <original> commit showing up in that tree.
Examples looking at the most recent fixes in Linus's tree with
$ git rev-parse origin/master 6d6444ba82053c716fb5ac83346202659023044e$ git log --format="%h %s%n%(trailers)" -n3 --grep "^Fixes:" \ 6d6444ba82053c716fb5ac83346202659023044e \ -- drivers/gpu/drm/xe
d21d44dbdde8in v6.10-rc5, fixesaef4eb7c7decfrom v6.9 butf0ccd2d805e55e12b430d5d6b9acd9f891af455eis not in any tag.
2470b141bfaein v6.10-rc4, fixes975e4a3795d4from v6.8 but6800e63cf97bae62bca56d8e691544540d945f53is not in any tag.
Quoted 6 lines
cd554e1e118ain v6.10-rc4, fixes0698ff57bf32from v6.10-rc3 butb321cb83a375bcc18cd0a4b62bdeaf6905cca769is not in any tag.Without a change in the workflow, I don't think you can rely on the original commit hash being present in Linus's tree, unless you wait one entire kernel release cycle.
Which you obviously do not want me to do as you wanted that fix in the tree sooner.
So this is a pain, but I'm kind of used to it by now as you all seem to like this workflow for whatever reason...
Quoted 9 lines
2) Duplicate commits with "cherry picked from ... "
This only happened because it was cherry-picked in 2 branches, both for current and for next kernel releases. This can only happen during the last rcN as drm-xe-next-fixes is only used there.
I think (2) is easier to fix: we should really add more checks in dim to avoid that: if a commit is a candidate to drm-xe-fixes it should never be a candidate to drm-xe-next-fixes.
Please fix.
Quoted 14 lines
As for (1), I don't see how it could be fixed without a workflow change. That would require committers to add the commits to the right branch rather than relying on maintainers to cherry-pick them to the -fixes branch after they are merged in drm-xe-next. What dim could do is to automate that for the committer and figure out the branch by itself based on the 2 commit hashes.
For all the above I used drm-xe-* as example, but it applies to drm-intel-* too.
Without the fix to (2) and workflow change from (1), this situation can be avoided from the -stable scripts by checking if the commit or any cherry-pick thereof is already in the stable tree:
Quoted 5 lines
git merge-base --is-ancestor $original_commit HEAD git log -n1 --grep "^(cherry picked from commit $original_commit)"the second search is very expensive though.... probably need to find a way to limit the search space.
That's still a major pain, as is your current workflow. So until you all fix this up, I will continue to complain as the existing way drm patches flow into stable trees is a major pain which causes me to dread looking at them every time.
greg k-h