Merge tag 'drm-fixes-2026-01-02' of https://gitlab.freedesktop.org/drm/kernel
Pull drm fixes from Dave Airlie:
"Happy New Year, jetlagged fixes from me, still pretty quiet, xe is
most of this, with i915/nouveau/imagination fixes and some shmem
cleanups.
shmem:
- docs and MODULE_LICENSE fix
xe:
- Ensure svm device memory is idle before migration completes
- Fix a SVM debug printout
- Use READ_ONCE() / WRITE_ONCE() for g2h_fence
i915:
- Fix eb_lookup_vmas() failure path
nouveau:
[14 lines not shown]
[clang-doc] Add friends to class template
This patch also allows comments to be associated with friend
declarations. Currently, it seems like the comments for friend `RecordDecl`
are taken from the actual class declaration, while a friend
function's comments are taken from the actual `friend` declaration.
[clang-doc] Add class member enums to template
Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
sys/conf/files: Fix sndstat path
Reported by: CI
Fixes: bafa8c951d8c ("sound: Move sndstat out of pcm/")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
[clang-doc] Add concepts to namespace template (#173956)
This patch serializes concepts in HTML. This patch also includes changes
to bitcode reading/writing and JSON to serialize the concept's location,
which was missing.
Merge tag 'v6.19-rc3-smb3-server-fixes' of git://git.samba.org/ksmbd
Pull smb server fixes from Steve French:
- Fix memory leak
- Fix two refcount leaks
- Fix error path in create_smb2_pipe
* tag 'v6.19-rc3-smb3-server-fixes' of git://git.samba.org/ksmbd:
smb/server: fix refcount leak in smb2_open()
smb/server: fix refcount leak in parse_durable_handle_context()
smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe()
ksmbd: Fix memory leak in get_file_all_info()
sound: Merge chn_intr() with chn_intr_locked()
There is no scenario where chn_intr() is called with the channel lock
already held.
No functional change intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D53854
snd_uaudio: Do not use pcm_channel->lock to protect uaudio_chan
This is a layering violation, but it also makes the control flow
confusing; snd_uaudio(4) should have its own lock to protect its
structures.
Fixes: 5cc34a83e1 ("Revert "sound: Merge chn_intr() with chn_intr_locked()"")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54102
[flang][cuda] Emit error when a device actual argument is used in host intrinsic (#174025)
This can lead to segfault if a device variable is used in a host
intrinsic. Emit an error in semantic.
Reland #172914 with the addition of `__builtin_c_devloc `, `loc` and
`present` as skipped intrinsic
Merge tag 'v6.19-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6
Pull smb client fixes from Steve French:
- Fix array out of bounds error in copy_file_range
- Add tracepoint to help debug ioctl failures
* tag 'v6.19-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
smb: client: fix UBSAN array-index-out-of-bounds in smb2_copychunk_range
smb3 client: add missing tracepoint for unsupported ioctls
[TableGen] Fix TypeSetByHwMode::getValueTypeByHwMode. (#174182)
This should convert the type set for each HwMode to an MVT for that
HwMode. Instead, if a single type existed for the DefaultMode, that was
used for the MVT of every other mode.
This didn't cause an issue because there is only one place this function
is used before HwModes are expanded. That's just verifying that
constants are small enough for the MVT for each mode. So you would need
a large constant and a HwMode with a smaller VT than the default mode.
NAS-139152 / 26.04 / Fix minor bug in our IoThreadPoolExecutor (#17944)
Beginning in python3.13, upstream ThreadPoolExecutor fixed their
calulcation for `max_workers` (threads). We implemented our own
calculation which did, virtually, the same thing however ours was off by
1 depending on number of CPUs on a system.
Instead of diverging from upstream, just use their calculation to follow
upstream as close as possible.
As an aside, I removed the global `counter` variable and instead
followed similar paradigm that upstream is doing as well.
You can look at upstream
[here](https://github.com/python/cpython/blob/afa24d832494e2d04969f9ad6585b61700c50d6c/Lib/concurrent/futures/thread.py#L122)
editors/featherpad: update to 1.6.3
V1.6.3
---------
* Check for nullity before calling `deleteLater()` — they say that's needed with Clang's optimizations enabled.
* Fixed an asymmetry between the forward and backward searches/replacements if some text was selected.
* Made replacing after searching easier (without needing to clear the selection first).
* Fixed showing of ampersand in the recent files menus.
* Fixed highlighting of C++ numbers with single quote as separator.
* Added more explanation on searching and replacing to Help.
NAS-139142 / 26.04 / remove python3-systemd dependency (#17936)
This removes the only other 2 users of systemd.journal module. The
`Reader` class is 13MB of memory allocations alone. This replaces it
with just fork+exec'ing to `journalctl`. The memory efficiency tradeoff
outweighs the consistent inefficiencies in memory allocations.
Furthermore, I've created a unified helper function so that both callers
can call it.
Because of this, I'm able to remove another unnecessary 3rd party
dependency.
devel/cargo-nextest: update to 0.9.117
Added
- Experimental support for running benchmarks via cargo nextest bench. Set NEXTEST_EXPERIMENTAL_BENCHMARKS=1 to enable.
- Benchmarks have a separate configuration namespace with dedicated slow-timeout and global-timeout settings:
[bench]
slow-timeout = { period = "120s", terminate-after = 2 }
global-timeout = "1h"
- Per-test overrides are also supported within the [bench] section.
- The list command now supports --message-format oneline for grep-friendly output.
- Nextest now accepts --target host-tuple to explicitly target the host platform, mirroring Cargo's new feature. This resolves to the detected host triple at runtime. (#2872)
Changed
- The default output style for cargo nextest list has been changed to a new auto value, which is equivalent to human (the previous default) if standard output is an interactive terminal, and oneline if not.
[4 lines not shown]
sound: Improve snd_midi->{in,out}q allocation
Currently we lock and allocate the buffers with M_NOWAIT, without
checking if the return value of malloc(). This is not necessary as
subsequent check below will eventually check that. However, for
correctness, allocate the buffers with M_WAITOK (there is no reason not
to) and lock afterwards.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54131
sound: Retire mpu_callbackp()
It is the exact same as mpu_callback().
No functional changed intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sound: Take device type into account in sndstat
sndstat will be extended to work with MIDI devices as well, so separate
functionality based on the device type.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54141