]> git.itanic.dy.fi Git - linux-stable/log
linux-stable
2 days agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto...
Stephen Rothwell [Fri, 3 May 2024 02:29:05 +0000 (12:29 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

2 days agoMerge branch 'spi-nor/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd...
Stephen Rothwell [Fri, 3 May 2024 02:29:03 +0000 (12:29 +1000)]
Merge branch 'spi-nor/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git

2 days agoMerge branch 'nand/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
Stephen Rothwell [Fri, 3 May 2024 02:29:01 +0000 (12:29 +1000)]
Merge branch 'nand/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git

2 days agoMerge branch 'mtd/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
Stephen Rothwell [Fri, 3 May 2024 02:28:59 +0000 (12:28 +1000)]
Merge branch 'mtd/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless...
Stephen Rothwell [Fri, 3 May 2024 02:10:10 +0000 (12:10 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git

2 days agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth...
Stephen Rothwell [Fri, 3 May 2024 02:10:08 +0000 (12:10 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git

2 days agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec...
Stephen Rothwell [Fri, 3 May 2024 02:10:06 +0000 (12:10 +1000)]
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf...
Stephen Rothwell [Fri, 3 May 2024 02:10:03 +0000 (12:10 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git

2 days agoMerge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
Stephen Rothwell [Fri, 3 May 2024 02:09:59 +0000 (12:09 +1000)]
Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git

# Conflicts:
# drivers/of/property.c
# include/linux/slab.h

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
Stephen Rothwell [Fri, 3 May 2024 01:55:23 +0000 (11:55 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux...
Stephen Rothwell [Fri, 3 May 2024 01:55:21 +0000 (11:55 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
Stephen Rothwell [Fri, 3 May 2024 01:39:09 +0000 (11:39 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git

2 days agoMerge branch 'devfreq-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo...
Stephen Rothwell [Fri, 3 May 2024 01:39:07 +0000 (11:39 +1000)]
Merge branch 'devfreq-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git

2 days agoMerge branch 'cpupower' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git
Stephen Rothwell [Fri, 3 May 2024 01:39:04 +0000 (11:39 +1000)]
Merge branch 'cpupower' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git

2 days agoMerge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
Stephen Rothwell [Fri, 3 May 2024 01:39:01 +0000 (11:39 +1000)]
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git

2 days agoselftests/net: skip partial checksum packets in csum test
Willem de Bruijn [Wed, 1 May 2024 19:30:22 +0000 (15:30 -0400)]
selftests/net: skip partial checksum packets in csum test

Detect packets with ip_summed CHECKSUM_PARTIAL and skip these. These
should not exist, as the test sends individual packets between two
hosts. But if (HW) GRO is on, with randomized content sometimes
subsequent packets can be coalesced.

In this case the GSO packet checksum is converted to a pseudo checksum
in anticipation of sending out as TSO/USO. So the field will not match
the expected value.

Do not count these as test errors.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240501193156.3627344-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 days agoMerge remote-tracking branch 'regulator/for-6.10' into regulator-next
Mark Brown [Fri, 3 May 2024 01:32:44 +0000 (10:32 +0900)]
Merge remote-tracking branch 'regulator/for-6.10' into regulator-next

2 days agoselftests: net: py: check process exit code in bkg() and background cmd()
Jakub Kicinski [Thu, 2 May 2024 02:53:25 +0000 (19:53 -0700)]
selftests: net: py: check process exit code in bkg() and background cmd()

We're a bit too loose with error checking for background
processes. cmd() completely ignores the fail argument
passed to the constructor if background is True.
Default to checking for errors if process is not terminated
explicitly. Caller can override with True / False.

For bkg() the processing step is called magically by __exit__
so record the value passed in the constructor.

Reported-by: Willem de Bruijn <willemb@google.com>
Tested-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20240502025325.1924923-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 days agoIB/hfi1: allocate dummy net_device dynamically
Breno Leitao [Tue, 30 Apr 2024 16:22:11 +0000 (09:22 -0700)]
IB/hfi1: allocate dummy net_device dynamically

Embedding net_device into structures prohibits the usage of flexible
arrays in the net_device structure. For more details, see the discussion
at [1].

Un-embed the net_device from struct hfi1_netdev_rx by converting it
into a pointer. Then use the leverage alloc_netdev() to allocate the
net_device object at hfi1_alloc_rx().

[1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/

Acked-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Leon Romanovsky <leon@kernel.org>
Link: https://lore.kernel.org/r/20240430162213.746492-1-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 days agonet/mlx5e: flower: check for unsupported control flags
Asbjørn Sloth Tønnesen [Mon, 22 Apr 2024 15:27:27 +0000 (15:27 +0000)]
net/mlx5e: flower: check for unsupported control flags

Use flow_rule_is_supp_control_flags() to reject filters
with unsupported control flags.

In case any unsupported control flags are masked,
flow_rule_is_supp_control_flags() sets a NL extended
error message, and we return -EOPNOTSUPP.

Remove FLOW_DIS_FIRST_FRAG specific error message,
and treat it as any other unsupported control flag.

Only compile-tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240422152728.175677-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 days agoMerge branch 'master' of git://linuxtv.org/media_tree.git
Stephen Rothwell [Fri, 3 May 2024 01:17:51 +0000 (11:17 +1000)]
Merge branch 'master' of git://linuxtv.org/media_tree.git

2 days agoMerge branch 'docs-next' of git://git.lwn.net/linux.git
Stephen Rothwell [Fri, 3 May 2024 01:17:49 +0000 (11:17 +1000)]
Merge branch 'docs-next' of git://git.lwn.net/linux.git

2 days agoMerge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
Stephen Rothwell [Fri, 3 May 2024 01:17:47 +0000 (11:17 +1000)]
Merge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git

2 days agoMerge branch 'dmi-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare...
Stephen Rothwell [Fri, 3 May 2024 01:17:44 +0000 (11:17 +1000)]
Merge branch 'dmi-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git

2 days agoMerge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi...
Stephen Rothwell [Fri, 3 May 2024 01:17:40 +0000 (11:17 +1000)]
Merge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

2 days agoMerge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
Stephen Rothwell [Fri, 3 May 2024 01:17:38 +0000 (11:17 +1000)]
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
Stephen Rothwell [Fri, 3 May 2024 01:17:36 +0000 (11:17 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git

2 days agoMerge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
Stephen Rothwell [Fri, 3 May 2024 01:17:34 +0000 (11:17 +1000)]
Merge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
Stephen Rothwell [Fri, 3 May 2024 01:17:32 +0000 (11:17 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git
Stephen Rothwell [Fri, 3 May 2024 01:17:30 +0000 (11:17 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git

2 days agoMerge tag 'drm-xe-next-fixes-2024-05-02' of https://gitlab.freedesktop.org/drm/xe...
Dave Airlie [Fri, 3 May 2024 00:59:23 +0000 (10:59 +1000)]
Merge tag 'drm-xe-next-fixes-2024-05-02' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next

Driver Changes:
- Fix for a backmerge going slightly wrong.
- An UAF fix
- Avoid a WA error on LNL.

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ZjOijQA43zhu3SZ4@fedora
2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git
Stephen Rothwell [Fri, 3 May 2024 00:58:54 +0000 (10:58 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git

2 days agoMerge branch 'vfs.all' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
Stephen Rothwell [Fri, 3 May 2024 00:58:53 +0000 (10:58 +1000)]
Merge branch 'vfs.all' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git

# Conflicts:
# fs/btrfs/disk-io.c

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git
Stephen Rothwell [Fri, 3 May 2024 00:51:13 +0000 (10:51 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git

2 days agoMerge branch 'overlayfs-next' of git://git.kernel.org/pub/scm/linux/kernel/git/overla...
Stephen Rothwell [Fri, 3 May 2024 00:51:11 +0000 (10:51 +1000)]
Merge branch 'overlayfs-next' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git

2 days agoMerge branch 'master' of https://github.com/Paragon-Software-Group/linux-ntfs3.git
Stephen Rothwell [Fri, 3 May 2024 00:51:10 +0000 (10:51 +1000)]
Merge branch 'master' of https://github.com/Paragon-Software-Group/linux-ntfs3.git

2 days agoMerge branch 'nfsd-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Stephen Rothwell [Fri, 3 May 2024 00:51:09 +0000 (10:51 +1000)]
Merge branch 'nfsd-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux

2 days agoMerge branch 'ksmbd-for-next' of https://github.com/smfrench/smb3-kernel.git
Stephen Rothwell [Fri, 3 May 2024 00:51:08 +0000 (10:51 +1000)]
Merge branch 'ksmbd-for-next' of https://github.com/smfrench/smb3-kernel.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux...
Stephen Rothwell [Fri, 3 May 2024 00:51:07 +0000 (10:51 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
Stephen Rothwell [Fri, 3 May 2024 00:51:04 +0000 (10:51 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git

2 days agoMerge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
Stephen Rothwell [Fri, 3 May 2024 00:51:03 +0000 (10:51 +1000)]
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git

2 days agoMerge branch 'for_next' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux...
Stephen Rothwell [Fri, 3 May 2024 00:51:02 +0000 (10:51 +1000)]
Merge branch 'for_next' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git

2 days agoMerge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git
Stephen Rothwell [Fri, 3 May 2024 00:51:00 +0000 (10:51 +1000)]
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git

2 days agoMerge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
Stephen Rothwell [Fri, 3 May 2024 00:50:59 +0000 (10:50 +1000)]
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git

2 days agoMerge branch 'for-next' of git://git.infradead.org/users/hch/configfs.git
Stephen Rothwell [Fri, 3 May 2024 00:50:58 +0000 (10:50 +1000)]
Merge branch 'for-next' of git://git.infradead.org/users/hch/configfs.git

2 days agoMerge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6.git
Stephen Rothwell [Fri, 3 May 2024 00:50:52 +0000 (10:50 +1000)]
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:50:51 +0000 (10:50 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git

2 days agoMerge branch 'for-next' of https://evilpiepirate.org/git/bcachefs.git
Stephen Rothwell [Fri, 3 May 2024 00:50:49 +0000 (10:50 +1000)]
Merge branch 'for-next' of https://evilpiepirate.org/git/bcachefs.git

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:24 +0000 (10:32 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git

# Conflicts:
# arch/um/include/shared/um_malloc.h

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson...
Stephen Rothwell [Fri, 3 May 2024 00:32:22 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc.git

2 days agoMerge branch 'for-next' of git:git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh...
Stephen Rothwell [Fri, 3 May 2024 00:32:21 +0000 (10:32 +1000)]
Merge branch 'for-next' of git:git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:20 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git

2 days agoMerge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Fri, 3 May 2024 00:32:19 +0000 (10:32 +1000)]
Merge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git

2 days agoMerge branch 'riscv-dt-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Fri, 3 May 2024 00:32:18 +0000 (10:32 +1000)]
Merge branch 'riscv-dt-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git

# Conflicts:
# arch/riscv/Makefile

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:17 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git

# Conflicts:
# Documentation/rust/arch-support.rst

2 days agoMerge branch 'topic/kdump-hotplug' of git://git.kernel.org/pub/scm/linux/kernel/git...
Stephen Rothwell [Fri, 3 May 2024 00:32:14 +0000 (10:32 +1000)]
Merge branch 'topic/kdump-hotplug' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:13 +0000 (10:32 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/paris...
Stephen Rothwell [Fri, 3 May 2024 00:32:12 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git

2 days agoMerge branch 'for-next' of git://github.com/openrisc/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:11 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://github.com/openrisc/linux.git

2 days agoMerge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:10 +0000 (10:32 +1000)]
Merge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git

2 days agoMerge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.git
Stephen Rothwell [Fri, 3 May 2024 00:32:09 +0000 (10:32 +1000)]
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knom...
Stephen Rothwell [Fri, 3 May 2024 00:32:08 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux...
Stephen Rothwell [Fri, 3 May 2024 00:32:07 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git

2 days agoMerge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:06 +0000 (10:32 +1000)]
Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git

2 days agoMerge branch 'for-next' of git://github.com/Xilinx/linux-xlnx.git
Stephen Rothwell [Fri, 3 May 2024 00:32:05 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://github.com/Xilinx/linux-xlnx.git

2 days agoMerge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:04 +0000 (10:32 +1000)]
Merge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:32:03 +0000 (10:32 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git

2 days agoMerge branch 'next' of https://git.linaro.org/people/jens.wiklander/linux-tee.git
Stephen Rothwell [Fri, 3 May 2024 00:32:03 +0000 (10:32 +1000)]
Merge branch 'next' of https://git.linaro.org/people/jens.wiklander/linux-tee.git

2 days agoMerge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi...
Stephen Rothwell [Fri, 3 May 2024 00:32:02 +0000 (10:32 +1000)]
Merge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git

2 days agoMerge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue...
Stephen Rothwell [Fri, 3 May 2024 00:32:01 +0000 (10:32 +1000)]
Merge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git

2 days agoMerge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Stephen Rothwell [Fri, 3 May 2024 00:32:00 +0000 (10:32 +1000)]
Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:31:59 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux...
Stephen Rothwell [Fri, 3 May 2024 00:31:58 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git

2 days agoMerge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux
Stephen Rothwell [Fri, 3 May 2024 00:31:57 +0000 (10:31 +1000)]
Merge branch 'reset/next' of https://git.pengutronix.de/git/pza/linux

2 days agoMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas...
Stephen Rothwell [Fri, 3 May 2024 00:31:56 +0000 (10:31 +1000)]
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:31:55 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Stephen Rothwell [Fri, 3 May 2024 00:31:54 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement...
Stephen Rothwell [Fri, 3 May 2024 00:31:54 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mediatek...
Stephen Rothwell [Fri, 3 May 2024 00:31:53 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Stephen Rothwell [Fri, 3 May 2024 00:31:52 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git

2 days agoMerge branch 'next' of https://github.com/Broadcom/stblinux.git
Stephen Rothwell [Fri, 3 May 2024 00:31:51 +0000 (10:31 +1000)]
Merge branch 'next' of https://github.com/Broadcom/stblinux.git

2 days agoMerge branch 'at91-next' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git
Stephen Rothwell [Fri, 3 May 2024 00:31:50 +0000 (10:31 +1000)]
Merge branch 'at91-next' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
Stephen Rothwell [Fri, 3 May 2024 00:31:50 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic...
Stephen Rothwell [Fri, 3 May 2024 00:31:49 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git

2 days agoMerge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
Stephen Rothwell [Fri, 3 May 2024 00:31:47 +0000 (10:31 +1000)]
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git

2 days agoMerge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
Stephen Rothwell [Fri, 3 May 2024 00:31:46 +0000 (10:31 +1000)]
Merge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

2 days agofirewire: core: add tracepoint event for handling bus reset
Takashi Sakamoto [Wed, 1 May 2024 07:32:38 +0000 (16:32 +0900)]
firewire: core: add tracepoint event for handling bus reset

The core function expects hardware drivers to call
fw_core_handle_bus_reset() when changing bus topology. The 1394 OHCI
driver calls it when handling selfID event as a result of any bus-reset.

This commit adds a tracepoints event for it.

Link: https://lore.kernel.org/r/20240501073238.72769-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agoRevert "firewire: core: option to log bus reset initiation"
Takashi Sakamoto [Wed, 1 May 2024 07:32:37 +0000 (16:32 +0900)]
Revert "firewire: core: option to log bus reset initiation"

This reverts commit 6732491243045f5a7e1995b4be5f3c964b579ebd.

The former commit adds some alternative tracepoints events to replace the
reverted kernel log messages.

Link: https://lore.kernel.org/r/20240501073238.72769-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoints events for initiating bus reset
Takashi Sakamoto [Wed, 1 May 2024 07:32:36 +0000 (16:32 +0900)]
firewire: core: add tracepoints events for initiating bus reset

At a commit 673249124304 ("firewire: core: option to log bus reset
initiation"), some kernel log messages were added to trace initiation of
bus reset. The kernel log messages are really helpful, while nowadays it
is not preferable just for debugging purpose. For the purpose, Linux
kernel tracepoints is more preferable.

This commit adds some alternative tracepoints events.

Link: https://lore.kernel.org/r/20240501073238.72769-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: ohci: obsolete OHCI_PARAM_DEBUG_BUSRESETS from debug module parameter
Takashi Sakamoto [Wed, 1 May 2024 07:32:35 +0000 (16:32 +0900)]
firewire: ohci: obsolete OHCI_PARAM_DEBUG_BUSRESETS from debug module parameter

The OHCI_PARAM_DEBUG_BUSRESETS bit of debug module parameter was added at
a commit a007bb857e0b ("firewire: fw-ohci: conditionally log busReset
interrupts").

At the former commit, the bit becomes less meaningful, just to skip
logging.

This commit obsoletes it.

Link: https://lore.kernel.org/r/20240501073238.72769-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: ohci: add bus-reset event for initial set of handled irq
Takashi Sakamoto [Wed, 1 May 2024 07:32:34 +0000 (16:32 +0900)]
firewire: ohci: add bus-reset event for initial set of handled irq

In the former commits, the spurious interrupt events are suppressed as
possible, by unset bus-reset event from the set of handled irq. The change
was written with the less-intrusive style, thus it firstly works at the
second time to handle the event. But it is slightly inconvenient.

This commit adds the event for the initial set of irq to handle. As a
result, the event can be handled even if it is the first time. The change
has a benefit that the OHCI_PARAM_DEBUG_BUSRESETS bit in debug module
parameter is always effective.

Tested-by: Adam Goldman <adamg@pobox.com>
Link: https://lore.kernel.org/r/20240501073238.72769-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoints event for asynchronous inbound phy packet
Takashi Sakamoto [Tue, 30 Apr 2024 00:14:04 +0000 (09:14 +0900)]
firewire: core: add tracepoints event for asynchronous inbound phy packet

At the former commit, a pair of tracepoints events is added to trace
asynchronous outbound phy packet. This commit adds a tracepoints event
to trace inbound phy packet. It includes transaction status as well as
the content of phy packet.

This is an example for Remote Reply Packet as a response to Remote Access
Packet sent by lsfirewirephy command in linux-firewire-utils:

async_phy_inbound: \
  packet=0xffff955fc02b4e10 generation=1 status=1 timestamp=0x0619 \
  first_quadlet=0x001c8208 second_quadlet=0xffe37df7

Link: https://lore.kernel.org/r/20240430001404.734657-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core/cdev: add tracepoints events for asynchronous phy packet
Takashi Sakamoto [Tue, 30 Apr 2024 00:14:03 +0000 (09:14 +0900)]
firewire: core/cdev: add tracepoints events for asynchronous phy packet

In IEEE 1394 bus, the type of asynchronous packet without any offset to
node address space is called as phy packet. The destination of packet is
IEEE 1394 phy itself. This type of packet is used for several purposes,
mainly for selfID at the state of bus reset, to force selection of root
node, and to adjust gap count.

This commit adds tracepoints events for the type of asynchronous outbound
packet. Like asynchronous outbound transaction packets, a pair of events
are added to trace initiation and completion of transmission.

In the case that the phy packet is sent by kernel API, the match between
the initiation and completion is not so easy, since the data of
'struct fw_packet' is allocated statically. In the case that it is sent by
userspace applications via cdev, the match is easy, since the data is
allocated per each.

This example is for Remote Access Packet by lsfirewirephy command in
linux-firewire-utils:

async_phy_outbound_initiate: \
  packet=0xffff89fb34e42e78 generation=1 first_quadlet=0x00148200 \
  second_quadlet=0xffeb7dff
async_phy_outbound_complete: \
  packet=0xffff89fb34e42e78 generation=1 status=1 timestamp=0x0619

Link: https://lore.kernel.org/r/20240430001404.734657-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoints events for asynchronous outbound response
Takashi Sakamoto [Mon, 29 Apr 2024 04:32:18 +0000 (13:32 +0900)]
firewire: core: add tracepoints events for asynchronous outbound response

In a view of core transaction service, the asynchronous outbound response
consists of two stages; initiation and completion.

This commit adds a pair of events for the asynchronous outbound response.
The following example is for asynchronous write quadlet request as IEC
61883-1 FCP response to node 0xffc1.

async_response_outbound_initiate: \
  transaction=0xffff89fa08cf16c0 generation=4 scode=2 dst_id=0xffc1 \
  tlabel=25 tcode=2 src_id=0xffc0 rcode=0 \
  header={0xffc16420,0xffc00000,0x0,0x0} data={}
async_response_outbound_complete: \
  transaction=0xffff89fa08cf16c0 generation=4 scode=2 status=1 \
  timestamp=0x0000

Link: https://lore.kernel.org/r/20240429043218.609398-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoint event for asynchronous inbound request
Takashi Sakamoto [Mon, 29 Apr 2024 04:32:17 +0000 (13:32 +0900)]
firewire: core: add tracepoint event for asynchronous inbound request

This commit adds an event for asynchronous inbound request.

The following example is for asynchronous block write request as IEC
61883-1 FCP request from node 0xffc1.

async_request_inbound: \
  transaction=0xffff89fa08cf16c0 generation=4 scode=2 status=2 \
  timestamp=0x00b3 dst_id=0xffc0 tlabel=19 tcode=1 src_id=0xffc1 \
  offset=0xfffff0000d00 header={0xffc04d10,0xffc1ffff,0xf0000d00,0x80000} \
  data={0x19ff08,0xffff0090}

Link: https://lore.kernel.org/r/20240429043218.609398-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoints event for asynchronous inbound response
Takashi Sakamoto [Mon, 29 Apr 2024 04:32:16 +0000 (13:32 +0900)]
firewire: core: add tracepoints event for asynchronous inbound response

In the transaction of IEEE 1394, the node to receive the asynchronous
request transfers any response packet to the requester except for the
unified transaction.

This commit adds an event for the inbound packet. Note that the code to
decode the packet header is moved, against the note about the sanity
check.

The following example is for asynchronous lock response with
compare_and_swap code.

async_response_inbound: \
  transaction=0xffff955fc6a07a10 generation=5 scode=2 status=1 \
  timestamp=0x0089 dst_id=0xffc1 tlabel=54 tcode=11 src_id=0xffc0 \
  rcode=0 header={0xffc1d9b0,0xffc00000,0x0,0x40002} data={0x50800080}

Link: https://lore.kernel.org/r/20240429043218.609398-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add tracepoints events for asynchronous outbound request
Takashi Sakamoto [Mon, 29 Apr 2024 04:32:15 +0000 (13:32 +0900)]
firewire: core: add tracepoints events for asynchronous outbound request

In a view of core transaction service, the asynchronous outbound request
consists of two stages; initiation and completion. This commit adds a pair
of event for them.

The following example is for asynchronous lock request with compare_swap
code to offset 0x'ffff'f000'0904 in node 0xffc0.

async_request_outbound_initiate: \
  transaction=0xffff955fc6a07a10 generation=5 scode=2 dst_id=0xffc0 \
  tlabel=54 tcode=9 src_id=0xffc1 offset=0xfffff0000904 \
  header={0xffc0d990,0xffc1ffff,0xf0000904,0x80002}
  data={0x80,0x940181}
async_request_outbound_complete: \
  transaction=0xffff955fc6a07a10 generation=5 scode=2 status=2 \
  timestamp=0xd887

Link: https://lore.kernel.org/r/20240429043218.609398-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add support for Linux kernel tracepoints
Takashi Sakamoto [Mon, 29 Apr 2024 04:32:14 +0000 (13:32 +0900)]
firewire: core: add support for Linux kernel tracepoints

The Linux Kernel Tracepoints framework is enough useful to trace
packet data inbound to and outbound from core.

This commit adds firewire subsystem to use the framework.

Link: https://lore.kernel.org/r/20240429043218.609398-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: replace local macros with common inline functions for isochronous...
Takashi Sakamoto [Sun, 28 Apr 2024 07:13:46 +0000 (16:13 +0900)]
firewire: core: replace local macros with common inline functions for isochronous packet header

This commit replaces the local macros with the common inline functions
to serialize the packer header for Asynchronous Streaming Packet.

Link: https://lore.kernel.org/r/20240428071347.409202-9-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2 days agofirewire: core: add common macro to serialize/deserialize isochronous packet header
Takashi Sakamoto [Sun, 28 Apr 2024 07:13:45 +0000 (16:13 +0900)]
firewire: core: add common macro to serialize/deserialize isochronous packet header

The packet for Asynchronous Streaming Packet includes the same header
fields as the isochronous packet has. It is helpful to have some helper
functions to serialize/deserialize them.

This commit adds such helper functions with their test.

Link: https://lore.kernel.org/r/20240428071347.409202-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>