This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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.142-rc1
Heiner Kallweit hkallweit1@gmail.com r8169: fix deadlock on RTL8125 in jumbo mtu mode
Heiner Kallweit hkallweit1@gmail.com r8169: disable ASPM in case of tx timeout
Wenchao Chen wenchao.chen@unisoc.com mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
Heiner Kallweit hkallweit1@gmail.com mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
Lu Baolu baolu.lu@linux.intel.com iommu/vt-d: Make context clearing consistent with context mapping
Lu Baolu baolu.lu@linux.intel.com iommu/vt-d: Omit devTLB invalidation requests when TES=0
Christoph Niedermaier cniedermaier@dh-electronics.com cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
Christoph Niedermaier cniedermaier@dh-electronics.com cpufreq: imx6q: don't warn for disabling a non-existing frequency
Steve French stfrench@microsoft.com smb3: fix caching of ctime on setxattr
Jeff Layton jlayton@kernel.org fs: add ctime accessors infrastructure
Helge Deller deller@gmx.de fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
Mark Hasemeyer markhas@chromium.org ASoC: SOF: sof-pci-dev: Fix community key quirk detection
Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks
Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com ASoC: SOF: sof-pci-dev: add parameter to override topology filename
Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com ASoC: SOF: sof-pci-dev: use community key on all Up boards
Hans de Goede hdegoede@redhat.com ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
Steve French stfrench@microsoft.com smb3: fix touch -h of symlink
Gaurav Batra gbatra@linux.vnet.ibm.com powerpc/pseries/iommu: enable_ddw incorrectly returns direct mapping for SR-IOV device
Ilpo Järvinen ilpo.jarvinen@linux.intel.com selftests/resctrl: Move _GNU_SOURCE define into Makefile
Shaopeng Tan tan.shaopeng@jp.fujitsu.com selftests/resctrl: Add missing SPDX license to Makefile
Adrian Hunter adrian.hunter@intel.com perf intel-pt: Fix async branch flags
Claudiu Beznea claudiu.beznea.uj@bp.renesas.com net: ravb: Stop DMA in case of failures on ravb_open()
Phil Edworthy phil.edworthy@renesas.com ravb: Support separate Line0 (Desc), Line1 (Err) and Line2 (Mgmt) irqs
Phil Edworthy phil.edworthy@renesas.com ravb: Separate handling of irq enable/disable regs into feature
Claudiu Beznea claudiu.beznea.uj@bp.renesas.com net: ravb: Start TX queues after HW initialization succeeded
Claudiu Beznea claudiu.beznea.uj@bp.renesas.com net: ravb: Use pm_runtime_resume_and_get()
Claudiu Beznea claudiu.beznea.uj@bp.renesas.com net: ravb: Check return value of reset_control_deassert()
Yoshihiro Shimoda yoshihiro.shimoda.uh@renesas.com ravb: Fix races between ravb_tx_timeout_work() and net related ops
Heiner Kallweit hkallweit1@gmail.com r8169: prevent potential deadlock in rtl8169_close
Andrey Grodzovsky andrey.grodzovsky@amd.com Revert "workqueue: remove unused cancel_work()"
Geetha sowjanya gakula@marvell.com octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
Furong Xu 0x1207@gmail.com net: stmmac: xgmac: Disable FPE MMC interrupts
Elena Salomatkina elena.salomatkina.cmc@gmail.com octeontx2-af: Fix possible buffer overflow
Willem de Bruijn willemb@google.com selftests/net: ipsec: fix constant out of range
Dmitry Antipov dmantipov@yandex.ru uapi: propagate __struct_group() attributes to the container union
Ioana Ciornei ioana.ciornei@nxp.com dpaa2-eth: increase the needed headroom to account for alignment
Zhengchao Shao shaozhengchao@huawei.com ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
Niklas Neronin niklas.neronin@linux.intel.com usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
Alan Stern stern@rowland.harvard.edu USB: core: Change configuration warnings to notices
Haiyang Zhang haiyangz@microsoft.com hv_netvsc: fix race of netvsc and VF register_netdevice
Patrick Wang patrick.wang.shcn@gmail.com rcu: Avoid tracing a few functions executed in stop machine
Xin Long lucien.xin@gmail.com vlan: move dev_put into vlan_dev_uninit
Xin Long lucien.xin@gmail.com vlan: introduce vlan_dev_free_egress_priority
Max Nguyen maxwell.nguyen@hp.com Input: xpad - add HyperX Clutch Gladiate Support
Filipe Manana fdmanana@suse.com btrfs: make error messages more clear when getting a chunk map
Jann Horn jannh@google.com btrfs: send: ensure send_fd is writable
Filipe Manana fdmanana@suse.com btrfs: fix off-by-one when checking chunk map includes logical address
Bragatheswaran Manickavel bragathemanick0908@gmail.com btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
Qu Wenruo wqu@suse.com btrfs: add dmesg output for first mount and last unmount of a filesystem
Helge Deller deller@gmx.de parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
Timothy Pearson tpearson@raptorengineering.com powerpc: Don't clobber f0/vs0 during fp|altivec register save
Abdul Halim, Mohd Syazwan mohd.syazwan.abdul.halim@intel.com iommu/vt-d: Add MTL to quirk list to skip TE disabling
Markus Weippert markus@gekmihesg.de bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
Wu Bo bo.wu@vivo.com dm verity: don't perform FEC for failed readahead IO
Mikulas Patocka mpatocka@redhat.com dm-verity: align struct dm_verity_fec_io properly
Kailang Yang kailang@realtek.com ALSA: hda/realtek: Add supported ALC257 for ChromeOS
Kailang Yang kailang@realtek.com ALSA: hda/realtek: Headset Mic VREF to 100%
Takashi Iwai tiwai@suse.de ALSA: hda: Disable power-save on KONTRON SinglePC
Adrian Hunter adrian.hunter@intel.com mmc: block: Be sure to wait while busy in CQE error recovery
Adrian Hunter adrian.hunter@intel.com mmc: block: Do not lose cache flush during CQE error recovery
Adrian Hunter adrian.hunter@intel.com mmc: block: Retry commands in CQE error recovery
Adrian Hunter adrian.hunter@intel.com mmc: cqhci: Fix task clearing in CQE error recovery
Adrian Hunter adrian.hunter@intel.com mmc: cqhci: Warn of halt or task clear failure
Adrian Hunter adrian.hunter@intel.com mmc: cqhci: Increase recovery halt timeout
Yang Yingliang yangyingliang@huawei.com firewire: core: fix possible memory leak in create_units()
Maria Yu quic_aiquny@quicinc.com pinctrl: avoid reload of p state in list iteration
Adrian Hunter adrian.hunter@intel.com perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
-------------
Diffstat:
Makefile | 4 +- arch/parisc/include/uapi/asm/errno.h | 2 - arch/powerpc/kernel/fpu.S | 13 ++++ arch/powerpc/kernel/vector.S | 2 + arch/powerpc/platforms/pseries/iommu.c | 8 +- drivers/cpufreq/imx6q-cpufreq.c | 32 ++++---- drivers/firewire/core-device.c | 11 +-- drivers/input/joystick/xpad.c | 2 + drivers/iommu/intel/dmar.c | 18 +++++ drivers/iommu/intel/iommu.c | 6 +- drivers/md/bcache/btree.c | 2 +- drivers/md/dm-verity-fec.c | 3 +- drivers/md/dm-verity-target.c | 4 +- drivers/md/dm-verity.h | 6 -- drivers/mmc/core/block.c | 2 + drivers/mmc/core/core.c | 9 ++- drivers/mmc/core/regulator.c | 41 ++++++++++ drivers/mmc/host/cqhci-core.c | 44 +++++------ drivers/mmc/host/sdhci-sprd.c | 25 ++++++ drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 8 +- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 2 +- .../net/ethernet/marvell/octeontx2/af/rvu_nix.c | 4 +- .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 7 +- drivers/net/ethernet/realtek/r8169_main.c | 23 +++++- drivers/net/ethernet/renesas/ravb.h | 4 + drivers/net/ethernet/renesas/ravb_main.c | 91 ++++++++++++++++++---- drivers/net/ethernet/renesas/ravb_ptp.c | 6 +- drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 4 + drivers/net/hyperv/netvsc_drv.c | 25 +++--- drivers/pinctrl/core.c | 6 +- drivers/usb/core/config.c | 85 ++++++++++---------- drivers/video/fbdev/sticore.h | 2 +- fs/btrfs/disk-io.c | 1 + fs/btrfs/ref-verify.c | 2 + fs/btrfs/send.c | 2 +- fs/btrfs/super.c | 5 +- fs/btrfs/volumes.c | 9 ++- fs/cifs/cifsfs.c | 1 + fs/cifs/xattr.c | 5 +- fs/inode.c | 16 ++++ include/linux/fs.h | 45 ++++++++++- include/linux/mmc/host.h | 3 + include/linux/platform_data/x86/soc.h | 65 ++++++++++++++++ include/linux/workqueue.h | 1 + include/uapi/linux/stddef.h | 2 +- kernel/rcu/tree_plugin.h | 8 +- kernel/workqueue.c | 9 +++ lib/errname.c | 6 -- net/8021q/vlan.h | 2 +- net/8021q/vlan_dev.c | 15 +++- net/8021q/vlan_netlink.c | 7 +- net/ipv4/igmp.c | 6 +- sound/pci/hda/hda_intel.c | 2 + sound/pci/hda/patch_realtek.c | 12 +++ sound/soc/intel/common/soc-intel-quirks.h | 51 +----------- sound/soc/sof/sof-pci-dev.c | 62 +++++++++++---- tools/arch/parisc/include/uapi/asm/errno.h | 2 - tools/perf/util/genelf.h | 4 +- tools/perf/util/intel-pt.c | 2 + tools/testing/selftests/net/ipsec.c | 4 +- tools/testing/selftests/resctrl/Makefile | 4 +- tools/testing/selftests/resctrl/resctrl.h | 1 - 62 files changed, 606 insertions(+), 249 deletions(-)
Hi Greg,
On 05/12/23 8:46 am, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 Adrian Hunter adrian.hunter@intel.com perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
^^ This commit is causing the perf/ build failure:
In file included from util/jitdump.c:29: util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory 5 | #include <linux/math.h> | ^~~~~~~~~~~~~~ compilation terminated.
This was previously reported on 5.15.136-rc:
Vegard shared his analysis on ways to fix here:
https://lore.kernel.org/stable/fb1ce733-d612-4fa3-a1e4-716545625822@oracle.c...
Thanks, Harshit
On Tue, 05 Dec 2023 12:16:45 +0900, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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
All tests passing for Tegra ...
Test results for stable-v5.15: 10 builds: 10 pass, 0 fail 26 boots: 26 pass, 0 fail 102 tests: 102 pass, 0 fail
Linux version: 5.15.142-rc1-gbff845be423f Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000, tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000, tegra20-ventana, tegra210-p2371-2180, tegra210-p3450-0000, tegra30-cardhu-a04
Tested-by: Jon Hunter jonathanh@nvidia.com
Jon
On Tue, 5 Dec 2023 at 09:10, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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
Following powerpc build failures noticed.
* powerpc, build - clang-17-defconfig - FAILED - gcc-12-defconfig - FAILED - gcc-8-defconfig - FAILED
build error: --- arch/powerpc/platforms/pseries/iommu.c: In function 'find_existing_ddw': arch/powerpc/platforms/pseries/iommu.c:908:49: error: 'struct dma_win' has no member named 'direct' 908 | *direct_mapping = window->direct; | ^~
suspected commit: powerpc/pseries/iommu: enable_ddw incorrectly returns direct mapping for SR-IOV device [ Upstream commit 3bf983e4e93ce8e6d69e9d63f52a66ec0856672e ]
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Links: - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.... - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15....
-- Linaro LKFT https://lkft.linaro.org
On Tue, Dec 05, 2023 at 12:16:45PM +0900, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +0000. Anything received after that time might be too late.
Build results: total: 154 pass: 152 fail: 2 Failed builds: powerpc:defconfig powerpc:allmodconfig Qemu test results: total: 517 pass: 495 fail: 22 Failed tests: ppc64:mac99:ppc64_book3s_defconfig:smp:net=ne2k_pci:initrd ppc64:mac99:ppc64_book3s_defconfig:smp:net=pcnet:ide:rootfs ppc64:mac99:ppc64_book3s_defconfig:smp:net=e1000:sdhci-mmc:rootfs ppc64:mac99:ppc64_book3s_defconfig:smp:net=e1000e:nvme:rootfs ppc64:mac99:ppc64_book3s_defconfig:smp:net=virtio-net:scsi[DC395]:rootfs ppc64:pseries:pseries_defconfig:big:smp2:net=pcnet:initrd ppc64:pseries:pseries_defconfig:big:tpm-spapr:net=rtl8139:scsi:rootfs ppc64:pseries:pseries_defconfig:big:net=e1000e:usb:rootfs ppc64:pseries:pseries_defconfig:big:net=i82559a:sdhci-mmc:rootfs ppc64:pseries:pseries_defconfig:big:net=virtio-net-old:nvme:rootfs ppc64:pseries:pseries_defconfig:big:net=tulip:sata-sii3112:rootfs ppc64:pseries:pseries_defconfig:big:net=e1000:virtio-pci:rootfs ppc64:pseries:pseries_defconfig:big:net=e1000:virtio-pci-old:rootfs ppc64:pseries:pseries_defconfig:little:net=rtl8139:initrd ppc64:pseries:pseries_defconfig:little:tpm-spapr:net=e1000:scsi:rootfs ppc64:pseries:pseries_defconfig:little:net=pcnet:usb:rootfs ppc64:pseries:pseries_defconfig:little:net=e1000e:sata-sii3112:rootfs ppc64:pseries:pseries_defconfig:little:net=virtio-net:scsi[MEGASAS]:rootfs ppc64:pseries:pseries_defconfig:little:net=virtio-net-old:scsi[MEGASAS]:rootfs ppc64:pseries:pseries_defconfig:little:net=i82562:scsi[FUSION]:rootfs ppc64:pseries:pseries_defconfig:little:net=ne2k_pci:sdhci-mmc:rootfs ppc64:pseries:pseries_defconfig:little:net=usb-ohci:nvme:rootfs
As reported by others:
arch/powerpc/platforms/pseries/iommu.c: In function 'find_existing_ddw': arch/powerpc/platforms/pseries/iommu.c:908:49: error: 'struct dma_win' has no member named 'direct'
Guenter
Hello,
On 2023-12-05T12:16:45+09:00 Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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.
This rc kernel passes DAMON functionality test[1] on my test machine. Attaching the test results summary below. Please note that I retrieved the kernel from linux-stable-rc tree[2].
Tested-by: SeongJae Park sj@kernel.org
[1] https://github.com/awslabs/damon-tests/tree/next/corr [2] bff845be423f ("Linux 5.15.142-rc1")
Thanks, SJ
[...]
---
ok 1 selftests: damon: debugfs_attrs.sh ok 1 selftests: damon-tests: kunit.sh ok 2 selftests: damon-tests: huge_count_read_write.sh ok 3 selftests: damon-tests: buffer_overflow.sh ok 4 selftests: damon-tests: rm_contexts.sh ok 5 selftests: damon-tests: record_null_deref.sh ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh ok 8 selftests: damon-tests: damo_tests.sh ok 9 selftests: damon-tests: masim-record.sh ok 10 selftests: damon-tests: build_i386.sh ok 11 selftests: damon-tests: build_arm64.sh ok 12 selftests: damon-tests: build_i386_idle_flag.sh ok 13 selftests: damon-tests: build_i386_highpte.sh ok 14 selftests: damon-tests: build_nomemcg.sh [33m [92mPASS [39m
On Tue, Dec 05, 2023 at 12:46:43PM +0530, Harshit Mogalapalli wrote:
Hi Greg,
On 05/12/23 8:46 am, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 Adrian Hunter adrian.hunter@intel.com perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
^^ This commit is causing the perf/ build failure:
In file included from util/jitdump.c:29: util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory 5 | #include <linux/math.h> | ^~~~~~~~~~~~~~ compilation terminated.
This was previously reported on 5.15.136-rc:
Vegard shared his analysis on ways to fix here:
https://lore.kernel.org/stable/fb1ce733-d612-4fa3-a1e4-716545625822@oracle.c...
Now dropped from here and 4.19.y
thanks,
greg k-h
On 12/4/23 19:16, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 Tue, Dec 05, 2023 at 10:18:49PM +0530, Naresh Kamboju wrote:
On Tue, 5 Dec 2023 at 09:10, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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
Following powerpc build failures noticed.
- powerpc, build
- clang-17-defconfig - FAILED
- gcc-12-defconfig - FAILED
- gcc-8-defconfig - FAILED
build error:
arch/powerpc/platforms/pseries/iommu.c: In function 'find_existing_ddw': arch/powerpc/platforms/pseries/iommu.c:908:49: error: 'struct dma_win' has no member named 'direct' 908 | *direct_mapping = window->direct; | ^~
suspected commit: powerpc/pseries/iommu: enable_ddw incorrectly returns direct mapping for SR-IOV device [ Upstream commit 3bf983e4e93ce8e6d69e9d63f52a66ec0856672e ]
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Thanks, now dropped from 5.15.y and 6.1.y
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 x86_64 and ARM64 test systems. No errors or regressions.
Perf builds fine too.
Tested-by: Allen Pais apais@linux.microsoft.com
Thanks.
On 12/4/23 20:16, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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
Hello,
On Tue, Dec 5, 2023 at 10:17 AM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Tue, Dec 05, 2023 at 12:46:43PM +0530, Harshit Mogalapalli wrote:
Hi Greg,
On 05/12/23 8:46 am, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 Adrian Hunter adrian.hunter@intel.com perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
^^ This commit is causing the perf/ build failure:
In file included from util/jitdump.c:29: util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory 5 | #include <linux/math.h> | ^~~~~~~~~~~~~~ compilation terminated.
This was previously reported on 5.15.136-rc:
Vegard shared his analysis on ways to fix here:
https://lore.kernel.org/stable/fb1ce733-d612-4fa3-a1e4-716545625822@oracle.c...
Now dropped from here and 4.19.y
Sorry for the super late reply and happy new year!
As Vegard noted we can change the header to <linux/kernel.h> to avoid the build issue. I don't expect more changes in this code so it's unlikely we have conflicts here. Let me know if it happens later.
Anyway this code is needed to handle JIT-dump binaries generated by perf inject. I'll send a patch if it's ok to you.
Thanks, Namhyung
On Sat, Jan 06, 2024 at 04:54:34PM -0800, Namhyung Kim wrote:
Hello,
On Tue, Dec 5, 2023 at 10:17 AM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Tue, Dec 05, 2023 at 12:46:43PM +0530, Harshit Mogalapalli wrote:
Hi Greg,
On 05/12/23 8:46 am, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.15.142 release. There are 67 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 Thu, 07 Dec 2023 03:14:57 +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.142-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 Adrian Hunter adrian.hunter@intel.com perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
^^ This commit is causing the perf/ build failure:
In file included from util/jitdump.c:29: util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory 5 | #include <linux/math.h> | ^~~~~~~~~~~~~~ compilation terminated.
This was previously reported on 5.15.136-rc:
Vegard shared his analysis on ways to fix here:
https://lore.kernel.org/stable/fb1ce733-d612-4fa3-a1e4-716545625822@oracle.c...
Now dropped from here and 4.19.y
Sorry for the super late reply and happy new year!
As Vegard noted we can change the header to <linux/kernel.h> to avoid the build issue. I don't expect more changes in this code so it's unlikely we have conflicts here. Let me know if it happens later.
Anyway this code is needed to handle JIT-dump binaries generated by perf inject. I'll send a patch if it's ok to you.
Just send an updated patch please.
From: Adrian Hunter adrian.hunter@intel.com
When a program header was added, it moved the text section but GEN_ELF_TEXT_OFFSET was not updated.
Fix by adding the program header size and aligning.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files") Signed-off-by: Adrian Hunter adrian.hunter@intel.com Tested-by: Arnaldo Carvalho de Melo acme@redhat.com Cc: Ian Rogers irogers@google.com Cc: Jiri Olsa jolsa@kernel.org Cc: Lieven Hey lieven.hey@kdab.com Link: https://lore.kernel.org/r/20221014170905.64069-7-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo acme@redhat.com [namhyung: use "linux/kernel.h" instead to avoid build failure] Signed-off-by: Namhyung Kim namhyung@kernel.org --- tools/perf/util/genelf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/genelf.h b/tools/perf/util/genelf.h index b5c909546e3f..6af062d1c452 100644 --- a/tools/perf/util/genelf.h +++ b/tools/perf/util/genelf.h @@ -2,6 +2,8 @@ #ifndef __GENELF_H__ #define __GENELF_H__
+#include <linux/kernel.h> + /* genelf.c */ int jit_write_elf(int fd, uint64_t code_addr, const char *sym, const void *code, int csize, void *debug, int nr_debug_entries, @@ -76,6 +78,6 @@ int jit_add_debug_info(Elf *e, uint64_t code_addr, void *debug, int nr_debug_ent #endif
/* The .text section is directly after the ELF header */ -#define GEN_ELF_TEXT_OFFSET sizeof(Elf_Ehdr) +#define GEN_ELF_TEXT_OFFSET round_up(sizeof(Elf_Ehdr) + sizeof(Elf_Phdr), 16)
#endif
On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
From: Adrian Hunter adrian.hunter@intel.com
When a program header was added, it moved the text section but GEN_ELF_TEXT_OFFSET was not updated.
Fix by adding the program header size and aligning.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files") Signed-off-by: Adrian Hunter adrian.hunter@intel.com Tested-by: Arnaldo Carvalho de Melo acme@redhat.com Cc: Ian Rogers irogers@google.com Cc: Jiri Olsa jolsa@kernel.org Cc: Lieven Hey lieven.hey@kdab.com Link: https://lore.kernel.org/r/20221014170905.64069-7-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo acme@redhat.com [namhyung: use "linux/kernel.h" instead to avoid build failure] Signed-off-by: Namhyung Kim namhyung@kernel.org
tools/perf/util/genelf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
What is the git commit id of this change in Linus's tree?
thanks,
greg k-h
Hello,
On Tue, Jan 9, 2024 at 11:59 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
From: Adrian Hunter adrian.hunter@intel.com
When a program header was added, it moved the text section but GEN_ELF_TEXT_OFFSET was not updated.
Fix by adding the program header size and aligning.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files") Signed-off-by: Adrian Hunter adrian.hunter@intel.com Tested-by: Arnaldo Carvalho de Melo acme@redhat.com Cc: Ian Rogers irogers@google.com Cc: Jiri Olsa jolsa@kernel.org Cc: Lieven Hey lieven.hey@kdab.com Link: https://lore.kernel.org/r/20221014170905.64069-7-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo acme@redhat.com [namhyung: use "linux/kernel.h" instead to avoid build failure] Signed-off-by: Namhyung Kim namhyung@kernel.org
tools/perf/util/genelf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
What is the git commit id of this change in Linus's tree?
Sorry I forgot to add that. It's 89b15d00527b7825ff19130ed83478e80e3fae99
Thanks, Namhyung
On Wed, Jan 10, 2024 at 09:53:17AM -0800, Namhyung Kim wrote:
Hello,
On Tue, Jan 9, 2024 at 11:59 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
From: Adrian Hunter adrian.hunter@intel.com
When a program header was added, it moved the text section but GEN_ELF_TEXT_OFFSET was not updated.
Fix by adding the program header size and aligning.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files") Signed-off-by: Adrian Hunter adrian.hunter@intel.com Tested-by: Arnaldo Carvalho de Melo acme@redhat.com Cc: Ian Rogers irogers@google.com Cc: Jiri Olsa jolsa@kernel.org Cc: Lieven Hey lieven.hey@kdab.com Link: https://lore.kernel.org/r/20221014170905.64069-7-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo acme@redhat.com [namhyung: use "linux/kernel.h" instead to avoid build failure] Signed-off-by: Namhyung Kim namhyung@kernel.org
tools/perf/util/genelf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
What is the git commit id of this change in Linus's tree?
Sorry I forgot to add that. It's 89b15d00527b7825ff19130ed83478e80e3fae99
Thanks, now queued up.
greg k-h