Pull up following revision(s) (requested by riastradh in ticket #1397):
sys/uvm/uvm_map.c: revision 1.432
sys/sys/proc.h: revision 1.374
sys/kern/kern_proc.c: revision 1.284
sys/kern/kern_proc.c: revision 1.285
sys/kern/kern_proc.c: revision 1.286
(all via patch)
kern: New function proc_find_reflocked.
This is like proc_find_locked but returns with p_reflock held rather
than p_lock. Will be used to replace proc_find_locked in order to
fix:
PR kern/60568: panic locking against myself (p->p_lock) in NFS from
sysctl_vmproc
No modules currently use proc_find_locked or proc_find_reflocked, so
[32 lines not shown]
Pull up following revision(s) (requested by riastradh in ticket #553):
sys/uvm/uvm_map.c: revision 1.432
sys/sys/proc.h: revision 1.374
sys/kern/kern_proc.c: revision 1.284
sys/kern/kern_proc.c: revision 1.285
sys/kern/kern_proc.c: revision 1.286
kern: New function proc_find_reflocked.
This is like proc_find_locked but returns with p_reflock held rather
than p_lock. Will be used to replace proc_find_locked in order to
fix:
PR kern/60568: panic locking against myself (p->p_lock) in NFS from
sysctl_vmproc
No modules currently use proc_find_locked or proc_find_reflocked, so
there should be no module ABI compatibility issues here.
[31 lines not shown]
p5-URI: update to 5.40.
5.40 2026-10-19 19:56:29Z
- URI->new no longer dies on malformed geo: URIs; the URI::geo accessors
croak instead (GH#201)
- Fix rel() returning an absolute-path or network-path reference
("/x", "//host/...") when a path has empty segments, so rel()->abs()
round-trips again (GH#205)
5.39 2026-10-19 16:38:21Z
- Reject over-long IDNA labels before punycode encoding or decoding, so
a long non-ASCII host no longer takes seconds to fail (GH#207) (Olaf
Alders)
5.38 2026-10-19 03:58:47Z
- Preserve leading and trailing whitespace in file:// URI paths built from
mac file names; URI::file::Mac supplies its own escaping and so was not
covered by the GH#95 fix (GH#95) (@youdie006)
- Treat a percent-escaped ';' in an smb:// userinfo as part of the
[5 lines not shown]
[GVN] Don't coerce forwarded byte values through integers (#226583)
GVN forwards a store to a load of a different type through an integer.
It casts the stored value to `iN`, then shifts and truncates it. For
byte values that cast is wrong, as it drops pointer provenance, and a
single `poison` bit makes the whole result `poison`.
Byte stores, and pointer stores that feed byte loads, no longer go
through an integer. GVN takes the loaded bits with `bitextract`,
bitcasting through `bN` where needed.
```llvm
store b32 %x, ptr %p
%v = load b8, ptr %q ; %q = %p + 1
```
```diff
-%1 = bitcast b32 %x to i32
-%2 = lshr i32 %1, 8
[17 lines not shown]
[InstSimplify] Simplify `bitinsert` and `bitextract` (#229125)
Simplify `bitinsert` and `bitextract` with non-constant operands.
- An out-of-range, `poison` or `undef` offset returns `poison`.
- A full-width byte `bitextract` or `bitinsert` at offset zero is a
no-op.
- Extracting the bits just inserted, at the same offset and type,
returns the inserted value.
- Reinserting byte bits extracted from the base, at the same offset,
returns the base.
```llvm
%a = bitextract b32, b32 %x, i32 0 ; %x
%b = bitinsert b32 %x, b32 %y, i32 0 ; %y
%c = bitextract ptr, b64 %w, i32 32 ; poison
%i = bitinsert b32 %x, i8 %z, i32 %n
%d = bitextract i8, b32 %i, i32 %n ; %z
[8 lines not shown]
Pull up following revision(s) (requested by riastradh in ticket #551):
sys/nfs/nfs_vnops.c: revision 1.328
sys/nfs/nfs_vnops.c: revision 1.329
nfs_vnops.c: Sort includes.
No functional change intended. Preparation for:
PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
nfs: Avoid UB in integer shift amounts.
Just use ilog2 explicitly here, instead of writing out a loop with
shifts and increments to compute it more slowly and buggily. Note
the confusing fencepost adjustment. Clamp _PC_FILESIZEBITS at the
actual size of off_t since we can't go beyond that.
PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
Revert "[AArch64][MacroFusion] Check register overlap in WAW check" (#234172)
This reverts commit 77be0679c76d6763f8d2b348a7555d75891e2c09.
Restricting WAW check back to exact match of same dest, as overlap
should not generally be the default and should not have an existing
user.
p5-Sereal: update to 5.011.
5.011
* Robustness fixes. Thanks to Steffen Mueller and kumar-Prakash07.
* Preserve zstd deprecation warnings when building with IBM XL C on AIX.
* Raise the minimum supported Perl version to 5.14.
* Fix the Sereal::Decoder prerequisite version in generated Sereal-Encoder
package metadata. See https://github.com/Sereal/Sereal/issues/317
snd_hda: Identify AMD Audio Coprocessor
This makes the driver attach, but the device is still not usable.
Reported by: Lukasz Wencki <lukasz at smail.net.pl>
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
devel/serie: update to 0.10.1
What's Changed
Insert virtual cursors without hiding search input by @lusingander in #194
Render graph lanes in explicit order by @lusingander in #196
powerpc: keep the VSX halves of the FPRs across back-to-back signals
grab_mcontext() only put the second halves of vs0-31 into the context
while the thread owned the VSX unit, but sigreturn(2) gives ownership
up so that the next use reloads the registers lazily. A signal that
arrives right after a sigreturn, like one the handler's mask was
holding back, got a context without them and its own sigreturn then
zeroed them in the PCB.
The halves saved in the PCB are current whenever the FP state is, since
VSX instructions can't run without PCB_VSX and save_fpu() stores them
in that case, so export them together with the FP registers.
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60754
(cherry picked from commit 64b2fea9a2f90c2cc6097ed2d69acbfeeb13058d)
(cherry picked from commit 0e9af9fb72884e77de79e37069a162e1563ca86b)
p5-Sereal-Encoder: update to 5.011.
5.011
* Robustness fixes. Thanks to Steffen Mueller and kumar-Prakash07.
* Preserve zstd deprecation warnings when building with IBM XL C on AIX.
* Raise the minimum supported Perl version to 5.14.
* Fix the Sereal::Decoder prerequisite version in generated package metadata.
See https://github.com/Sereal/Sereal/issues/317
[clangd] Make the --skip-preamble-build option take an enum (#229515)
Add a new value `never` allowing the preamble skipping to be
force-disabled, in addition to `modules` and `always`.
The default is `modules`, equivalent to the old behavior.
Closes #212403
p5-Sereal-Decoder: update to 5.011.
5.011
* Robustness fixes. Thanks to Steffen Mueller and kumar-Prakash07.
* Preserve zstd deprecation warnings when building with IBM XL C on AIX.
* Raise the minimum supported Perl version to 5.14.