This is the start of the stable review cycle for the 5.15.141 release. There are 69 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 Sat, 02 Dec 2023 16:21:18 +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/v5.x/stable-review/patch-5.15.141-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below.
thanks,
greg k-h
------------- Pseudo-Shortlog of commits:
Greg Kroah-Hartman gregkh@linuxfoundation.org Linux 5.15.141-rc1
Keith Busch kbusch@kernel.org io_uring: fix off-by one bvec index
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix wakeup after probe deferral
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix software node leak on probe errors
Ricardo Ribalda ribalda@chromium.org usb: dwc3: set the dma max_seg_size
Alexander Stein alexander.stein@ew.tq-group.com usb: dwc3: Fix default mode initialization
Oliver Neukum oneukum@suse.com USB: dwc2: write HCINT with INTMASK applied
Badhri Jagan Sridharan badhri@google.com usb: typec: tcpm: Skip hard reset when in error recovery
Lech Perczak lech.perczak@gmail.com USB: serial: option: don't claim interface 4 for ZTE MF290
Puliang Lu puliang.lu@fibocom.com USB: serial: option: fix FM101R-GL defines
Victor Fragoso victorffs@hotmail.com USB: serial: option: add Fibocom L7xx modules
Pawel Laszczak pawell@cadence.com usb: cdnsp: Fix deadlock issue during using NCM gadget
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup lock c->root error
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup init dirty data errors
Rand Deeb rand.sec96@gmail.com bcache: prevent potential division by zero error
Coly Li colyli@suse.de bcache: check return value from btree_node_alloc_replacement()
Mikulas Patocka mpatocka@redhat.com dm-delay: fix a race between delay_presuspend and delay_bio
Long Li longli@microsoft.com hv_netvsc: Mark VF as slave before exposing it to user-mode
Haiyang Zhang haiyangz@microsoft.com hv_netvsc: Fix race of register_netdevice_notifier and VF register
Asuna Yang spriteovo@gmail.com USB: serial: option: add Luat Air72*U series products
Jan Höppner hoeppner@linux.ibm.com s390/dasd: protect device queue against concurrent access
Charles Mirabile cmirabil@redhat.com io_uring/fs: consider link->flags when getting path for LINKAT
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
Song Liu song@kernel.org md: fix bi_status reporting in md_end_clone_io
Coly Li colyli@suse.de bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
Keith Busch kbusch@kernel.org swiotlb-xen: provide the "max_mapping_size" method
Hans de Goede hdegoede@redhat.com ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
Krister Johansen kjlx@templeofstupid.com proc: sysctl: prevent aliased sysctls from getting passed to init
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
Zhang Yi yi.zhang@huawei.com ext4: make sure allocate pending entry not fail
Baokun Li libaokun1@huawei.com ext4: fix slab-use-after-free in ext4_es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_insert_delayed_block()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_remove_extent()
Baokun Li libaokun1@huawei.com ext4: use pre-allocated es in __es_remove_extent()
Baokun Li libaokun1@huawei.com ext4: use pre-allocated es in __es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: factor out __es_alloc_extent() and __es_free_extent()
Baokun Li libaokun1@huawei.com ext4: add a new helper to check if es must be kept
Andrey Konovalov andrey.konovalov@linaro.org media: qcom: camss: Fix csid-gen2 for test pattern generator
Bryan O'Donoghue bryan.odonoghue@linaro.org media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
Milen Mitkov quic_mmitkov@quicinc.com media: camss: sm8250: Virtual channels for CSID
Souptick Joarder (HPE) jrdr.linux@gmail.com media: camss: Replace hard coded value with parameter
Huacai Chen chenhuacai@kernel.org MIPS: KVM: Fix a build warning about variable set but not used
Peter Zijlstra peterz@infradead.org lockdep: Fix block chain corruption
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix ACPI platform device leak
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix resource leaks on probe deferral
Christoph Hellwig hch@lst.de nvmet: nul-terminate the NQNs passed in the connect command
David Howells dhowells@redhat.com afs: Fix file locking on R/O volumes to operate in local mode
David Howells dhowells@redhat.com afs: Return ENOENT if no cell DNS record can be found
Samuel Holland samuel.holland@sifive.com net: axienet: Fix check for partial TX checksum
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: propagate the correct speed and duplex status
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: handle the corner-case during tx completion
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: handle corner-case during sfp hotplug
Suman Ghosh sumang@marvell.com octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
Stefano Stabellini sstabellini@kernel.org arm/xen: fix xen_vcpu_info allocation alignment
D. Wythe alibuda@linux.alibaba.com net/smc: avoid data corruption caused by decline
Jose Ignacio Tornos Martinez jtornosm@redhat.com net: usb: ax88179_178a: fix failed operations during ax88179_reset
Kunwu Chan chentao@kylinos.cn ipv4: Correct/silence an endian warning in __ip_do_redirect
Charles Yi be286@163.com HID: fix HID device resource race between HID core and debugging support
Benjamin Tissoires benjamin.tissoires@redhat.com HID: core: store the unique system identifier in hid_device
Jonas Karlman jonas@kwiboo.se drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
Chen Ni nichen@iscas.ac.cn ata: pata_isapnp: Add missing error check for devm_ioport_map()
Suman Ghosh sumang@marvell.com octeontx2-pf: Fix memory leak during interface down
Eric Dumazet edumazet@google.com wireguard: use DEV_STATS_INC()
Marek Vasut marex@denx.de drm/panel: simple: Fix Innolux G101ICE-L01 timings
Marek Vasut marex@denx.de drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
Xuxin Xiong xuxinxiong@huaqin.corp-partner.google.com drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
Shuijing Li shuijing.li@mediatek.com drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
David Howells dhowells@redhat.com afs: Make error on cell lookup failure consistent with OpenAFS
David Howells dhowells@redhat.com afs: Fix afs_server_list to be cleaned up with RCU
-------------
Diffstat:
Makefile | 4 +- arch/arm/xen/enlighten.c | 3 +- arch/mips/kvm/mmu.c | 3 +- drivers/acpi/resource.c | 7 + drivers/ata/pata_isapnp.c | 3 + drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 7 + drivers/gpu/drm/panel/panel-simple.c | 13 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 +- drivers/hid/hid-core.c | 16 +- drivers/hid/hid-debug.c | 3 + drivers/md/bcache/btree.c | 4 +- drivers/md/bcache/sysfs.c | 2 +- drivers/md/bcache/writeback.c | 22 +- drivers/md/dm-delay.c | 17 +- drivers/md/md.c | 3 +- drivers/media/platform/qcom/camss/camss-csid-170.c | 65 +++-- drivers/media/platform/qcom/camss/camss-csid.c | 44 ++- drivers/media/platform/qcom/camss/camss-csid.h | 11 +- drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 14 + drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 11 +- drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 14 +- .../ethernet/marvell/octeontx2/nic/otx2_flows.c | 20 +- .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- drivers/net/hyperv/netvsc_drv.c | 41 ++- drivers/net/usb/ax88179_178a.c | 4 +- drivers/net/wireguard/device.c | 4 +- drivers/net/wireguard/receive.c | 12 +- drivers/net/wireguard/send.c | 3 +- drivers/nvme/target/fabrics-cmd.c | 4 + drivers/s390/block/dasd.c | 24 +- drivers/usb/cdns3/cdnsp-ring.c | 3 + drivers/usb/dwc2/hcd_intr.c | 15 +- drivers/usb/dwc3/core.c | 2 + drivers/usb/dwc3/drd.c | 2 +- drivers/usb/dwc3/dwc3-qcom.c | 65 +++-- drivers/usb/serial/option.c | 11 +- drivers/usb/typec/tcpm/tcpm.c | 9 + drivers/xen/swiotlb-xen.c | 1 + fs/afs/dynroot.c | 4 +- fs/afs/internal.h | 1 + fs/afs/server_list.c | 2 +- fs/afs/super.c | 2 + fs/afs/vl_rotate.c | 10 + fs/ext4/extents_status.c | 306 +++++++++++++++------ fs/proc/proc_sysctl.c | 7 + include/linux/hid.h | 5 + include/linux/sysctl.h | 6 + init/main.c | 4 + io_uring/io_uring.c | 4 +- kernel/locking/lockdep.c | 3 +- kernel/trace/trace_kprobe.c | 74 +++++ kernel/trace/trace_probe.h | 1 + net/ipv4/route.c | 2 +- net/smc/af_smc.c | 8 +- 55 files changed, 704 insertions(+), 239 deletions(-)
Hello!
Lots of failures everywhere: * clang-17-lkftconfig arm64 * clang-17-lkftconfig arm64 * clang-17-lkftconfig arm64 * clang-lkftconfig arm64 * clang-lkftconfig arm * clang-lkftconfig i386 * clang-lkftconfig x86_64 * gcc-12-lkftconfig arm64 * gcc-12-lkftconfig arm * gcc-12-lkftconfig i386 * gcc-12-lkftconfig x86_64 * gcc-12-lkftconfig-64k_page_size arm64 * gcc-12-lkftconfig-64k_page_size arm64 * gcc-12-lkftconfig-armv8_features arm64 * gcc-12-lkftconfig-debug arm64 * gcc-12-lkftconfig-debug arm64 * gcc-12-lkftconfig-debug arm * gcc-12-lkftconfig-debug i386 * gcc-12-lkftconfig-debug x86_64 * gcc-12-lkftconfig-debug-kmemleak arm64 * gcc-12-lkftconfig-debug-kmemleak arm * gcc-12-lkftconfig-debug-kmemleak i386 * gcc-12-lkftconfig-debug-kmemleak x86_64 * gcc-12-lkftconfig-devicetree arm64 * gcc-12-lkftconfig-kasan arm64 * gcc-12-lkftconfig-kasan arm64 * gcc-12-lkftconfig-kasan x86_64 * gcc-12-lkftconfig-kselftest arm64 * gcc-12-lkftconfig-kselftest-kernel arm64 * gcc-12-lkftconfig-kselftest-kernel arm * gcc-12-lkftconfig-kselftest-kernel i386 * gcc-12-lkftconfig-kunit arm64 * gcc-12-lkftconfig-kunit arm64 * gcc-12-lkftconfig-kunit arm * gcc-12-lkftconfig-kunit i386 * gcc-12-lkftconfig-kunit x86_64 * gcc-12-lkftconfig-libgpiod arm64 * gcc-12-lkftconfig-libgpiod arm * gcc-12-lkftconfig-libgpiod i386 * gcc-12-lkftconfig-libgpiod x86_64 * gcc-12-lkftconfig-perf arm64 * gcc-12-lkftconfig-perf-kernel arm64 * gcc-12-lkftconfig-perf-kernel arm * gcc-12-lkftconfig-perf-kernel i386 * gcc-12-lkftconfig-perf-kernel x86_64 * gcc-12-lkftconfig-rcutorture arm64 * gcc-12-lkftconfig-rcutorture arm64 * gcc-12-lkftconfig-rcutorture arm * gcc-12-lkftconfig-rcutorture i386 * gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<----- make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
Greetings!
Daniel Díaz daniel.diaz@linaro.org
On Thu, 30 Nov 2023 at 10:32, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.141 release. There are 69 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 Sat, 02 Dec 2023 16:21:18 +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/v5.x/stable-review/patch-5.15.141-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below.
thanks,
greg k-h
Pseudo-Shortlog of commits:
Greg Kroah-Hartman gregkh@linuxfoundation.org Linux 5.15.141-rc1
Keith Busch kbusch@kernel.org io_uring: fix off-by one bvec index
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix wakeup after probe deferral
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix software node leak on probe errors
Ricardo Ribalda ribalda@chromium.org usb: dwc3: set the dma max_seg_size
Alexander Stein alexander.stein@ew.tq-group.com usb: dwc3: Fix default mode initialization
Oliver Neukum oneukum@suse.com USB: dwc2: write HCINT with INTMASK applied
Badhri Jagan Sridharan badhri@google.com usb: typec: tcpm: Skip hard reset when in error recovery
Lech Perczak lech.perczak@gmail.com USB: serial: option: don't claim interface 4 for ZTE MF290
Puliang Lu puliang.lu@fibocom.com USB: serial: option: fix FM101R-GL defines
Victor Fragoso victorffs@hotmail.com USB: serial: option: add Fibocom L7xx modules
Pawel Laszczak pawell@cadence.com usb: cdnsp: Fix deadlock issue during using NCM gadget
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup lock c->root error
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup init dirty data errors
Rand Deeb rand.sec96@gmail.com bcache: prevent potential division by zero error
Coly Li colyli@suse.de bcache: check return value from btree_node_alloc_replacement()
Mikulas Patocka mpatocka@redhat.com dm-delay: fix a race between delay_presuspend and delay_bio
Long Li longli@microsoft.com hv_netvsc: Mark VF as slave before exposing it to user-mode
Haiyang Zhang haiyangz@microsoft.com hv_netvsc: Fix race of register_netdevice_notifier and VF register
Asuna Yang spriteovo@gmail.com USB: serial: option: add Luat Air72*U series products
Jan Höppner hoeppner@linux.ibm.com s390/dasd: protect device queue against concurrent access
Charles Mirabile cmirabil@redhat.com io_uring/fs: consider link->flags when getting path for LINKAT
Mingzhe Zou mingzhe.zou@easystack.cn bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
Song Liu song@kernel.org md: fix bi_status reporting in md_end_clone_io
Coly Li colyli@suse.de bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
Keith Busch kbusch@kernel.org swiotlb-xen: provide the "max_mapping_size" method
Hans de Goede hdegoede@redhat.com ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
Krister Johansen kjlx@templeofstupid.com proc: sysctl: prevent aliased sysctls from getting passed to init
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
Zhang Yi yi.zhang@huawei.com ext4: make sure allocate pending entry not fail
Baokun Li libaokun1@huawei.com ext4: fix slab-use-after-free in ext4_es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_insert_delayed_block()
Baokun Li libaokun1@huawei.com ext4: using nofail preallocation in ext4_es_remove_extent()
Baokun Li libaokun1@huawei.com ext4: use pre-allocated es in __es_remove_extent()
Baokun Li libaokun1@huawei.com ext4: use pre-allocated es in __es_insert_extent()
Baokun Li libaokun1@huawei.com ext4: factor out __es_alloc_extent() and __es_free_extent()
Baokun Li libaokun1@huawei.com ext4: add a new helper to check if es must be kept
Andrey Konovalov andrey.konovalov@linaro.org media: qcom: camss: Fix csid-gen2 for test pattern generator
Bryan O'Donoghue bryan.odonoghue@linaro.org media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
Milen Mitkov quic_mmitkov@quicinc.com media: camss: sm8250: Virtual channels for CSID
Souptick Joarder (HPE) jrdr.linux@gmail.com media: camss: Replace hard coded value with parameter
Huacai Chen chenhuacai@kernel.org MIPS: KVM: Fix a build warning about variable set but not used
Peter Zijlstra peterz@infradead.org lockdep: Fix block chain corruption
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix ACPI platform device leak
Johan Hovold johan+linaro@kernel.org USB: dwc3: qcom: fix resource leaks on probe deferral
Christoph Hellwig hch@lst.de nvmet: nul-terminate the NQNs passed in the connect command
David Howells dhowells@redhat.com afs: Fix file locking on R/O volumes to operate in local mode
David Howells dhowells@redhat.com afs: Return ENOENT if no cell DNS record can be found
Samuel Holland samuel.holland@sifive.com net: axienet: Fix check for partial TX checksum
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: propagate the correct speed and duplex status
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: handle the corner-case during tx completion
Raju Rangoju Raju.Rangoju@amd.com amd-xgbe: handle corner-case during sfp hotplug
Suman Ghosh sumang@marvell.com octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
Stefano Stabellini sstabellini@kernel.org arm/xen: fix xen_vcpu_info allocation alignment
D. Wythe alibuda@linux.alibaba.com net/smc: avoid data corruption caused by decline
Jose Ignacio Tornos Martinez jtornosm@redhat.com net: usb: ax88179_178a: fix failed operations during ax88179_reset
Kunwu Chan chentao@kylinos.cn ipv4: Correct/silence an endian warning in __ip_do_redirect
Charles Yi be286@163.com HID: fix HID device resource race between HID core and debugging support
Benjamin Tissoires benjamin.tissoires@redhat.com HID: core: store the unique system identifier in hid_device
Jonas Karlman jonas@kwiboo.se drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
Chen Ni nichen@iscas.ac.cn ata: pata_isapnp: Add missing error check for devm_ioport_map()
Suman Ghosh sumang@marvell.com octeontx2-pf: Fix memory leak during interface down
Eric Dumazet edumazet@google.com wireguard: use DEV_STATS_INC()
Marek Vasut marex@denx.de drm/panel: simple: Fix Innolux G101ICE-L01 timings
Marek Vasut marex@denx.de drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
Xuxin Xiong xuxinxiong@huaqin.corp-partner.google.com drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
Shuijing Li shuijing.li@mediatek.com drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
David Howells dhowells@redhat.com afs: Make error on cell lookup failure consistent with OpenAFS
David Howells dhowells@redhat.com afs: Fix afs_server_list to be cleaned up with RCU
Diffstat:
Makefile | 4 +- arch/arm/xen/enlighten.c | 3 +- arch/mips/kvm/mmu.c | 3 +- drivers/acpi/resource.c | 7 + drivers/ata/pata_isapnp.c | 3 + drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 7 + drivers/gpu/drm/panel/panel-simple.c | 13 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 +- drivers/hid/hid-core.c | 16 +- drivers/hid/hid-debug.c | 3 + drivers/md/bcache/btree.c | 4 +- drivers/md/bcache/sysfs.c | 2 +- drivers/md/bcache/writeback.c | 22 +- drivers/md/dm-delay.c | 17 +- drivers/md/md.c | 3 +- drivers/media/platform/qcom/camss/camss-csid-170.c | 65 +++-- drivers/media/platform/qcom/camss/camss-csid.c | 44 ++- drivers/media/platform/qcom/camss/camss-csid.h | 11 +- drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 14 + drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 11 +- drivers/net/ethernet/amd/xgbe/xgbe-mdio.c | 14 +- .../ethernet/marvell/octeontx2/nic/otx2_flows.c | 20 +- .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +- drivers/net/hyperv/netvsc_drv.c | 41 ++- drivers/net/usb/ax88179_178a.c | 4 +- drivers/net/wireguard/device.c | 4 +- drivers/net/wireguard/receive.c | 12 +- drivers/net/wireguard/send.c | 3 +- drivers/nvme/target/fabrics-cmd.c | 4 + drivers/s390/block/dasd.c | 24 +- drivers/usb/cdns3/cdnsp-ring.c | 3 + drivers/usb/dwc2/hcd_intr.c | 15 +- drivers/usb/dwc3/core.c | 2 + drivers/usb/dwc3/drd.c | 2 +- drivers/usb/dwc3/dwc3-qcom.c | 65 +++-- drivers/usb/serial/option.c | 11 +- drivers/usb/typec/tcpm/tcpm.c | 9 + drivers/xen/swiotlb-xen.c | 1 + fs/afs/dynroot.c | 4 +- fs/afs/internal.h | 1 + fs/afs/server_list.c | 2 +- fs/afs/super.c | 2 + fs/afs/vl_rotate.c | 10 + fs/ext4/extents_status.c | 306 +++++++++++++++------ fs/proc/proc_sysctl.c | 7 + include/linux/hid.h | 5 + include/linux/sysctl.h | 6 + init/main.c | 4 + io_uring/io_uring.c | 4 +- kernel/locking/lockdep.c | 3 +- kernel/trace/trace_kprobe.c | 74 +++++ kernel/trace/trace_probe.h | 1 + net/ipv4/route.c | 2 +- net/smc/af_smc.c | 8 +- 55 files changed, 704 insertions(+), 239 deletions(-)
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<----- make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
Guenter
Hello!
On Thu, 30 Nov 2023 at 11:44, Guenter Roeck linux@roeck-us.net wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<----- make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
It sure did!:
commit 7b4375c36a4c0e1b4b97ccbcdd427db5a460e04f Author: Francis Laniel flaniel@linux.microsoft.com Date: Fri Oct 20 13:42:49 2023 +0300
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
commit b022f0c7e404887a7c5229788fc99eff9f9a80d5 upstream.
Reverting that commit made the build pass again.
Greetings!
Daniel Díaz daniel.diaz@linaro.org
On 11/30/23 10:11, Daniel Díaz wrote:
Hello!
On Thu, 30 Nov 2023 at 11:44, Guenter Roeck linux@roeck-us.net wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<----- make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
It sure did!:
commit 7b4375c36a4c0e1b4b97ccbcdd427db5a460e04f Author: Francis Laniel flaniel@linux.microsoft.com Date: Fri Oct 20 13:42:49 2023 +0300
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols commit b022f0c7e404887a7c5229788fc99eff9f9a80d5 upstream.
Reverting that commit made the build pass again.
It looks like it depends on commit d721def7392a ("kallsyms: Make kallsyms_on_each_symbol generally available"), but that doesn't apply cleanly.
Guenter
On Thu, Nov 30, 2023 at 12:11:31PM -0600, Daniel Díaz wrote:
Hello!
On Thu, 30 Nov 2023 at 11:44, Guenter Roeck linux@roeck-us.net wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<----- make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
It sure did!:
commit 7b4375c36a4c0e1b4b97ccbcdd427db5a460e04f Author: Francis Laniel flaniel@linux.microsoft.com Date: Fri Oct 20 13:42:49 2023 +0300
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols commit b022f0c7e404887a7c5229788fc99eff9f9a80d5 upstream.
Reverting that commit made the build pass again.
{sigh}
Francis, I think this is the second or third time this has happened with the attempt to get this patch merged. I'm going to go drop it from all of the pending stable queues again, and please, if you wish to have it applied in the future, I am going to have to see some proof it was actually tested on the architectures that it keeps breaking.
thanks,
greg k-h
Hi!
Le vendredi 1 décembre 2023, 09:21:33 CET Greg Kroah-Hartman a écrit :
On Thu, Nov 30, 2023 at 12:11:31PM -0600, Daniel Díaz wrote:
Hello!
On Thu, 30 Nov 2023 at 11:44, Guenter Roeck linux@roeck-us.net wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<-----
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc'
arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction
x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function
`__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to
`kallsyms_on_each_symbol'
x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function
`create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to
`kallsyms_on_each_symbol'
make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors.
----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
It sure did!: commit 7b4375c36a4c0e1b4b97ccbcdd427db5a460e04f Author: Francis Laniel flaniel@linux.microsoft.com Date: Fri Oct 20 13:42:49 2023 +0300 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols commit b022f0c7e404887a7c5229788fc99eff9f9a80d5 upstream.
Reverting that commit made the build pass again.
{sigh}
Francis, I think this is the second or third time this has happened with the attempt to get this patch merged. I'm going to go drop it from all of the pending stable queues again, and please, if you wish to have it applied in the future, I am going to have to see some proof it was actually tested on the architectures that it keeps breaking.
Sorry for the disagreement, for this one, I had to add the CONFIG_LIVEPATCH to then be able to call kallsyms_on_each_symbol(), as on 5.15, this function is within a ifdef guard [1].
I suppose you do not want to add CONFIG_LIVEPATCH to default config, so I will try to find a way for this specific kernel!
Did you get problems only for 5.15 kernel? Or others too? In the second case, can you please link me the problems and I will polish everything.
thanks,
greg k-h
Best regards. --- [1]: https://elixir.bootlin.com/linux/v5.15.140/source/kernel/kallsyms.c#L207
On Fri, Dec 01, 2023 at 10:35:33AM +0100, Francis Laniel wrote:
Hi!
Le vendredi 1 décembre 2023, 09:21:33 CET Greg Kroah-Hartman a écrit :
On Thu, Nov 30, 2023 at 12:11:31PM -0600, Daniel Díaz wrote:
Hello!
On Thu, 30 Nov 2023 at 11:44, Guenter Roeck linux@roeck-us.net wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-lkftconfig arm64
- clang-lkftconfig arm
- clang-lkftconfig i386
- clang-lkftconfig x86_64
- gcc-12-lkftconfig arm64
- gcc-12-lkftconfig arm
- gcc-12-lkftconfig i386
- gcc-12-lkftconfig x86_64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-64k_page_size arm64
- gcc-12-lkftconfig-armv8_features arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm64
- gcc-12-lkftconfig-debug arm
- gcc-12-lkftconfig-debug i386
- gcc-12-lkftconfig-debug x86_64
- gcc-12-lkftconfig-debug-kmemleak arm64
- gcc-12-lkftconfig-debug-kmemleak arm
- gcc-12-lkftconfig-debug-kmemleak i386
- gcc-12-lkftconfig-debug-kmemleak x86_64
- gcc-12-lkftconfig-devicetree arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan arm64
- gcc-12-lkftconfig-kasan x86_64
- gcc-12-lkftconfig-kselftest arm64
- gcc-12-lkftconfig-kselftest-kernel arm64
- gcc-12-lkftconfig-kselftest-kernel arm
- gcc-12-lkftconfig-kselftest-kernel i386
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm64
- gcc-12-lkftconfig-kunit arm
- gcc-12-lkftconfig-kunit i386
- gcc-12-lkftconfig-kunit x86_64
- gcc-12-lkftconfig-libgpiod arm64
- gcc-12-lkftconfig-libgpiod arm
- gcc-12-lkftconfig-libgpiod i386
- gcc-12-lkftconfig-libgpiod x86_64
- gcc-12-lkftconfig-perf arm64
- gcc-12-lkftconfig-perf-kernel arm64
- gcc-12-lkftconfig-perf-kernel arm
- gcc-12-lkftconfig-perf-kernel i386
- gcc-12-lkftconfig-perf-kernel x86_64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm64
- gcc-12-lkftconfig-rcutorture arm
- gcc-12-lkftconfig-rcutorture i386
- gcc-12-lkftconfig-rcutorture x86_64
It's essentially this:
-----8<-----
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc'
arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction
x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function
`__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to
`kallsyms_on_each_symbol'
x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function
`create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to
`kallsyms_on_each_symbol'
make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors.
----->8-----
It only affects 5.15. Bisection in progress.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
It sure did!: commit 7b4375c36a4c0e1b4b97ccbcdd427db5a460e04f Author: Francis Laniel flaniel@linux.microsoft.com Date: Fri Oct 20 13:42:49 2023 +0300 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols commit b022f0c7e404887a7c5229788fc99eff9f9a80d5 upstream.
Reverting that commit made the build pass again.
{sigh}
Francis, I think this is the second or third time this has happened with the attempt to get this patch merged. I'm going to go drop it from all of the pending stable queues again, and please, if you wish to have it applied in the future, I am going to have to see some proof it was actually tested on the architectures that it keeps breaking.
Sorry for the disagreement, for this one, I had to add the CONFIG_LIVEPATCH to then be able to call kallsyms_on_each_symbol(), as on 5.15, this function is within a ifdef guard [1].
I suppose you do not want to add CONFIG_LIVEPATCH to default config, so I will try to find a way for this specific kernel!
It doesn't matter about any "default config", you can not break the build of any config.
Did you get problems only for 5.15 kernel? Or others too?
I don't know, but for obvious reasons if it is not working in 5.15.y, we can't take it in older kernels as that would be a regression when people move to a newer one.
In the second case, can you please link me the problems and I will polish everything.
Please take some time with a cross-compiler on the above listed architectures and configurations to verify your changes do not break anything again.
thanks,
greg k-h
Hello!
On 01/12/23 3:44 a. m., Greg Kroah-Hartman wrote:
Please take some time with a cross-compiler on the above listed architectures and configurations to verify your changes do not break anything again.
It failed in more architectures than we initially reported. FWIW, this error can be easily reproduced this way:
tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig imx_v4_v5_defconfig tuxmake --runtime podman --target-arch arm64 --toolchain gcc-12 --kconfig allmodconfig tuxmake --runtime podman --target-arch i386 --toolchain gcc-12 --kconfig defconfig tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-12 --kconfig defconfig tuxmake --runtime podman --target-arch mips --toolchain gcc-12 --kconfig allmodconfig tuxmake --runtime podman --target-arch parisc --toolchain gcc-11 --kconfig allmodconfig tuxmake --runtime podman --target-arch powerpc --toolchain gcc-12 --kconfig defconfig tuxmake --runtime podman --target-arch riscv --toolchain gcc-12 --kconfig allmodconfig tuxmake --runtime podman --target-arch sh --toolchain gcc-11 --kconfig defconfig tuxmake --runtime podman --target-arch sparc --toolchain gcc-11 --kconfig sparc64_defconfig
Greetings!
Daniel Díaz daniel.diaz@linaro.org
On Fri, Dec 01, 2023 at 08:34:26AM -0600, Daniel Díaz wrote:
Hello!
On 01/12/23 3:44 a. m., Greg Kroah-Hartman wrote:
Please take some time with a cross-compiler on the above listed architectures and configurations to verify your changes do not break anything again.
It failed in more architectures than we initially reported. FWIW, this error can be easily reproduced this way:
tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig imx_v4_v5_defconfig
Fails for me:
$ ~/.local/bin/tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig imx_v4_v5_defconfig Traceback (most recent call last): File "/home/gregkh/.local/bin/tuxmake", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/cli.py", line 170, in main build.run() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/build.py", line 652, in run self.prepare() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/build.py", line 318, in prepare self.runtime.prepare() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 423, in prepare self.prepare_image() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 443, in prepare_image do_pull() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/utils.py", line 36, in retry_wrapper ret = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 441, in do_pull subprocess.check_call(pull) File "/usr/lib/python3.11/subprocess.py", line 408, in check_call retcode = call(*popenargs, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 389, in call with Popen(*popenargs, **kwargs) as p: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'podman'
Are you sure that's the right command line to use? :)
thanks,
greg k-h
Hello!
On Fri, 1 Dec 2023 at 17:05, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Fri, Dec 01, 2023 at 08:34:26AM -0600, Daniel Díaz wrote:
[...]
It failed in more architectures than we initially reported. FWIW, this error can be easily reproduced this way:
tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig imx_v4_v5_defconfig
Fails for me:
$ ~/.local/bin/tuxmake --runtime podman --target-arch arm --toolchain gcc-8 --kconfig imx_v4_v5_defconfig Traceback (most recent call last): File "/home/gregkh/.local/bin/tuxmake", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/cli.py", line 170, in main build.run() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/build.py", line 652, in run self.prepare() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/build.py", line 318, in prepare self.runtime.prepare() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 423, in prepare self.prepare_image() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 443, in prepare_image do_pull() File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/utils.py", line 36, in retry_wrapper ret = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/gregkh/.local/pipx/venvs/tuxmake/lib/python3.11/site-packages/tuxmake/runtime.py", line 441, in do_pull subprocess.check_call(pull) File "/usr/lib/python3.11/subprocess.py", line 408, in check_call retcode = call(*popenargs, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 389, in call with Popen(*popenargs, **kwargs) as p: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'podman'
Are you sure that's the right command line to use? :)
Yes, it just needs `podman' to be installed. The Tuxmake team will change that cryptic message into something easier to parse.
FWIW, `--runtime docker` also works (if Docker is installed), and `--runtime null` simply makes Tuxmake rely on the cross-compilers you have installed.
Greetings!
Daniel Díaz daniel.diaz@linaro.org
Hi Greg,
Some notes below:
On 30/11/23 11:14 pm, Guenter Roeck wrote:
On 11/30/23 09:21, Daniel Díaz wrote:
Hello!
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- 'CC=sccache x86_64-linux-gnu-gcc' 'HOSTCC=sccache gcc' arch/x86/kernel/smp.o: warning: objtool: sysvec_reboot()+0x51: unreachable instruction x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `__trace_kprobe_create': trace_kprobe.c:(.text+0x2f39): undefined reference to `kallsyms_on_each_symbol' x86_64-linux-gnu-ld: kernel/trace/trace_kprobe.o: in function `create_local_trace_kprobe': trace_kprobe.c:(.text+0x384b): undefined reference to `kallsyms_on_each_symbol' make[1]: *** [/builds/linux/Makefile:1227: vmlinux] Error 1 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target '__all' not remade because of errors. ----->8-----
It only affects 5.15. Bisection in progress.
I have seen this too in our testing.
I guess it will point to
Francis Laniel flaniel@linux.microsoft.com tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
Note:
1. This above commit also have a fix upstream, 926fe783c8a6 ("tracing/kprobes: Fix symbol counting logic by looking at modules as well")
2. I see the patch causing build failure is also queued in 5.10, 5.4 and 4.19, 4.14 [1]
Thanks, Harshit
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree...
Guenter
Hi!
Lots of failures everywhere:
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
- clang-17-lkftconfig arm64
Yes, we see the same failures:
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/10...
5.10 and 6.1 build ok.
Best regards, Pavel
On 11/30/23 08:21, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.141 release. There are 69 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 Sat, 02 Dec 2023 16:21:18 +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/v5.x/stable-review/patch-5.15.141-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below.
thanks,
greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on BMIPS_GENERIC:
Tested-by: Florian Fainelli florian.fainelli@broadcom.com
On 11/30/23 09:21, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.141 release. There are 69 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 Sat, 02 Dec 2023 16:21:18 +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/v5.x/stable-review/patch-5.15.141-rc... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below.
thanks,
greg k-h
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan skhan@linuxfoundation.org
thanks, -- Shuah