This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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.82-rc1
Zhang Xiaoxu zhangxiaoxu5@huawei.com Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
Jan Dabros jsd@semihalf.com char: tpm: Protect tpm_pm_suspend with locks
Conor Dooley conor.dooley@microchip.com Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
Vishal Verma vishal.l.verma@intel.com ACPI: HMAT: Fix initiator registration for single-initiator systems
Vishal Verma vishal.l.verma@intel.com ACPI: HMAT: remove unnecessary variable initialization
Andrew Lunn andrew@lunn.ch i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
Yuan Can yuancan@huawei.com i2c: npcm7xx: Fix error handling in npcm_i2c_init()
Lukas Wunner lukas@wunner.de serial: stm32: Deassert Transmit Enable on ->rs485_config()
Marek Vasut marex@denx.de serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 mode
Marek Vasut marex@denx.de serial: stm32: Factor out GPIO RTS toggling into separate function
Ido Schimmel idosch@nvidia.com ipv4: Fix route deletion when nexthop info is not specified
David Ahern dsahern@kernel.org ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
Nikolay Aleksandrov razor@blackwall.org selftests: net: fix nexthop warning cleanup double ip typo
Nikolay Aleksandrov razor@blackwall.org selftests: net: add delete nexthop route warning test
Lee Jones lee@kernel.org Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
Helge Deller deller@gmx.de parisc: Increase FRAME_WARN to 2048 bytes on parisc
Gavin Shan gshan@redhat.com mm: migrate: fix THP's mapcount on isolation
Hugh Dickins hughd@google.com mm: __isolate_lru_page_prepare() in isolate_migratepages_block()
Xiongfeng Wang wangxiongfeng2@huawei.com iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
Xiongfeng Wang wangxiongfeng2@huawei.com iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
Caleb Sander csander@purestorage.com nvme: fix SRCU protection of nvme_ns_head list
Guo Ren guoren@linux.alibaba.com riscv: kexec: Fixup crash_smp_send_stop without multi cores
Guo Ren guoren@linux.alibaba.com riscv: kexec: Fixup irq controller broken in kexec crash path
Jisheng Zhang jszhang@kernel.org riscv: fix race when vmap stack overflow
Alexandre Ghiti alexghiti@rivosinc.com riscv: Sync efi page table's kernel mappings before switching
Maxim Korotkov korotkov.maxim.s@gmail.com pinctrl: single: Fix potential division by zero
Mark Brown broonie@kernel.org ASoC: ops: Fix bounds check for _sx controls
Kazuki Takiguchi takiguchi.kazuki171@gmail.com KVM: x86/mmu: Fix race condition in direct_page_fault
Lin Ma linma@zju.edu.cn io_uring/poll: fix poll_refs race with cancelation
Pavel Begunkov asml.silence@gmail.com io_uring: make poll refs more robust
Pavel Begunkov asml.silence@gmail.com io_uring: cmpxchg for poll arm refs release
Pavel Begunkov asml.silence@gmail.com io_uring: fix tw losing poll events
Pavel Begunkov asml.silence@gmail.com io_uring: update res mask in io_poll_check_events
Steven Rostedt (Google) rostedt@goodmis.org tracing: Free buffers when a used dynamic event is removed
Steven Rostedt (Google) rostedt@goodmis.org tracing: Fix race where histograms can be called before the event
Daniel Bristot de Oliveira bristot@kernel.org tracing/osnoise: Fix duration type
Janusz Krzysztofik janusz.krzysztofik@linux.intel.com drm/i915: Never return 0 if not all requests retired
Janusz Krzysztofik janusz.krzysztofik@linux.intel.com drm/i915: Fix negative value passed as remaining time
Leo Liu leo.liu@amd.com drm/amdgpu: enable Vangogh VCN indirect sram mode
Lee Jones lee@kernel.org drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
Adrian Hunter adrian.hunter@intel.com mmc: sdhci: Fix voltage switch delay
Wenchao Chen wenchao.chen@unisoc.com mmc: sdhci-sprd: Fix no reset data and command after voltage switch
Sebastian Falbesoner sebastian.falbesoner@gmail.com mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
Christian Löhle CLoehle@hyperstone.com mmc: core: Fix ambiguous TRIM and DISCARD arg
Ye Bin yebin10@huawei.com mmc: mmc_test: Fix removal of debugfs file
Goh, Wei Sheng wei.sheng.goh@intel.com net: stmmac: Set MAC's flow control register to reflect current settings
Linus Torvalds torvalds@linux-foundation.org v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
Andy Shevchenko andriy.shevchenko@linux.intel.com pinctrl: intel: Save and restore pins in "direct IRQ" mode
Pawan Gupta pawan.kumar.gupta@linux.intel.com x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
ZhangPeng zhangpeng362@huawei.com nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
Tiezhu Yang yangtiezhu@loongson.cn tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
Steven Rostedt (Google) rostedt@goodmis.org error-injection: Add prompt for function error injection
Takashi Sakamoto o-takashi@sakamocchi.jp ALSA: dice: fix regression for Lexicon I-ONIX FW810S
Björn Töpel bjorn@rivosinc.com riscv: mm: Proper page permissions after initmem free
Jisheng Zhang jszhang@kernel.org riscv: vdso: fix section overlapping under some conditions
Yang Yingliang yangyingliang@huawei.com hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
Phil Auld pauld@redhat.com hwmon: (coretemp) Check for null before removing sysfs attrs
Yoshihiro Shimoda yoshihiro.shimoda.uh@renesas.com net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
Zhengchao Shao shaozhengchao@huawei.com sctp: fix memory leak in sctp_stream_outq_migrate()
Willem de Bruijn willemb@google.com packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
Shigeru Yoshida syoshida@redhat.com net: tun: Fix use-after-free in tun_detach()
David Howells dhowells@redhat.com afs: Fix fileserver probe RTT handling
Yang Yingliang yangyingliang@huawei.com net: mdiobus: fix unbalanced node reference count
YueHaibing yuehaibing@huawei.com net: hsr: Fix potential use-after-free
Xin Long lucien.xin@gmail.com tipc: re-fetch skb cb after tipc_msg_validate
Jerry Ray jerry.ray@microchip.com dsa: lan9303: Correct stat name
M Chetan Kumar m.chetan.kumar@linux.intel.com net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
M Chetan Kumar m.chetan.kumar@linux.intel.com net: wwan: iosm: fix kernel test robot reported error
Yuri Karpov YKarpov@ispras.ru net: ethernet: nixge: fix NULL dereference
Wang Hai wanghai38@huawei.com net/9p: Fix a potential socket leak in p9_socket_open
Yuan Can yuancan@huawei.com net: net_netdev: Fix error handling in ntb_netdev_init_module()
Zhang Changzhong zhangchangzhong@huawei.com net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe()
Yang Yingliang yangyingliang@huawei.com net: phy: fix null-ptr-deref while probe() failed
Lorenzo Bianconi lorenzo@kernel.org wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
Johannes Berg johannes.berg@intel.com wifi: cfg80211: don't allow multi-BSSID in S1G
Johannes Berg johannes.berg@intel.com wifi: cfg80211: fix buffer overflow in elem comparison
Izabela Bakollari ibakolla@redhat.com aquantia: Do not purge addresses when setting the number of rings
Duoming Zhou duoming@zju.edu.cn qlcnic: fix sleep-in-atomic-context bugs caused by msleep
Jiasheng Jiang jiasheng@iscas.ac.cn can: m_can: Add check for devm_clk_get
Zhang Changzhong zhangchangzhong@huawei.com can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods
Zhang Changzhong zhangchangzhong@huawei.com can: etas_es58x: es58x_init_netdev(): free netdev when register_candev()
Zhang Changzhong zhangchangzhong@huawei.com can: cc770: cc770_isa_probe(): add missing free_cc770dev()
Zhang Changzhong zhangchangzhong@huawei.com can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
Roi Dayan roid@nvidia.com net/mlx5e: Fix use-after-free when reverting termination table
YueHaibing yuehaibing@huawei.com net/mlx5: Fix uninitialized variable bug in outlen_write()
YueHaibing yuehaibing@huawei.com net/mlx5: DR, Fix uninitialized var warning
Yevgeny Kliteynik kliteyn@nvidia.com net/mlx5: DR, Rename list field in matcher struct to list_node
Wang Hai wanghai38@huawei.com e100: Fix possible use after free in e100_xmit_prepare
Yuan Can yuancan@huawei.com iavf: Fix error handling in iavf_init_module()
Minghao Chi chi.minghao@zte.com.cn iavf: remove redundant ret variable
Yuan Can yuancan@huawei.com fm10k: Fix error handling in fm10k_init_module()
Shang XiaoJing shangxiaojing@huawei.com i40e: Fix error handling in i40e_init_module()
Shang XiaoJing shangxiaojing@huawei.com ixgbevf: Fix resource leak in ixgbevf_init_module()
Yang Yingliang yangyingliang@huawei.com of: property: decrement node refcount in of_fwnode_get_reference_args()
Wei Yongjun weiyongjun1@huawei.com nvmem: rmem: Fix return value check in rmem_read()
Xu Kuohai xukuohai@huawei.com bpf: Do not copy spin lock field from user in bpf_selem_alloc
Gaosheng Cui cuigaosheng1@huawei.com hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
Yang Yingliang yangyingliang@huawei.com hwmon: (i5500_temp) fix missing pci_disable_device()
Ninad Malwade nmalwade@nvidia.com hwmon: (ina3221) Fix shunt sum critical calculation
Derek Nguyen derek.nguyen@collins.com hwmon: (ltc2947) fix temperature scaling
Hou Tao houtao1@huawei.com libbpf: Handle size overflow for ringbuf mmap
Michael Grzeschik m.grzeschik@pengutronix.de ARM: at91: rm9200: fix usb device clock id
Srikar Dronamraju srikar@linux.vnet.ibm.com scripts/faddr2line: Fix regression in name resolution on ppc64le
Hou Tao houtao1@huawei.com bpf, perf: Use subprog name when reporting subprog ksymbol
Paul Gazzillo paul@pgazz.com iio: light: rpr0521: add missing Kconfig dependencies
Wei Yongjun weiyongjun1@huawei.com iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
Wei Yongjun weiyongjun1@huawei.com iio: health: afe4403: Fix oob read in afe4403_read_raw
Alex Deucher alexander.deucher@amd.com drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
Claudio Suarez cssk@net-c.es drm/amdgpu: update drm_display_info correctly when the edid is read
Sam James sam@gentoo.org kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible
Lyude Paul lyude@redhat.com drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
ChenXiaoSong chenxiaosong2@huawei.com btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
Nikolay Borisov nborisov@suse.com btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
Frieder Schrempf frieder.schrempf@kontron.de spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
Anand Jain anand.jain@oracle.com btrfs: free btrfs_path before copying inodes to userspace
David Sterba dsterba@suse.com btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
Gao Xiang hsiangkao@linux.alibaba.com erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
Chris Wilson chris.p.wilson@intel.com drm/i915/gt: Use i915_vm_put on ppgtt_create error paths
Maarten Lankhorst maarten.lankhorst@linux.intel.com drm/i915: Create a dummy object for gen6 ppgtt
Catalin Marinas catalin.marinas@arm.com arm64: mte: Avoid setting PG_mte_tagged if no tags cleared or restored
-------------
Diffstat:
Makefile | 4 +- arch/arm/boot/dts/at91rm9200.dtsi | 2 +- arch/arm64/kernel/mte.c | 9 +- arch/arm64/mm/mteswap.c | 7 +- arch/riscv/include/asm/asm.h | 1 + arch/riscv/include/asm/efi.h | 6 +- arch/riscv/include/asm/pgalloc.h | 11 +- arch/riscv/include/asm/smp.h | 3 + arch/riscv/kernel/entry.S | 13 ++ arch/riscv/kernel/machine_kexec.c | 46 +++++-- arch/riscv/kernel/setup.c | 9 +- arch/riscv/kernel/smp.c | 93 +++++++++++++- arch/riscv/kernel/traps.c | 18 +++ arch/riscv/kernel/vdso/Makefile | 1 + arch/x86/include/asm/nospec-branch.h | 2 +- arch/x86/kernel/cpu/bugs.c | 21 ++-- arch/x86/kernel/process.c | 2 +- arch/x86/kvm/mmu/mmu.c | 12 +- drivers/acpi/numa/hmat.c | 27 ++-- drivers/char/tpm/tpm-interface.c | 5 +- drivers/clk/at91/at91rm9200.c | 2 +- drivers/clocksource/timer-riscv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 + drivers/gpu/drm/amd/display/Kconfig | 7 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/drm_dp_mst_topology.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_internal.c | 44 ++++--- drivers/gpu/drm/i915/gt/gen6_ppgtt.c | 137 ++++++++++++--------- drivers/gpu/drm/i915/gt/gen6_ppgtt.h | 1 - drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 56 +++++---- drivers/gpu/drm/i915/gt/intel_gt.c | 9 +- drivers/gpu/drm/i915/gt/intel_gt_requests.c | 2 +- drivers/gpu/drm/i915/gt/intel_gtt.c | 3 + drivers/gpu/drm/i915/i915_drv.h | 4 + drivers/hwmon/coretemp.c | 9 +- drivers/hwmon/i5500_temp.c | 2 +- drivers/hwmon/ibmpex.c | 1 + drivers/hwmon/ina3221.c | 4 +- drivers/hwmon/ltc2947-core.c | 2 +- drivers/i2c/busses/i2c-imx.c | 6 +- drivers/i2c/busses/i2c-npcm7xx.c | 11 +- drivers/iio/health/afe4403.c | 5 +- drivers/iio/health/afe4404.c | 12 +- drivers/iio/light/Kconfig | 2 + drivers/input/touchscreen/raydium_i2c_ts.c | 4 +- drivers/iommu/intel/dmar.c | 1 + drivers/iommu/intel/iommu.c | 4 +- drivers/media/common/videobuf2/frame_vector.c | 53 ++------ drivers/mmc/core/core.c | 9 +- drivers/mmc/core/mmc_test.c | 3 +- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- drivers/mmc/host/sdhci-sprd.c | 4 +- drivers/mmc/host/sdhci.c | 61 +++++++-- drivers/mmc/host/sdhci.h | 2 + drivers/net/can/cc770/cc770_isa.c | 10 +- drivers/net/can/m_can/m_can.c | 2 +- drivers/net/can/m_can/m_can_pci.c | 9 +- drivers/net/can/sja1000/sja1000_isa.c | 10 +- drivers/net/can/usb/etas_es58x/es58x_core.c | 5 +- drivers/net/dsa/lan9303-core.c | 2 +- .../net/ethernet/aquantia/atlantic/aq_ethtool.c | 5 +- drivers/net/ethernet/aquantia/atlantic/aq_main.c | 4 +- drivers/net/ethernet/aquantia/atlantic/aq_main.h | 2 + drivers/net/ethernet/intel/e100.c | 5 +- drivers/net/ethernet/intel/fm10k/fm10k_main.c | 10 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 11 +- drivers/net/ethernet/intel/iavf/iavf_main.c | 8 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 10 +- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 4 +- .../mellanox/mlx5/core/eswitch_offloads_termtbl.c | 2 + .../mellanox/mlx5/core/steering/dr_matcher.c | 26 ++-- .../mellanox/mlx5/core/steering/dr_table.c | 7 +- .../mellanox/mlx5/core/steering/dr_types.h | 2 +- drivers/net/ethernet/ni/nixge.c | 29 ++--- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 4 +- drivers/net/ethernet/renesas/ravb_main.c | 1 + drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 + drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 12 +- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +- drivers/net/mdio/fwnode_mdio.c | 2 +- drivers/net/ntb_netdev.c | 9 +- drivers/net/phy/phy_device.c | 2 + drivers/net/tun.c | 4 +- drivers/net/wwan/iosm/iosm_ipc_mux_codec.c | 3 +- drivers/net/wwan/iosm/iosm_ipc_protocol.h | 2 +- drivers/nvme/host/core.c | 2 +- drivers/nvme/host/multipath.c | 3 + drivers/nvmem/rmem.c | 4 +- drivers/of/property.c | 4 +- drivers/pinctrl/intel/pinctrl-intel.c | 27 +++- drivers/pinctrl/pinctrl-single.c | 2 +- drivers/spi/spi-imx.c | 3 +- drivers/tty/serial/stm32-usart.c | 131 ++++++++++++++------ drivers/tty/serial/stm32-usart.h | 1 + fs/afs/fs_probe.c | 4 +- fs/btrfs/backref.c | 25 +++- fs/btrfs/backref.h | 3 +- fs/btrfs/ioctl.c | 38 ++---- fs/btrfs/qgroup.c | 22 ++-- fs/erofs/inode.c | 2 +- fs/io_uring.c | 57 +++++++-- fs/nilfs2/dat.c | 7 ++ include/linux/license.h | 2 + include/linux/mmc/mmc.h | 2 +- include/linux/swap.h | 1 - include/net/sctp/stream_sched.h | 2 + kernel/bpf/bpf_local_storage.c | 2 +- kernel/events/core.c | 2 +- kernel/trace/trace_dynevent.c | 2 + kernel/trace/trace_events.c | 11 +- kernel/trace/trace_events_hist.c | 3 + kernel/trace/trace_osnoise.c | 6 +- lib/Kconfig.debug | 14 ++- mm/compaction.c | 67 +++++++--- mm/vmscan.c | 101 +++------------ net/9p/trans_fd.c | 4 +- net/hsr/hsr_forward.c | 5 +- net/ipv4/fib_semantics.c | 10 +- net/mac80211/airtime.c | 3 + net/packet/af_packet.c | 6 +- net/sctp/stream.c | 25 ++-- net/sctp/stream_sched.c | 5 + net/sctp/stream_sched_prio.c | 19 +++ net/sctp/stream_sched_rr.c | 5 + net/tipc/crypto.c | 3 + net/wireless/scan.c | 10 +- scripts/faddr2line | 7 +- sound/firewire/dice/dice-stream.c | 12 +- sound/soc/soc-ops.c | 2 +- tools/lib/bpf/ringbuf.c | 12 +- tools/testing/selftests/net/fib_nexthops.sh | 30 +++++ tools/vm/slabinfo-gnuplot.sh | 4 +- 133 files changed, 1132 insertions(+), 554 deletions(-)
On 12/5/22 11:09, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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 f.fainelli@gmail.com
Hello!
On Mon, 5 Dec 2022 at 13:33, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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.82-rc1
[...]
Guo Ren guoren@linux.alibaba.com riscv: kexec: Fixup crash_smp_send_stop without multi cores
[...]
We have found regression with RISC V with GCC 8 and 11: -----8<----------8<----------8<----- /builds/linux/arch/riscv/kernel/smp.c: In function 'handle_IPI': /builds/linux/arch/riscv/kernel/smp.c:195:44: error: 'cpu' undeclared (first use in this function) 195 | ipi_cpu_crash_stop(cpu, get_irq_regs()); | ^~~ /builds/linux/arch/riscv/kernel/smp.c:195:44: note: each undeclared identifier is reported only once for each function it appears in /builds/linux/arch/riscv/kernel/smp.c:217:22: error: 'old_regs' undeclared (first use in this function) 217 | set_irq_regs(old_regs); | ^~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:289: arch/riscv/kernel/smp.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [/builds/linux/scripts/Makefile.build:552: arch/riscv/kernel] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [/builds/linux/Makefile:1900: arch/riscv] Error 2 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 ----->8---------->8---------->8-----
Bisection points to the above commit ("riscv: kexec: Fixup crash_smp_send_stop without multi cores"). Reverting it makes the build pass.
In order to reproduce: # See https://docs.tuxmake.org/ for complete documentation. # Original tuxmake command with fragments listed below. tuxmake --runtime podman --target-arch riscv --toolchain gcc-11 --kconfig defconfig
Greetings!
Daniel Díaz daniel.diaz@linaro.org
On 12/5/22 12:09, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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
On Mon, Dec 05, 2022 at 08:09:00PM +0100, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 cross-compiled for arm64 (bcm2711_defconfig, GCC 10.2.0) and powerpc (ps3_defconfig, GCC 12.2.0).
Tested-by: Bagas Sanjaya bagasdotme@gmail.com
On 12/5/22 11:09 AM, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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
Fails to build on RISC-V RV64 with the following:
arch/riscv/kernel/smp.c: In function ‘handle_IPI’: arch/riscv/kernel/smp.c:195:44: error: ‘cpu’ undeclared (first use in this function) 195 | ipi_cpu_crash_stop(cpu, get_irq_regs()); | ^~~ arch/riscv/kernel/smp.c:195:44: note: each undeclared identifier is reported only once for each function it appears in arch/riscv/kernel/smp.c:217:22: error: ‘old_regs’ undeclared (first use in this function) 217 | set_irq_regs(old_regs); | ^~~~~~~~
It's caused by the patch "riscv: kexec: Fixup crash_smp_send_stop without multi cores".
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/c...
That patch relies on a much older patch that was never backported to 5.15.
The patch "riscv: kexec: Fixup irq controller broken in kexec crash path" should also be reverted since it's part of the same series.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/c...
Tested-by: Ron Economos re@w6rz.net
On Tue, 6 Dec 2022 at 01:03, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.82 release. There are 120 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 Wed, 07 Dec 2022 19:07:46 +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.82-rc1... 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
Results from Linaro’s test farm. RISC V build regression reported.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
NOTE: RISC V defconfig build regression,
Build error: make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache clang' arch/riscv/kernel/smp.c:195:23: error: use of undeclared identifier 'cpu' ipi_cpu_crash_stop(cpu, get_irq_regs()); ^ arch/riscv/kernel/smp.c:217:15: error: use of undeclared identifier 'old_regs' set_irq_regs(old_regs); ^ 2 errors generated. make[3]: *** [scripts/Makefile.build:289: arch/riscv/kernel/smp.o] Error 1
ref: https://lore.kernel.org/stable/CAEUSe7_2g6fde2JU7_yA9QCK+FfdLshCRnDd81FF3=SJ...
## Build * kernel: 5.15.82-rc1 * git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc * git branch: linux-5.15.y * git commit: 0ba3dda3cd904c39dff762076fae4a21634b8db6 * git describe: v5.15.81-121-g0ba3dda3cd90 * test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15....
## Test Regressions (compared to v5.15.81)
* riscv, build - clang-15-defconfig - clang-nightly-defconfig - gcc-11-defconfig - gcc-8-defconfig
## Metric Regressions (compared to v5.15.81)
## Test Fixes (compared to v5.15.81)
## Metric Fixes (compared to v5.15.81)
## Test result summary total: 119887, pass: 104751, fail: 2682, skip: 12101, xfail: 353
## Build Summary * arc: 5 total, 5 passed, 0 failed * arm: 147 total, 146 passed, 1 failed * arm64: 45 total, 43 passed, 2 failed * i386: 35 total, 33 passed, 2 failed * mips: 27 total, 27 passed, 0 failed * parisc: 6 total, 6 passed, 0 failed * powerpc: 30 total, 30 passed, 0 failed * riscv: 10 total, 6 passed, 4 failed * s390: 12 total, 12 passed, 0 failed * sh: 12 total, 12 passed, 0 failed * sparc: 6 total, 6 passed, 0 failed * x86_64: 38 total, 36 passed, 2 failed
## Test suites summary * boot * fwts * igt-gpu-tools * kselftest-android * kselftest-arm64 * kselftest-arm64/arm64.btitest.bti_c_func * kselftest-arm64/arm64.btitest.bti_j_func * kselftest-arm64/arm64.btitest.bti_jc_func * kselftest-arm64/arm64.btitest.bti_none_func * kselftest-arm64/arm64.btitest.nohint_func * kselftest-arm64/arm64.btitest.paciasp_func * kselftest-arm64/arm64.nobtitest.bti_c_func * kselftest-arm64/arm64.nobtitest.bti_j_func * kselftest-arm64/arm64.nobtitest.bti_jc_func * kselftest-arm64/arm64.nobtitest.bti_none_func * kselftest-arm64/arm64.nobtitest.nohint_func * kselftest-arm64/arm64.nobtitest.paciasp_func * kselftest-breakpoints * kselftest-drivers-dma-buf * kselftest-efivarfs * kselftest-gpio * kselftest-intel_pstate * kselftest-lib * kselftest-net * kselftest-net-forwarding * kselftest-net-mptcp * kselftest-netfilter * kselftest-openat2 * kselftest-seccomp * kselftest-timens * kunit * kvm-unit-tests * libgpiod * libhugetlbfs * log-parser-boot * log-parser-test * ltp-cap_bounds * ltp-commands * ltp-containers * ltp-controllers * ltp-cpuhotplug * ltp-crypto * ltp-cve * ltp-dio * ltp-fcntl-locktests * ltp-filecaps * ltp-fs * ltp-fs_bind * ltp-fs_perms_simple * ltp-fsx * ltp-hugetlb * ltp-io * ltp-ipc * ltp-math * ltp-mm * ltp-nptl * ltp-open-posix-tests * ltp-pty * ltp-sched * ltp-securebits * ltp-smoke * ltp-syscalls * ltp-tracing * network-basic-tests * packetdrill * perf * perf/Zstd-perf.data-compression * rcutorture * v4l2-compliance * vdso
-- Linaro LKFT https://lkft.linaro.org