disable dynamic power gating on Panther Lake and later
described in Intel changes as known to cause hangs
tested on 0x57b3 / E1000_DEV_ID_PCH_PTP_I219_LM25
partly from Intel's DPDK driver
ok jmatthew@
change K1 exit timeout on Meteor Lake and later
without this my Panther Lake machine could not receive non-broadcast packets
tested on 0x57b3 / E1000_DEV_ID_PCH_PTP_I219_LM25 and
0x550b / E1000_DEV_ID_PCH_MTP_I219_V18
partly from Intel's DPDK driver
ok jmatthew@
match Panther Lake and Wildcat Lake
tested on 0x57b3 / E1000_DEV_ID_PCH_PTP_I219_LM25
needs workarounds coming in another commit to be useable
ok jmatthew@
fq_codel: fix CoDel drop scheduling
Use drops - 1 as the codel_intervals index; the table starts at interval
/ sqrt(1) while cd->drops is one-based. Assert non-zero.
Exclude the candidate packet from the non-starvation backlog check; the
decision is about the backlog remaining after dequeue.
Enter dropping when now equals cd->start, not only when it exceeds it.
OK sashan@
revert 'drm/amd/display: Fix backlight max_brightness to match exported range'
jmc@ reports this 6.18.42 change caused a very dim display on boot and with
display.brightness values of 97-100 on a Dell Inspiron 5505
it looks like this patch will be reverted in linux stable branches
https://gitlab.freedesktop.org/drm/amd/-/work_items/5562
relayd: remove dead backup flag and token
The idea behind it was good, but it was never fully and properly implemented.
It's better to remove it before reimplementing the concept from scratch
and doing it right. Reading the man page makes it a little easier.
OK kirill@
relayd: check proc_compose return values
Fatal on config, setup, and startup imsg send failures. Inconsistent
state means we can't recover.
Warn on per-request responses and sync messages. A single dropped
message shouldn't kill the whole process.
OK kirill@
Protect the IPsec TDB replay counter with mutex.
Put all tdb_rpl read, write and increment under tdb_mtx. Although
shared net lock and kernel lock should be enough for now, we want
to move towards fine grained locking. Mark tdb_rpl and tdb_seen
as MP safe.
The wrap-around check in ah_output() is not atomic with the increment
code and would not work. As tdb_rpl is 64 bit nowadays, it cannot
warp. Better remove the useless tdb_rpl == 0 check than making it
MP safe.
OK deraadt@
change the fourth argument of quotactl() from char* to void*
Depending on the quota control command, the fourth argument is a
filename, a pointer to struct, or it is ignored. This change brings
us back in sync with FreeBSD and NetBSD, who already changed the
type in the previous century.
ok deraadt@ tb@
uvm: avoid reading am_hashshift out of a small amap
UVM_AMAP_BUCKET() violates memory correctness if UVM_AMAP_SMALL().
It reads am_hashshift in the union's ami_normal arm at offset 80,
past the end of an 80-byte amappl1 item.
Found by KASAN once free pool items were poisoned end to end.
ok kettenis@
Fix three instances of a grammar error where "practise" (the British
English verb) was used incorrectly in place of "practice" (the noun).
Reported by Nathan <nluuirl at gmail.com>.
Update libexpat to version 2.8.3.
Relevant for OpenBSD are bug fixes #1297 #1300 #1286 #1305 #1306,
other changes #1303. Library bump is not necessary. CVE-2026-72522
OK deraadt@ tb@
libsndio: On the wire, identify MIDI ports by names instead of indices
This makes handling of all type of MIDI ports and audio devices
roughtly the same, which is simpler. The old scheme is still accepted by
the server for compatibility with old libraries.
libsndio: Delete support of "snd/0.foo" device syntax
Support for such syntax was dropped around 5 years ago, but the
corresponding code was forgotten.