2023-12-05 03:41:10

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
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 <[email protected]>
Linux 5.15.142-rc1

Heiner Kallweit <[email protected]>
r8169: fix deadlock on RTL8125 in jumbo mtu mode

Heiner Kallweit <[email protected]>
r8169: disable ASPM in case of tx timeout

Wenchao Chen <[email protected]>
mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled

Heiner Kallweit <[email protected]>
mmc: core: add helpers mmc_regulator_enable/disable_vqmmc

Lu Baolu <[email protected]>
iommu/vt-d: Make context clearing consistent with context mapping

Lu Baolu <[email protected]>
iommu/vt-d: Omit devTLB invalidation requests when TES=0

Christoph Niedermaier <[email protected]>
cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily

Christoph Niedermaier <[email protected]>
cpufreq: imx6q: don't warn for disabling a non-existing frequency

Steve French <[email protected]>
smb3: fix caching of ctime on setxattr

Jeff Layton <[email protected]>
fs: add ctime accessors infrastructure

Helge Deller <[email protected]>
fbdev: stifb: Make the STI next font pointer a 32-bit signed offset

Mark Hasemeyer <[email protected]>
ASoC: SOF: sof-pci-dev: Fix community key quirk detection

Pierre-Louis Bossart <[email protected]>
ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks

Pierre-Louis Bossart <[email protected]>
ASoC: SOF: sof-pci-dev: add parameter to override topology filename

Pierre-Louis Bossart <[email protected]>
ASoC: SOF: sof-pci-dev: use community key on all Up boards

Hans de Goede <[email protected]>
ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header

Steve French <[email protected]>
smb3: fix touch -h of symlink

Gaurav Batra <[email protected]>
powerpc/pseries/iommu: enable_ddw incorrectly returns direct mapping for SR-IOV device

Ilpo Järvinen <[email protected]>
selftests/resctrl: Move _GNU_SOURCE define into Makefile

Shaopeng Tan <[email protected]>
selftests/resctrl: Add missing SPDX license to Makefile

Adrian Hunter <[email protected]>
perf intel-pt: Fix async branch flags

Claudiu Beznea <[email protected]>
net: ravb: Stop DMA in case of failures on ravb_open()

Phil Edworthy <[email protected]>
ravb: Support separate Line0 (Desc), Line1 (Err) and Line2 (Mgmt) irqs

Phil Edworthy <[email protected]>
ravb: Separate handling of irq enable/disable regs into feature

Claudiu Beznea <[email protected]>
net: ravb: Start TX queues after HW initialization succeeded

Claudiu Beznea <[email protected]>
net: ravb: Use pm_runtime_resume_and_get()

Claudiu Beznea <[email protected]>
net: ravb: Check return value of reset_control_deassert()

Yoshihiro Shimoda <[email protected]>
ravb: Fix races between ravb_tx_timeout_work() and net related ops

Heiner Kallweit <[email protected]>
r8169: prevent potential deadlock in rtl8169_close

Andrey Grodzovsky <[email protected]>
Revert "workqueue: remove unused cancel_work()"

Geetha sowjanya <[email protected]>
octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64

Furong Xu <[email protected]>
net: stmmac: xgmac: Disable FPE MMC interrupts

Elena Salomatkina <[email protected]>
octeontx2-af: Fix possible buffer overflow

Willem de Bruijn <[email protected]>
selftests/net: ipsec: fix constant out of range

Dmitry Antipov <[email protected]>
uapi: propagate __struct_group() attributes to the container union

Ioana Ciornei <[email protected]>
dpaa2-eth: increase the needed headroom to account for alignment

Zhengchao Shao <[email protected]>
ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet

Niklas Neronin <[email protected]>
usb: config: fix iteration issue in 'usb_get_bos_descriptor()'

Alan Stern <[email protected]>
USB: core: Change configuration warnings to notices

Haiyang Zhang <[email protected]>
hv_netvsc: fix race of netvsc and VF register_netdevice

Patrick Wang <[email protected]>
rcu: Avoid tracing a few functions executed in stop machine

Xin Long <[email protected]>
vlan: move dev_put into vlan_dev_uninit

Xin Long <[email protected]>
vlan: introduce vlan_dev_free_egress_priority

Max Nguyen <[email protected]>
Input: xpad - add HyperX Clutch Gladiate Support

Filipe Manana <[email protected]>
btrfs: make error messages more clear when getting a chunk map

Jann Horn <[email protected]>
btrfs: send: ensure send_fd is writable

Filipe Manana <[email protected]>
btrfs: fix off-by-one when checking chunk map includes logical address

Bragatheswaran Manickavel <[email protected]>
btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()

Qu Wenruo <[email protected]>
btrfs: add dmesg output for first mount and last unmount of a filesystem

Helge Deller <[email protected]>
parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes

Timothy Pearson <[email protected]>
powerpc: Don't clobber f0/vs0 during fp|altivec register save

Abdul Halim, Mohd Syazwan <[email protected]>
iommu/vt-d: Add MTL to quirk list to skip TE disabling

Markus Weippert <[email protected]>
bcache: revert replacing IS_ERR_OR_NULL with IS_ERR

Wu Bo <[email protected]>
dm verity: don't perform FEC for failed readahead IO

Mikulas Patocka <[email protected]>
dm-verity: align struct dm_verity_fec_io properly

Kailang Yang <[email protected]>
ALSA: hda/realtek: Add supported ALC257 for ChromeOS

Kailang Yang <[email protected]>
ALSA: hda/realtek: Headset Mic VREF to 100%

Takashi Iwai <[email protected]>
ALSA: hda: Disable power-save on KONTRON SinglePC

Adrian Hunter <[email protected]>
mmc: block: Be sure to wait while busy in CQE error recovery

Adrian Hunter <[email protected]>
mmc: block: Do not lose cache flush during CQE error recovery

Adrian Hunter <[email protected]>
mmc: block: Retry commands in CQE error recovery

Adrian Hunter <[email protected]>
mmc: cqhci: Fix task clearing in CQE error recovery

Adrian Hunter <[email protected]>
mmc: cqhci: Warn of halt or task clear failure

Adrian Hunter <[email protected]>
mmc: cqhci: Increase recovery halt timeout

Yang Yingliang <[email protected]>
firewire: core: fix possible memory leak in create_units()

Maria Yu <[email protected]>
pinctrl: avoid reload of p state in list iteration

Adrian Hunter <[email protected]>
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(-)



2023-12-05 07:17:54

by Harshit Mogalapalli

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
> 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 <[email protected]>
> 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/[email protected]/

Thanks,
Harshit

2023-12-05 11:10:20

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
> 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 <[email protected]>

Jon

2023-12-05 16:49:17

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

On Tue, 5 Dec 2023 at 09:10, Greg Kroah-Hartman
<[email protected]> 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-rc1.gz
> 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 <[email protected]>

Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.141-68-gbff845be423f/testrun/21492943/suite/build/test/gcc-12-defconfig/details/
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.141-68-gbff845be423f/testrun/21492943/suite/build/test/gcc-12-defconfig/history/


--
Linaro LKFT
https://lkft.linaro.org

2023-12-05 16:52:12

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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

2023-12-05 17:39:17

by SeongJae Park

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

Hello,

On 2023-12-05T12:16:45+09:00 Greg Kroah-Hartman <[email protected]> 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-rc1.gz
> 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 <[email protected]>

[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

2023-12-05 18:17:46

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
> > 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 <[email protected]>
> > 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/[email protected]/

Now dropped from here and 4.19.y

thanks,

greg k-h

2023-12-05 18:22:20

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
> 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 <[email protected]>
--
Florian

2023-12-05 18:23:35

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

On Tue, Dec 05, 2023 at 10:18:49PM +0530, Naresh Kamboju wrote:
> On Tue, 5 Dec 2023 at 09:10, Greg Kroah-Hartman
> <[email protected]> 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-rc1.gz
> > 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 <[email protected]>

Thanks, now dropped from 5.15.y and 6.1.y

2023-12-05 21:14:46

by Allen

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

>
> 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-rc1.gz
> 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 <[email protected]>

Thanks.

2023-12-06 01:43:34

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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-rc1.gz
> 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 <[email protected]>

thanks,
-- Shuah

2024-01-07 00:55:00

by Namhyung Kim

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

Hello,

On Tue, Dec 5, 2023 at 10:17 AM Greg Kroah-Hartman
<[email protected]> 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-rc1.gz
> > > 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 <[email protected]>
> > > 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/[email protected]/
>
> 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

2024-01-07 08:53:35

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

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
> <[email protected]> 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-rc1.gz
> > > > 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 <[email protected]>
> > > > 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/[email protected]/
> >
> > 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.

2024-01-09 21:53:07

by Namhyung Kim

[permalink] [raw]
Subject: [PATCH for-5.15] perf inject: Fix GEN_ELF_TEXT_OFFSET for jit

From: Adrian Hunter <[email protected]>

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 <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Lieven Hey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
[namhyung: use "linux/kernel.h" instead to avoid build failure]
Signed-off-by: Namhyung Kim <[email protected]>
---
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
--
2.43.0.472.g3155946c3a-goog


2024-01-10 07:59:08

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH for-5.15] perf inject: Fix GEN_ELF_TEXT_OFFSET for jit

On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
> From: Adrian Hunter <[email protected]>
>
> 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 <[email protected]>
> Tested-by: Arnaldo Carvalho de Melo <[email protected]>
> Cc: Ian Rogers <[email protected]>
> Cc: Jiri Olsa <[email protected]>
> Cc: Lieven Hey <[email protected]>
> Link: https://lore.kernel.org/r/[email protected]
> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
> [namhyung: use "linux/kernel.h" instead to avoid build failure]
> Signed-off-by: Namhyung Kim <[email protected]>
> ---
> 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

2024-01-10 17:59:53

by Namhyung Kim

[permalink] [raw]
Subject: Re: [PATCH for-5.15] perf inject: Fix GEN_ELF_TEXT_OFFSET for jit

Hello,

On Tue, Jan 9, 2024 at 11:59 PM Greg Kroah-Hartman
<[email protected]> wrote:
>
> On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
> > From: Adrian Hunter <[email protected]>
> >
> > 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 <[email protected]>
> > Tested-by: Arnaldo Carvalho de Melo <[email protected]>
> > Cc: Ian Rogers <[email protected]>
> > Cc: Jiri Olsa <[email protected]>
> > Cc: Lieven Hey <[email protected]>
> > Link: https://lore.kernel.org/r/[email protected]
> > Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
> > [namhyung: use "linux/kernel.h" instead to avoid build failure]
> > Signed-off-by: Namhyung Kim <[email protected]>
> > ---
> > 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

2024-01-11 10:45:23

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH for-5.15] perf inject: Fix GEN_ELF_TEXT_OFFSET for jit

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
> <[email protected]> wrote:
> >
> > On Tue, Jan 09, 2024 at 01:49:55PM -0800, Namhyung Kim wrote:
> > > From: Adrian Hunter <[email protected]>
> > >
> > > 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 <[email protected]>
> > > Tested-by: Arnaldo Carvalho de Melo <[email protected]>
> > > Cc: Ian Rogers <[email protected]>
> > > Cc: Jiri Olsa <[email protected]>
> > > Cc: Lieven Hey <[email protected]>
> > > Link: https://lore.kernel.org/r/[email protected]
> > > Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
> > > [namhyung: use "linux/kernel.h" instead to avoid build failure]
> > > Signed-off-by: Namhyung Kim <[email protected]>
> > > ---
> > > 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