drm/amdgpu: fix the error handling of amdgpu_vm_init_entities()
From Jesse Zhang
70fd726ff1da1dd42b3eeecf6bb077109c510d5e in linux-6.18.y/6.18.66
de0f2a6eabd019a3129025862bffca934a5d7180 in mainline linux
drm/amdkfd: skip GPUs without a VM when checkpointing the BO mappings
From Jesse Zhang
38398012ed59d54cbf8dbb3b7645f1700960f3d0 in linux-6.18.y/6.18.66
1a5ca15b558bf0e6621602c84e0a633d237dd052 in mainline linux
drm/amd/display: declare amdgpu_dm_atomic_state_template as an event class
From Melissa Wen
39db31551eb41760669bd5f45fd22351d563e21d in linux-6.18.y/6.18.66
6c4f8c5cc00326f6c709bff0d640d504c90862ca in mainline linux
drm/connector: hdmi: Handle reset() state allocation failure
From Cristian Ciocaltea
f97a85e71616c6c3460d913c66e44684a84df32e in linux-6.18.y/6.18.66
54acd0c74eba2a2c9a726856f5fdc6f9e74ea2e1 in mainline linux
drm/i915/display: Disable pipe joiner on WCL
From Vidya Srinivas
fd7923851298d60e1566f6a8579db099523c5124 in linux-6.18.y/6.18.66
b42b656db1384255044754cd2163d370d766b776 in mainline linux
drm/amd/pm: preserve committed OD features for SMU 13.0.0/13.0.7
From Kevin Wang
271dd7bb16d88c5ccaea1310f77ac0880acbfd3b in linux-6.18.y/6.18.66
6027db7db773714f2e05df82093276f2a52a1fba in mainline linux
drm/amd/pm: track BACO state in the SMU v11 ArmD3 sequence
From Mario Limonciello
c9431b06c8fe14e6f9155b275722dd4248c113bf in linux-6.18.y/6.18.66
a26ec190925733dd205507493e936e59dbcd2b19 in mainline linux
Pass MSI vector number when establishing MSI interrupts (but not MSI-X
interrupts) in order to support hardware that needs multiple MSI vectors
such as qwx(4) and qwz(4).
From Daniel Dickman
You're supposed to hold a reference already when taking another reference
to a UVM object. Add some KASSERTs to enforce this such that we can weed
out any offenders.
ok kirill@
lld/mips64: lazy binding
Emit .MIPS.stubs so ld.so can resolve imported functions on first call.
Keep eager binding for address-taken imports and calls through secondary
GOTs.
This based on almost finished visa@'s work
Limit TCP FIN_WAIT_2 state after close(2) to the idle timeout.
When the socket has no file descriptor anymore, the TCPT_2MSL timer
in FIN_WAIT_2 state was rearmed as long as the peer kept sending
segments. Empty ACKs within the idle timeout, 10 minutes by default,
could keep the connection alive forever. Without file descriptor
no data can be received anyway, so drop the connection when the
timer expires for the first time. Later segments from the peer are
answered with a reset.
from Acts1631; OK mvs@
pf(4): fix missing pf_state_key_unref()
Reported by Acts1631.
from jan@; OK henning@ sashan@
pf(4): pf_state_insert() should update stack side key
pf_state_insert() should treat stack side state key (sks) in the same way
as it treats wire side state key (skw). The call to pf_state_key_attach()
may replace the sks with key which is present already in state tree.
Issue noticed and reported by Acts-1631
from sashan@; OK henning@ bluhm@
this is errata/8.0/031_pfkeyunref.patch.sig
pf(4): fix missing pf_state_key_unref()
Reported by Acts1631.
from jan@; OK henning@ sashan@
pf(4): pf_state_insert() should update stack side key
pf_state_insert() should treat stack side state key (sks) in the same way
as it treats wire side state key (skw). The call to pf_state_key_attach()
may replace the sks with key which is present already in state tree.
Issue noticed and reported by Acts-1631
from sashan@; OK henning@ bluhm@
this is errata/7.9/065_pfkeyunref.patch.sig
Use ulmin(9) instead min(9) to prevent integer truncation with potential
bad consequences. From Acts1631.
from kettenis@; OK miod@ mvs@
this is errata/8.0/030_uvmiomin.patch.sig
Use ulmin(9) instead min(9) to prevent integer truncation with potential
bad consequences. From Acts1631.
from kettenis@; OK miod@ mvs@
this is errata/7.9/064_uvmiomin.patch.sig
Fix FIN_WAIT_2 timeout of closed TCP sockets.
During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer. As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes. A peer that never sends
its FIN can exhaust kernel resources this way. Restore the old
behaviour.
from Acts1631
from bluhm@; OK mvs@
this is errata/8.0/029_tcpfinwait.patch.sig
Fix FIN_WAIT_2 timeout of closed TCP sockets.
During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer. As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes. A peer that never sends
its FIN can exhaust kernel resources this way. Restore the old
behaviour.
from Acts1631
from bluhm@; OK mvs@
this is errata/7.9/063_tcpfinwait.patch.sig
Limit TCP reassembly list walks.
To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
queue length. The segment at rcv_nxt is still accepted, so the
missing data can drain a full queue. Large windows on a high
bandwidth connection may hit a strict 100 segment maximum in
legitimate cases, so also make the limit depend on the socket buffer
size.
from Acts1631
from bluhm@; OK claudio@
this is errata/8.0/028_tcpqlen.patch.sig
Recalulate the TCP SACK list after memory exhaustion.
Acts1631 found that tcp(4) can advertise SACK blocks for data that
it has discarded when the global TCP reassembly pool is exhausted.
This can make a sender omit missing data from fast recovery and
wait for its retransmission timer.
This commit clears the receiver SACK report whenever the reassembly
allocation fails, before either path can discard queued data. It
also returns -1 when the new input segment itself is discarded.
The caller maps that value back to zero TCP flags but does not add
the discarded range to the SACK report. On the reuse path, the
accepted current segment is still passed to tcp_update_sack_list(),
after the stale report has been cleared.
from Acts1631
from bluhm@; discussed with claudio@ tb@
Limit TCP reassembly list walks.
To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
queue length. The segment at rcv_nxt is still accepted, so the
missing data can drain a full queue. Large windows on a high
[7 lines not shown]
Fix NULL dereferences in sppp authentication.
From acts1631
from yasuoka@; OK mvs@ bket@
Comply with 6.2 of RFC 1661 in sppp(4)
The option length field is p[1] and is required to be >= 4.
from gnezdo@; OK jsg@ yasuoka@
this is errata/8.0/027_sppp.patch.sig
sppp_pap_input(): do not compare credentials if the lengths of received
ones is not the same of configured.
from mvs@; OK renaud@ bluhm@
Fix NULL dereferences in sppp authentication.
From acts1631
from yasuoka@; OK mvs@ bket@
Comply with 6.2 of RFC 1661 in sppp(4)
The option length field is p[1] and is required to be >= 4.
from gnezdo@; OK jsg@ yasuoka@
this is errata/7.9/061_sppp.patch.sig