linux-2.6-block.git
10 months agokprobes: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:18:17 +0000 (16:18 -0600)]
kprobes: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agolocking/lock_events: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:15:09 +0000 (16:15 -0600)]
locking/lock_events: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokernel/irq: convert debugfs helpers to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:14:43 +0000 (16:14 -0600)]
kernel/irq: convert debugfs helpers to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agosched/debug: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:14:19 +0000 (16:14 -0600)]
sched/debug: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agogcov: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:13:51 +0000 (16:13 -0600)]
gcov: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agotracing: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:13:33 +0000 (16:13 -0600)]
tracing: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agorv: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:13:06 +0000 (16:13 -0600)]
rv: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokernel/time: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:12:24 +0000 (16:12 -0600)]
kernel/time: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agorelay: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:12:04 +0000 (16:12 -0600)]
relay: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoprintk: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:11:53 +0000 (16:11 -0600)]
printk: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokernel/power: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:11:23 +0000 (16:11 -0600)]
kernel/power: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agomodule: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:10:56 +0000 (16:10 -0600)]
module: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokcsan: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:10:43 +0000 (16:10 -0600)]
kcsan: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokernel/fail_function: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:10:32 +0000 (16:10 -0600)]
kernel/fail_function: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agodma-debug: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:10:14 +0000 (16:10 -0600)]
dma-debug: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoperf: convert events to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:09:52 +0000 (16:09 -0600)]
perf: convert events to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agobpf: convert to read/write iterators
Jens Axboe [Mon, 8 Apr 2024 22:09:04 +0000 (16:09 -0600)]
bpf: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoblock: convert to read/write iterators
Jens Axboe [Wed, 3 Apr 2024 22:57:50 +0000 (16:57 -0600)]
block: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoASoC: SOF: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:05:19 +0000 (08:05 -0600)]
ASoC: SOF: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoASoC: SOF: Core: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:05:03 +0000 (08:05 -0600)]
ASoC: SOF: Core: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoSoC: SOF: icp4: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:03:58 +0000 (08:03 -0600)]
SoC: SOF: icp4: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoASoC: SOF: icp3-dtrace: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:03:43 +0000 (08:03 -0600)]
ASoC: SOF: icp3-dtrace: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agosound/oss/dmasound: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:03:19 +0000 (08:03 -0600)]
sound/oss/dmasound: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoALSA: pcmtest: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:03:00 +0000 (08:03 -0600)]
ALSA: pcmtest: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoASoC: fsl: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:02:36 +0000 (08:02 -0600)]
ASoC: fsl: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoASoC: Intel: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:02:10 +0000 (08:02 -0600)]
ASoC: Intel: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoALSA: core: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 14:01:16 +0000 (08:01 -0600)]
ALSA: core: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: add IOCB_VECTORED flags
Jens Axboe [Sat, 6 Apr 2024 19:34:25 +0000 (13:34 -0600)]
fs: add IOCB_VECTORED flags

This allows a user of ->read_iter() or ->write_iter() to tell if this
request originally came as a readv/writev, or if it was a normal
read/write operation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: l2tp: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:46:15 +0000 (11:46 -0600)]
net: l2tp: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: rfkill: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:46:00 +0000 (11:46 -0600)]
net: rfkill: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: wireless: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:45:49 +0000 (11:45 -0600)]
net: wireless: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: sunrpc: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:42:32 +0000 (11:42 -0600)]
net: sunrpc: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: 6lowpan: convert debugfs to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:41:35 +0000 (11:41 -0600)]
net: 6lowpan: convert debugfs to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agonet: mac80211: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:41:21 +0000 (11:41 -0600)]
net: mac80211: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoBluetooth: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 17:32:18 +0000 (11:32 -0600)]
Bluetooth: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agostaging: convert drivers to read/write iterators
Jens Axboe [Wed, 3 Apr 2024 18:10:24 +0000 (12:10 -0600)]
staging: convert drivers to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs/fuse: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:39:13 +0000 (07:39 -0600)]
fs/fuse: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoubifs: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:39:01 +0000 (07:39 -0600)]
ubifs: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agotracefs: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:38:51 +0000 (07:38 -0600)]
tracefs: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agodlm: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:38:40 +0000 (07:38 -0600)]
dlm: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoorangefs: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:38:24 +0000 (07:38 -0600)]
orangefs: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoocfs2: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:38:10 +0000 (07:38 -0600)]
ocfs2: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoecryptfs: miscdev: convert to read/write iterators
Jens Axboe [Wed, 10 Apr 2024 13:37:32 +0000 (07:37 -0600)]
ecryptfs: miscdev: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoceph: convert read_dir handler to read_iter()
Jens Axboe [Wed, 3 Apr 2024 17:44:16 +0000 (11:44 -0600)]
ceph: convert read_dir handler to read_iter()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: convert any user of fops->read() for seq_read to read_iter
Jens Axboe [Wed, 3 Apr 2024 17:37:13 +0000 (11:37 -0600)]
fs: convert any user of fops->read() for seq_read to read_iter

There's a seq_read_iter that can be used, do that.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: convert generic_read_dir() to ->read_iter()
Jens Axboe [Wed, 3 Apr 2024 17:32:14 +0000 (11:32 -0600)]
fs: convert generic_read_dir() to ->read_iter()

No functional changes here, just a straight forward mechanical
conversion.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agolibfs: switch to read iter and add copy helpers
Jens Axboe [Wed, 3 Apr 2024 22:43:35 +0000 (16:43 -0600)]
libfs: switch to read iter and add copy helpers

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agodebugfs: convert to ->read_iter()
Jens Axboe [Wed, 3 Apr 2024 17:13:04 +0000 (11:13 -0600)]
debugfs: convert to ->read_iter()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/xillybus: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:48:26 +0000 (10:48 -0600)]
char/xillybus: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/xilinx_hwicap: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:48:11 +0000 (10:48 -0600)]
char/xilinx_hwicap: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/tlclk: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:48:02 +0000 (10:48 -0600)]
char/tlclk: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/sonypi: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:47:52 +0000 (10:47 -0600)]
char/sonypi: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/scx200_gpio: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:47:39 +0000 (10:47 -0600)]
char/scx200_gpio: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/ps3flash: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:43:22 +0000 (10:43 -0600)]
char/ps3flash: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/ppdev: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:43:11 +0000 (10:43 -0600)]
char/ppdev: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/powernv-op-panel: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:59 +0000 (10:42 -0600)]
char/powernv-op-panel: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/pc8736x_gpio: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:46 +0000 (10:42 -0600)]
char/pc8736x_gpio: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/nwflash: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:35 +0000 (10:42 -0600)]
char/nwflash: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/nwbutton: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:23 +0000 (10:42 -0600)]
char/nwbutton: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/nvram: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:11 +0000 (10:42 -0600)]
char/nvram: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/mwave: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:42:02 +0000 (10:42 -0600)]
char/mwave: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/mem: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:41:50 +0000 (10:41 -0600)]
char/mem: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/lp: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:41:40 +0000 (10:41 -0600)]
char/lp: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/tpm: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:41:27 +0000 (10:41 -0600)]
char/tpm: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/ipmi: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:41:08 +0000 (10:41 -0600)]
char/ipmi: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/hw_random: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:40:55 +0000 (10:40 -0600)]
char/hw_random: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/hpet: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:40:43 +0000 (10:40 -0600)]
char/hpet: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/dtlk: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:40:33 +0000 (10:40 -0600)]
char/dtlk: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/dsp56k: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:40:21 +0000 (10:40 -0600)]
char/dsp56k: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/dsp1620: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:40:08 +0000 (10:40 -0600)]
char/dsp1620: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/nsc_gpio: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:39:49 +0000 (10:39 -0600)]
char/nsc_gpio: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/applicom: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:39:24 +0000 (10:39 -0600)]
char/applicom: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/apm-emulation: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:39:09 +0000 (10:39 -0600)]
char/apm-emulation: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agochar/adi: convert to read/write iterators
Jens Axboe [Tue, 9 Apr 2024 16:38:48 +0000 (10:38 -0600)]
char/adi: convert to read/write iterators

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agovirtio_console: convert to read/write iterator helpers
Jens Axboe [Wed, 3 Apr 2024 15:56:29 +0000 (09:56 -0600)]
virtio_console: convert to read/write iterator helpers

Add stub read/write iterators which just use the VFS helpers, and
kill the ->read() and ->write() usage.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoseq_file: switch to using ->read_iter()
Jens Axboe [Wed, 3 Apr 2024 16:49:53 +0000 (10:49 -0600)]
seq_file: switch to using ->read_iter()

There's a seq_read_iter() helper already, use it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agolib/string_helpers: add parse_int_array_iter()
Jens Axboe [Tue, 9 Apr 2024 16:20:08 +0000 (10:20 -0600)]
lib/string_helpers: add parse_int_array_iter()

Works just like parse_int_array_user(), except it takes and iov_iter
instead of a ubuf + length.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agolib/string_helpers: split __parse_int_array() into a helper
Jens Axboe [Tue, 9 Apr 2024 16:17:03 +0000 (10:17 -0600)]
lib/string_helpers: split __parse_int_array() into a helper

No functional changes, just in preparation for providing an iter based
version.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agokstrtox: add iov_iter versions of the string conversion helpers
Jens Axboe [Mon, 8 Apr 2024 14:46:58 +0000 (08:46 -0600)]
kstrtox: add iov_iter versions of the string conversion helpers

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agomm/util: add iterdup_nul() and iterdup() helpers
Jens Axboe [Mon, 8 Apr 2024 13:54:40 +0000 (07:54 -0600)]
mm/util: add iterdup_nul() and iterdup() helpers

This is identical to the memdup variants, except it operates on a struct
iov_iter rather than a direct user pointer.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: add uio.h to fs.h
Jens Axboe [Sun, 7 Apr 2024 03:06:10 +0000 (21:06 -0600)]
fs: add uio.h to fs.h

Most conversions will end up pulling in fs.h already, but not uio.h.
As the fs iterators will need that, just include it from fs.h rather
than need to add it everywhere. It's pretty natural to need user copy
helpers for read/write operators anyway.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agouio: add get/put_iter helpers
Jens Axboe [Tue, 9 Apr 2024 17:02:00 +0000 (11:02 -0600)]
uio: add get/put_iter helpers

For users that currently do put_user(val, uaddr) or get_user(val, uaddr),
add iterator versions that do the same thing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: add simple_copy_{to,from}_iter() helpers
Jens Axboe [Thu, 4 Apr 2024 14:21:24 +0000 (08:21 -0600)]
fs: add simple_copy_{to,from}_iter() helpers

While doing so, rename the networking helper that has the same name.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: add helpers for defining read/write iterator helpers
Jens Axboe [Thu, 4 Apr 2024 13:02:36 +0000 (07:02 -0600)]
fs: add helpers for defining read/write iterator helpers

To ease conversion for drivers, add helpers that allow a driver to simply
wrap their existing read/write file_operations hook and turn it into one
that is appropriate for ->read_iter() or ->write_iter().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: add generic read/write iterator helpers
Jens Axboe [Thu, 4 Apr 2024 12:58:30 +0000 (06:58 -0600)]
fs: add generic read/write iterator helpers

We already do this internally for vfs_readv() and vfs_writev(), which
need to check what method to use. Add generic helpers for this so that
drivers can do this themselves, if they haven't converted to using the
read/write iterator file_operations hooks just yet.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agofs: split do_loop_readv_writev() into separate read/write side helpers
Jens Axboe [Thu, 4 Apr 2024 12:57:44 +0000 (06:57 -0600)]
fs: split do_loop_readv_writev() into separate read/write side helpers

No functional changes, just in preparation for using these separately.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 months agoLinux 6.12-rc3 v6.12-rc3
Linus Torvalds [Sun, 13 Oct 2024 21:33:32 +0000 (14:33 -0700)]
Linux 6.12-rc3

10 months agoMerge tag '6.12-rc2-cifs-fixes' of git://git.samba.org/sfrench/cifs-2.6
Linus Torvalds [Sun, 13 Oct 2024 17:52:39 +0000 (10:52 -0700)]
Merge tag '6.12-rc2-cifs-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:
 "Two fixes for Windows symlink handling"

* tag '6.12-rc2-cifs-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  cifs: Fix creating native symlinks pointing to current or parent directory
  cifs: Improve creating native symlinks pointing to directory

10 months agoMerge tag 'usb-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Linus Torvalds [Sun, 13 Oct 2024 16:21:36 +0000 (09:21 -0700)]
Merge tag 'usb-6.12-rc3' of git://git./linux/kernel/git/gregkh/usb

Pull USB fixes from Greg KH:
 "Here are some small USB fixes for some reported problems for 6.12-rc3.
  Include in here is:

   - fix for yurex driver that was caused in -rc1

   - build error fix for usbg network filesystem code

   - onboard_usb_dev build fix

   - dwc3 driver fixes for reported errors

   - gadget driver fix

   - new USB storage driver quirk

   - xhci resume bugfix

  All of these have been in linux-next for a while with no reported
  issues"

* tag 'usb-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
  net/9p/usbg: Fix build error
  USB: yurex: kill needless initialization in yurex_read
  Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
  usb: xhci: Fix problem with xhci resume from suspend
  usb: misc: onboard_usb_dev: introduce new config symbol for usb5744 SMBus support
  usb: dwc3: core: Stop processing of pending events if controller is halted
  usb: dwc3: re-enable runtime PM after failed resume
  usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
  usb: gadget: core: force synchronous registration

10 months agoMerge tag 'driver-core-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sun, 13 Oct 2024 16:10:52 +0000 (09:10 -0700)]
Merge tag 'driver-core-6.12-rc3' of git://git./linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
 "Here is a single driver core fix, and a .mailmap update.

  The fix is for the rust driver core bindings, turned out that the
  from_raw binding wasn't a good idea (don't want to pass a pointer to a
  reference counted object without actually incrementing the pointer.)
  So this change fixes it up as the from_raw binding came in in -rc1.

  The other change is a .mailmap update.

  Both have been in linux-next for a while with no reported issues"

* tag 'driver-core-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  mailmap: update mail for Fiona Behrens
  rust: device: change the from_raw() function

10 months agoMerge tag 'powerpc-6.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
Linus Torvalds [Sun, 13 Oct 2024 00:16:21 +0000 (17:16 -0700)]
Merge tag 'powerpc-6.12-4' of git://git./linux/kernel/git/powerpc/linux

Pull powerpc fix from Michael Ellerman:

 - Fix crash in memcpy on 8xx due to dcbz workaround since recent
   changes

Thanks to Christophe Leroy.

* tag 'powerpc-6.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc/8xx: Fix kernel DTLB miss on dcbz

10 months agoMerge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds [Sat, 12 Oct 2024 16:24:13 +0000 (09:24 -0700)]
Merge tag 'scsi-fixes' of git://git./linux/kernel/git/jejb/scsi

Pull SCSI fixes from James Bottomley:
 "Four small fixes, three in drivers and one in the FC transport class
  to add idempotence to state setting"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: scsi_transport_fc: Allow setting rport state to current state
  scsi: wd33c93: Don't use stale scsi_pointer value
  scsi: fnic: Move flush_work initialization out of if block
  scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()

10 months agoMerge tag 'hwmon-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sat, 12 Oct 2024 16:09:04 +0000 (09:09 -0700)]
Merge tag 'hwmon-for-v6.12-rc3' of git://git./linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - Add missing dependencies on REGMAP_I2C for several drivers

 - Fix memory leak in adt7475 driver

 - Relabel Columbiaville temperature sensor in intel-m10-bmc-hwmon
   driver to match other sensor labels

* tag 'hwmon-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (max1668) Add missing dependency on REGMAP_I2C
  hwmon: (ltc2991) Add missing dependency on REGMAP_I2C
  hwmon: (adt7470) Add missing dependency on REGMAP_I2C
  hwmon: (adm9240) Add missing dependency on REGMAP_I2C
  hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
  hwmon: (tmp513) Add missing dependency on REGMAP_I2C
  hwmon: (adt7475) Fix memory leak in adt7475_fan_pwm_config()
  hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature

10 months agoMerge tag 'linux_kselftest-fixes-6.12-rc3' of git://git.kernel.org/pub/scm/linux...
Linus Torvalds [Fri, 11 Oct 2024 23:12:45 +0000 (16:12 -0700)]
Merge tag 'linux_kselftest-fixes-6.12-rc3' of git://git./linux/kernel/git/shuah/linux-kselftest

Pull kselftest fixes from Shuah Khan:
 "Fixes for build, run-time errors, and reporting errors:

   - ftrace: regression test for a kernel crash when running function
     graph tracing and then enabling function profiler.

   - rseq: fix for mm_cid test failure.

   - vDSO:
      - fixes to reporting skip and other error conditions
      - changes unconditionally build chacha and getrandom tests on all
        architectures to make it easier for them to run in CIs
      - build error when sched.h to bring in CLONE_NEWTIME define"

* tag 'linux_kselftest-fixes-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  ftrace/selftest: Test combination of function_graph tracer and function profiler
  selftests/rseq: Fix mm_cid test failure
  selftests: vDSO: Explicitly include sched.h
  selftests: vDSO: improve getrandom and chacha error messages
  selftests: vDSO: unconditionally build getrandom test
  selftests: vDSO: unconditionally build chacha test

10 months agoMerge tag 'devicetree-fixes-for-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Fri, 11 Oct 2024 23:07:15 +0000 (16:07 -0700)]
Merge tag 'devicetree-fixes-for-6.12-1' of git://git./linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:

 - Disable kunit tests for arm64+ACPI

 - Fix refcount issue in kunit tests

 - Drop constraints on non-conformant 'interrupt-map' in fsl,ls-extirq

 - Drop type ref on 'msi-parent in fsl,qoriq-mc binding

 - Move elgin,jg10309-01 to its own binding from trivial-devices

* tag 'devicetree-fixes-for-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  of: Skip kunit tests when arm64+ACPI doesn't populate root node
  of: Fix unbalanced of node refcount and memory leaks
  dt-bindings: interrupt-controller: fsl,ls-extirq: workaround wrong interrupt-map number
  dt-bindings: misc: fsl,qoriq-mc: remove ref for msi-parent
  dt-bindings: display: elgin,jg10309-01: Add own binding

10 months agoMerge tag 'fbdev-for-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/delle...
Linus Torvalds [Fri, 11 Oct 2024 22:56:02 +0000 (15:56 -0700)]
Merge tag 'fbdev-for-6.12-rc3' of git://git./linux/kernel/git/deller/linux-fbdev

Pull fbdev platform driver fix from Helge Deller:
 "Switch fbdev drivers back to struct platform_driver::remove()

  Now that 'remove()' has been converted to the sane new API, there's
  no reason for the 'remove_new()' use, so this converts back to the
  traditional and simpler name.

  See commits

     5c5a7680e67b ("platform: Provide a remove callback that returns no value")
     0edb555a65d1 ("platform: Make platform_driver::remove() return void")

  for background to this all"

* tag 'fbdev-for-6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
  fbdev: Switch back to struct platform_driver::remove()

10 months agoMerge tag 'gpio-fixes-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Fri, 11 Oct 2024 22:42:26 +0000 (15:42 -0700)]
Merge tag 'gpio-fixes-for-v6.12-rc3' of git://git./linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

 - fix clock handle leak in probe() error path in gpio-aspeed

 - add a dummy register read to ensure the write actually completed

* tag 'gpio-fixes-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
  gpio: aspeed: Use devm_clk api to manage clock source
  gpio: aspeed: Add the flush write to ensure the write complete.

10 months agoMerge tag 'nfs-for-6.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs
Linus Torvalds [Fri, 11 Oct 2024 22:37:15 +0000 (15:37 -0700)]
Merge tag 'nfs-for-6.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs

Pull NFS client fixes from Anna Schumaker:
 "Localio Bugfixes:
   - remove duplicated include in localio.c
   - fix race in NFS calls to nfsd_file_put_local() and nfsd_serv_put()
   - fix Kconfig for NFS_COMMON_LOCALIO_SUPPORT
   - fix nfsd_file tracepoints to handle NULL rqstp pointers

  Other Bugfixes:
   - fix program selection loop in svc_process_common
   - fix integer overflow in decode_rc_list()
   - prevent NULL-pointer dereference in nfs42_complete_copies()
   - fix CB_RECALL performance issues when using a large number of
     delegations"

* tag 'nfs-for-6.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
  NFS: remove revoked delegation from server's delegation list
  nfsd/localio: fix nfsd_file tracepoints to handle NULL rqstp
  nfs_common: fix Kconfig for NFS_COMMON_LOCALIO_SUPPORT
  nfs_common: fix race in NFS calls to nfsd_file_put_local() and nfsd_serv_put()
  NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()
  SUNRPC: Fix integer overflow in decode_rc_list()
  sunrpc: fix prog selection loop in svc_process_common
  nfs: Remove duplicated include in localio.c

10 months agoMerge tag 'rcu.fixes.6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu...
Linus Torvalds [Fri, 11 Oct 2024 21:42:27 +0000 (14:42 -0700)]
Merge tag 'rcu.fixes.6.12-rc3' of git://git./linux/kernel/git/rcu/linux

Pull RCU fix from Neeraj Upadhyay:
 "Fix rcuog kthread wakeup invocation from softirq context on a CPU
  which has been marked offline.

  This can happen when new callbacks are enqueued from a softirq on an
  offline CPU before it calls rcutree_report_cpu_dead(). When this
  happens on NOCB configuration, the rcuog wake-up is deferred through
  an IPI to an online CPU. This is done to avoid call into the scheduler
  which can risk arming the RT-bandwidth after hrtimers have been
  migrated out and disabled.

  However, doing IPI call from softirq is not allowed: Fix this by
  forcing deferred rcuog wakeup through the NOCB timer when the CPU is
  offline"

* tag 'rcu.fixes.6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux:
  rcu/nocb: Fix rcuog wake-up from offline softirq

10 months agoMerge tag 'for-linus-6.12a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Fri, 11 Oct 2024 21:34:18 +0000 (14:34 -0700)]
Merge tag 'for-linus-6.12a-rc3-tag' of git://git./linux/kernel/git/xen/tip

Pull xen fix from Juergen Gross:
 "A fix for topology information of Xen PV guests"

* tag 'for-linus-6.12a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  x86/xen: mark boot CPU of PV guest in MSR_IA32_APICBASE