IABSD.fr/src/sys

Branch :


Log

Author Commit Date CI Message
c05afcd0 2025-02-17 13:28:26 Disable pagefault handling when unwinding userland stack. When collecting userland stacktraces with dt(4), the probe may run in an interrupt routine at IPL_VM or higher. Resolving pagefaults in this case might result in panic or corrupt UVM data structures. Userland stack frames cannot be trusted, a bogus frame pointer may force us into a page fault. From Christian Ludwig, ok kettenis@
d4b87b93 2025-02-17 13:10:56 regen
4541be0b 2025-02-17 13:10:27 Push KERNEL_LOCK() inside __realpath(2). ok semarie@, tb@
7a23ec91 2025-02-17 12:46:02 Toeplitz hash for UDP and IPv6 TCP output. IPv4 TCP output uses the toeplitz hash as flow id. It is calculated in in_pcbconnect() and can be used for all connected sockets. Add it for UDP and TCP IPv6, too. As pf calculates its own hash, this affects only setups with pf disabled. It gives an improvement in traffic distribution over the queues and 20% performance increase with UDP send on v4/v6 and TCP send on v6 without pf. tested and OK sf@
257f1919 2025-02-17 12:16:20 Revert "drm/amd/display: Fix green screen issue after suspend" From Rodrigo Siqueira c963ef1840a09cc19e52cce3f2f9d962a2a5092d in linux-6.12.y/6.12.14 04d6273faed083e619fc39a738ab0372b6a4db20 in mainline linux
7ff55e83 2025-02-17 12:13:03 drm/amd/display: Fix seamless boot sequence From Lo-an Chen 7173b70df472813095bedce5798a1cb79c0ba579 in linux-6.12.y/6.12.14 e01f07cb92513ca4b9b219ab9caa34d607bc1e2d in mainline linux
d697aa04 2025-02-17 12:09:42 drm/amdgpu: add a BO metadata flag to disable write compression for Vulkan From Marek Olsak 20a57f68db1b7e8de97acd1f04bb697f3c6ad589 in linux-6.12.y/6.12.14 2255b40cacc2e5ef1b127770fc1808c60de4a2fc in mainline linux
d6f42f09 2025-02-17 12:05:55 drm/i915: Drop 64bpp YUV formats from ICL+ SDR planes From Ville Syrjala 4b1d3186284ff015b90fa838e663e300ab163153 in linux-6.12.y/6.12.14 c7b49506b3ba7a62335e6f666a43f67d5cd9fd1e in mainline linux
6791f72f 2025-02-17 12:03:34 drm/i915/dp: Iterate DSC BPP from high to low on all platforms From Jani Nikula c842f22fc26eef56cc3f594f18f8af5d36e0ffa7 in linux-6.12.y/6.12.14 230b19bc2bcc5897d0e20b4ce7e9790a469a2db0 in mainline linux
7dfd7741 2025-02-17 12:01:28 drm/i915: Fix page cleanup on DMA remap failure From Brian Geffon 2708a151e0e9943e90a36ebec36103586c41c424 in linux-6.12.y/6.12.14 fa6182c8b13ebfdc70ebdc09161a70dd8131f3b1 in mainline linux
d93ced68 2025-02-17 11:59:27 drm/i915/guc: Debug print LRC state entries only if the context is pinned From Daniele Ceraolo Spurio 5775ef49d792e55756aa9cfbad684fc887fb1520 in linux-6.12.y/6.12.14 57965269896313e1629a518d3971ad55f599b792 in mainline linux
693a9725 2025-02-17 11:57:32 Revert "drm/amd/display: Use HW lock mgr for PSR1" From Tom Chung 95c75578c420110c43791295985abb961d6dc033 in linux-6.12.y/6.12.14 f245b400a223a71d6d5f4c72a2cb9b573a7fc2b6 in mainline linux
2bc1d348 2025-02-17 11:55:38 drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1 From Jay Cornwall 4d23b42a45dcff725dc8be8c41aa4712241dd764 in linux-6.12.y/6.12.14 f214b7beb00621b983e67ce97477afc3ab4b38f4 in mainline linux
d7d82365 2025-02-17 11:54:05 drm/amdkfd: only flush the validate MES contex From Prike Liang 89dcc75d517208bae58ac15fd97a56721a529ade in linux-6.12.y/6.12.14 9078a5bfa21e78ae68b6d7c365d1b92f26720c55 in mainline linux
4e63db5a 2025-02-17 11:52:37 drm/amd/amdgpu: change the config of cgcg on gfx12 From Kenneth Feng 7e207a094ee69b2368a4c1d11c1863f7134945a4 in linux-6.12.y/6.12.14 5cda56bd86c455341087dca29c65dc7c87f84340 in mainline linux
9af075f5 2025-02-17 11:51:24 drm/amd/pm: Mark MM activity as unsupported From Lijo Lazar 721a493fa2a5e9937f3cf4069a9dd3b423b19d5a in linux-6.12.y/6.12.14 819bf6662b93a5a8b0c396d2c7e7fab6264c9808 in mainline linux
7035daaf 2025-02-17 11:50:06 drm/amd/display: Optimize cursor position updates From Aric Cyr 3ec8e3dab60c3e556bf542f9cda40d9d54b12c7b in linux-6.12.y/6.12.14 024771f3fb75dc817e9429d5763f1a6eb84b6f21 in mainline linux
824a42de 2025-02-17 11:48:00 drm/client: Handle tiled displays better From Maarten Lankhorst ac7b5f3e4d5beeb0e59ec75c4a6055110a46fb29 in linux-6.12.y/6.12.14 10026f536843eb8c9148ef6ffb4c6deeebc26838 in mainline linux
5c428613 2025-02-17 11:45:36 drm/modeset: Handle tiled displays in pan_display_atomic. From Maarten Lankhorst b865c6a6178b0828aca62b8fe736f24f04d912f3 in linux-6.12.y/6.12.14 f4a9dd57e549a17a7dac1c1defec26abd7e5c2d4 in mainline linux
287a0281 2025-02-17 11:43:45 drm/i915/dp: fix the Adaptive sync Operation mode for SDP From Ankit Nautiyal 4c6ed049bc4ed907345dc6aa3a33e066569e0853 in linux-6.12.y/6.12.14 4466302262b38f5e6c65325035b4036a42efc934 in mainline linux
f12786ce 2025-02-17 11:42:03 drm/amdgpu: Fix Circular Locking Dependency in AMDGPU GFX Isolation From Srinivasan Shanmugam 4e144498d16baa1be26e7ba8837483697a583900 in linux-6.12.y/6.12.14 1e8c193f8ca7ab7dff4f4747b45a55dca23c00f4 in mainline linux
e8ee1e2e 2025-02-17 11:39:53 drm/amd/display: Limit Scaling Ratio on DCN3.01 From Gabe Teeger d1544dc32c67c80b9e3512fa4e187931be1a9e8c in linux-6.12.y/6.12.14 abc0ad6d08440761b199988c329ad7ac83f41c9b in mainline linux
b47c1b83 2025-02-17 11:38:13 drm/amdkfd: Queue interrupt work to different CPU From Philip Yang d76dc02531a610b3f7c2e3262b14137137787e0e in linux-6.12.y/6.12.14 34db5a32617d102e8042151bb87590e43c97132e in mainline linux
70ae38f9 2025-02-17 11:36:52 drm/amdgpu: Don't enable sdma 4.4.5 CTXEMPTY interrupt From Philip Yang 9f952450337502ca3f20c29599b8bfb14327e6ec in linux-6.12.y/6.12.14 b4b7271e5ca95b581f2fcc4ae852c4079215e92d in mainline linux
fdc47235 2025-02-17 11:35:02 drm/amd/display: Fix Mode Cutoff in DSC Passthrough to DP2.1 Monitor From Fangzhi Zuo b79eaf9b86a8789f15a2ed05c6ffe2b4e5e35aea in linux-6.12.y/6.12.14 e56ad45e991128bf4db160b75a1d9f647a341d8f in mainline linux
cc0343a4 2025-02-17 11:31:01 drm/radeon: use eld_mutex to protect access to connector->eld From Dmitry Baryshkov 1cd3e56a07acd34cc389d490a259ad2a1dd6f282 in linux-6.12.y/6.12.14 b54c14f82428c8a602392d4cae1958a71a578132 in mainline linux
6b94d9b3 2025-02-17 11:28:23 drm/amd/display: use eld_mutex to protect access to connector->eld From Dmitry Baryshkov cd604e8e993cd6f6e8aab0a8d23052885de60472 in linux-6.12.y/6.12.14 819bee01eea06282d7bda17d46caf29cae4f6d84 in mainline linux
04766a0e 2025-02-17 11:26:39 drm/connector: add mutex to protect ELD from concurrent access From Dmitry Baryshkov b006aadf72f933770a6d66bc0985c77417f6b4e4 in linux-6.12.y/6.12.14 df7c8e3dde37a9d81c0613285b43600f3cc70f34 in mainline linux
107bc997 2025-02-17 11:21:59 drm/amd/display: Overwriting dualDPP UBF values before usage From Ausef Yousof 0412bca906d598b0a60c0da837dadb036a95db84 in linux-6.12.y/6.12.14 24909d9ec7c3afa8da2f3c9afa312e7a4a61f250 in mainline linux
e71392c7 2025-02-17 11:19:51 drm/amd/display: Populate chroma prefetch parameters, DET buffer fix From Ausef Yousof d25d5eb35905ade48b2ca657f30ea9b2e5804141 in linux-6.12.y/6.12.14 70fec46519fca859aa209f5f02e7e0a0123aca4a in mainline linux
d2d65dd8 2025-02-17 11:16:52 drm: Add panel backlight quirks From Thomas Weissschuh c5842f1dade0c2899e14f2f9d7de7103dbf1d678 in linux-6.12.y/6.12.14 22e5c7ae12145af13785e3ff138395d5b1a22116 in mainline linux
a10b347c 2025-02-17 10:16:05 Use ps_mtx to lock the child process that is being checked by dowait6. The checks of the various ps_flags field is all but atomic so we need to lock the process before doing all these checks. Only that way a reliable result is seen. It also ensures that the child process did finish the transition before signaling up to the parent.
9151e582 2025-02-17 10:07:10 Make wakeup of parent process in dowait6 reliable even without kernel lock. Currently dowait6 uses tsleep to wait for an event to report back to wait4(2). This only works correctly if all wakeups also use the kernel lock. Instead of this use an atomic flag to indicate if a process has pending wait events and use sleep_setup()/sleep_finish() to reliably enter sleep without losing a wakeup. dowait6 clears the PS_WAITEVENT flag at the start of its loop over all child processes and if at the end of the loop the flag is still unset the thread goes to sleep. Before all wakeups the PS_WAITEVENT flag is now set so that dowait6 knows that more work is pending and restarts the scan loop. This is needed since more and more code is unlocked and we end up missing wakeups which results in hanging processes.
2f5a0aea 2025-02-17 08:56:33 Get rid of unused `so' argument in sbreserve(). ok bluhm
edfe48e7 2025-02-17 08:39:50 Reorder <sys/socketvar.h> by moving inline functions to the end. ok bluhm
4df8ba73 2025-02-17 05:00:06 reduce diff to linux
ae0be371 2025-02-16 16:05:07 Use shared socket lock for NFS. The socket functions that are called by NFS code are MP safe. Shared net lock together with socket lock is sufficient. OK mvs@
c48feb94 2025-02-16 13:07:08 Argument order fix for m_gethdr ok martijn@ claudio@ bluhm@
3411e7e2 2025-02-16 11:39:28 Revert SMR protection of rt_gwroute. Using a smr_barrier() in rt_putgwroute() slows down adding routes. This is the hot path for BGP router. Syncing the FIB is now taking ages and the system is close to unrespnsive in that time. found by claudio@
c129e66c 2025-02-16 10:11:37 Add support for reading eeprom pages for the few cards with SFP slots. ok dlg@
96ec60f5 2025-02-15 21:49:28 Fail hard with mutex assertion if socket buffer is not locked. OK mvs@
a1e112ca 2025-02-15 11:55:17 call intel_fbdev_invalidate() at the end of intelfb_create() Avoids a problem seen with the (Alder Lake) Framework 13 after the 6.12 drm update. Userland console output did not display without switching to a virtual terminal and back. Not all Alder Lake machines, T14 Gen 3 Intel worked as expected before this change. reported and tested by matthieu@
5c4be1f5 2025-02-15 09:05:15 sys/uvideo: clarify bulk endpoint stream closure UVC does not specify how to notify a bulk-based device when the video stream stops. Both Linux and Windows send a CLEAR_FEATURE(HALT) request to the video streaming bulk endpoint. OK: mglocker@
8d246409 2025-02-14 18:42:43 It is important that we map memory with the right attributes otherwise we may trigger an SError. The crashlog entries for the SMC live in SRAM which needs to be mapped as device memory. To make this possible, make the rk_logmap() rtkit callback function return the desired memory attributes in the low bits of the address, using PMAP_NOCACHE or PMAP_DEVICE defines. Rewrite the DCP implementation of rk_logmap() to do a better job ati determining the correct mapping. The current code would fail in some cases (i.e. on the M1 Pro MacBook Pro) and map some unused address as normal non-cachable which could also trigger an SError. ok jca@
4a7354f2 2025-02-14 18:36:04 Add support for device mappings in pmap_kenter_pa(9) the same way we handle those in pmap_enter(9). ok jca@
e8902928 2025-02-14 13:29:00 Add the kern.audio.kbdcontrol sysctl(2) variable If set to 0, the volume keys on multimedia keyboards are handled as regular keys, allowing programs to use them. The default is 1, i.e. the current behavior. ok armani, kettenis, mvs
51442b8a 2025-02-14 13:14:13 add tunneldf support to sec(4) sec(4) is a very thin wrapper around the existing ipsec output processing for encapsulating packets, and inherited the behaviour that the DF flag was propagated from the encapsulated packet to the outer ip header. this means if the sec(4) interface has a large mtu and is carrying packets with DF set over a network that can't transport large(r) packets, these packets are effectively dropped. ipsec applied via the SPD copes with this by having SAs figure out the path mtu and using that when applying policy, but sec(4) is an interface, so the network stack uses the interface mtu rather than the associated SA path mtu. rfc4459 discusses this kind of problem has offers a variety of solutions. this implements one of the simpler options, which is to allow the tunnel endpoints to manage the DF regardless of the payload and reassemble the encapsulated packets. to actually do this, ipsec output packet processing has to be able to take an argument that says how you want DF to be handled. in the future we're going to look at how we can use the path mtu determined by the ipsec SA to try and implement one of the other solutions from the RFC, which is to signal the lower mtu to the sources of tunnelled packets. tested by and ok claudio@
c33cf9b0 2025-02-14 04:56:26 Enable mtrng(4). ok kettenis@
e04b0fdd 2025-02-14 03:11:05 Add mtrng(4), supporting the 32-bit random number generator on MediaTek SoCs. ok kettenis@
dddbedba 2025-02-13 21:01:34 Fix route entry race when accessing rt_gwroute. Kassert in rt_getll() was triggered as rt_gwroute could be NULL. Problem was introduced by shared netlock around tcp_timer_rexmt(). PMTU discovery calls rtrequest_delete() which was missing proper locking around rt_gwroute. As rt_getll() is called by ARP and ND6 resolve in the hot path, use SMR to provide the pointer to rt_gwroute lockless. Reference count of the returned route is incremented, caller has to free it. Modifying rt_gwroute or rt_cachecnt in rt_putgwroute() is protected by per route lock. OK mvs@
88a67239 2025-02-13 19:54:44 Remove leftover code from a previous iteration of this and which should have been removed before committing this in the first place.
9470f526 2025-02-13 14:44:33 Get rid of unused `so' argument in sbrelease(). No functional changes. ok bluhm
babf29f6 2025-02-13 12:39:15 Remove socket lock from soo_ioctl(FIOASYNC). The socket buffer flags are protected by socket buffer mutex. Neither socket lock nor net lock are needed anymore. OK mvs@
44a9493f 2025-02-12 21:41:53 Use shared net lock in sysctl fill file. The macro FILLINPTABLE() already uses shared net lock for fill_file(). The FILLIT() sysctls should do the same instead of grabbing exclusive net lock. OK mvs@
bd92615b 2025-02-12 21:28:10 Use socket lock for inpcb notify. The notify and ctlinput functions were not MP safe. They need socket lock which can be aquired by in_pcbsolock_ref(). Of course in_pcbnotifyall() has to be called without holding a socket lock. Rename in_rtchange() to in_pcbrtchange(). This is the correct namespace and the functions take care of the inpcb route. OK mvs@
eb8501b6 2025-02-12 20:18:31 Fix ddb machine sysregs stack overflow. In 64-bit mode, the operand size of SIDT and SGDT instructions is 8+2 bytes. On amd64 ddb command 'machine sysregs' reserved only int64_t, resulting in a stack overflow. Use struct region_descriptor which has the correct memory layout for IDTR and GDTR. Allow to call db_sysregs_cmd() also with single processor kernel. from Sebastian Sturm; OK deraadt@ miod@
99f2f888 2025-02-12 14:11:26 Changes to the per-process unveil datastructures can be raced by either pledge() [removing all path promises] or unveil() [adding new paths], against namei() inspecting in other thread system calls. Detailed locking for this would make future work on vfs unlocking difficult, so use the simplest way for now: SINGLE_UNWIND ok claudio
705b70e0 2025-02-11 22:27:09 Implement support for SVE (Scalable Vector Extension) on arm64. ok patrick@
10a2be2b 2025-02-11 16:22:37 Fix stupid bug in previous (handle _CID being a Package type)
d47bdb84 2025-02-11 14:58:11 Keep the new p_pledge field struct proc in sync upon execve(2). Regression caught by regress/sys/kern/pledge/execpromise. ok deraadt@
3d82e387 2025-02-11 12:55:05 bring back local change to disable panel self refresh should re-resolve display issues on Dell XPS 13 7390 reported by James Cook on bugs@
06a6b4fa 2025-02-11 12:07:26 Handle _CID being a Package type, in which case we'll use the first item in the Package as the cid value to match against. This will allow pckbc@acpi to match on some chromebooks. ok kettenis@
e0b0180b 2025-02-11 07:54:52 define CONFIG_FRAMEBUFFER_CONSOLE used in inteldrm when deciding if an fb is too big for stolen memory
8d506a4c 2025-02-11 05:18:02 make totalram_pages() return long needed as callers shift the result left by PAGE_SHIFT without casting
e79a733a 2025-02-11 03:54:20 avoid %pR format strings in intel_memory_regions_hw_probe() debug
ebbd7b19 2025-02-10 20:40:26 Fix pasto. Spotted by FUKAUMI Naoki.
e68d79e3 2025-02-10 16:45:46 A syzkaller report was diagnosed by semarie, and found a namei-related sleeping system call which was re-inspecting p->p_p->ps_pledge in one thread, after another thread had reduced the promises by calling pledge(), with promises which would have prevented that syscall from being called in the first place. This inconsistant promise view is dangerous. So let's change pledge semantics a tiny bit: We copy the per-process p_p->ps_pledge value to per-thread p_pledge at invocation of each system call, so that the configuration is stable. This method avoids increasing the cost of pledge checks. ok claudio kettenis semarie
ba453f40 2025-02-10 15:06:57 Fix TCP maximum segment size with IPsec. When IPsec is used, if_get(m->m_pkthdr.ph_ifidx) returns enc0. Its if_mtu is 0 which results in negative mss. After fixing a signed integer comparison bug with imax(), tcp_mss_adv() used mssdflt, which is 512. So the TCP SYN cache sent packets with a small maximum TCP segment number. The underlying problem is, that SYN cache used the incoming interface m->m_pkthdr.ph_ifidx for the outgoing MTU. The correct way is to use the route of the destination address like tcp_mss() does it. The SYN cache has a struct route which can be used. An additional route lookup does not happen as the route is cached and will be reused by ip_output(). OK mvs@
719e8131 2025-02-10 11:41:19 Although one would expect systems emulating the legacy PS/2 keyboard controller to do this faithfully, there are more and more systems which use creative interrupt configurations differing from the ISA defaults, and cause pckbc@isa to not behave correctly, making these keyboards (and sometimes trackpads, too) unusable. This commit introduces a pckbc@acpi attachment, which will attach instead of pckbc@isa if it detects an interrupt configuration which would not be handled correctly by the isa attachment. This unbreaks, among other things, the keyboards in various ChromeBook. ok kettenis@, thanks to everyone who tested.
4f6ac763 2025-02-10 09:42:09 avoid %pV %ps format strings in __drm_dev_vprintk()
170d0829 2025-02-10 09:28:00 stop printing pid and calling function in dev_printk()
0ebf3621 2025-02-10 01:51:11 drm/amd/display: Add hubp cache reset when powergating From Aric Cyr 8eb4d51b44c7f79e27bef8dbb4f1f068c10396f4 in linux-6.12.y/6.12.13 01130f5260e5868fb6b15ab8c00dbc894139f48e in mainline linux
e26ddf00 2025-02-10 01:48:29 drm/amd/display: Reduce accessing remote DPCD overhead From Wayne Lin f488b53b54435f9ac5fe897b0e483a91240ee5f4 in linux-6.12.y/6.12.13 adb4998f4928a17d91be054218a902ba9f8c1f93 in mainline linux
a664c55f 2025-02-10 01:44:13 drm/amdgpu: fix gpu recovery disable with per queue reset From Jonathan Kim d9cc477e77c622f3b595c62b1f37563c7d641214 in linux-6.12.y/6.12.13 86bde64cb7957be393f84e5d35fb8dfc91e4ae7e in mainline linux
9ab9d937 2025-02-10 01:42:40 Revert "drm/amdgpu/gfx9: put queue resets behind a debug option" From Alex Deucher fd3ea4d5493f4907d9e1f2834dcd3742ab158446 in linux-6.12.y/6.12.13 32f00289698189b813942f37626218fd473e7302 in mainline linux
00fe0701 2025-02-10 01:40:19 drm/amdgpu: tear down ttm range manager for doorbell in amdgpu_ttm_fini() From Jiang Liu 495497c6e7f7a175f6f28b733408eff834a31e13 in linux-6.12.y/6.12.13 60a2c0c12b644450e420ffc42291d1eb248bacb7 in mainline linux
12a4c494 2025-02-10 01:38:56 drm/amdgpu/vcn: reset fw_shared under SRIOV From Bokun Zhang 833b813b7fdab90220a0938953586ed3a87d7076 in linux-6.12.y/6.12.13 3676f37a88432132bcff55a17dc48911239b6d98 in mainline linux
f9813dd0 2025-02-10 01:37:28 drm/connector: Allow clearing HDMI infoframes From Derek Foreman 4128fb6a69bf3bf8032bfdeb0cc6919b80a428b2 in linux-6.12.y/6.12.13 d34357743b360c99903b5a59daab08f55b2f41a1 in mainline linux
30cdf4b4 2025-02-10 01:35:22 drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table From Ivan Stepchenko 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb in linux-6.12.y/6.12.13 357445e28ff004d7f10967aa93ddb4bffa5c3688 in mainline linux
9b0ca61c 2025-02-10 01:32:56 drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config() From Christophe JAILLET e656f04ecd52c63cb4ced21bb933d327dd547aa2 in linux-6.12.y/6.12.13 a3300782d5375e280ba7040f323d01960bfe3396 in mainline linux
6021acf1 2025-02-09 12:14:13 Factor out the logic on how to stop a process from single_tread_set() into process_stop(). This logic will be used by the signal stop code soon. OK mpi@
3b1132f5 2025-02-07 22:05:15 Print RAS and SVE CPU features. ok tb@, mglocker@
d3bc0aaa 2025-02-07 13:37:11 whitespace
4ce92a75 2025-02-07 11:57:17 reduce the diff to linux
618e8819 2025-02-07 08:59:10 correctly return cpu MHz
b84f2d11 2025-02-07 08:54:36 reduce the diff to linux
4a32f16c 2025-02-07 03:03:08 update drm to linux 6.12.12 new hardware support includes: Intel Arrow Lake (ARL) AMD GC 11.5.0, DCN 3.5.0, APU, Ryzen AI 300, Strix Point GC 11.5.1, DCN 3.5.1, APU GC 11.5.2, DCN 3.5.1, APU GC 12.0.0, DCN 4.0.1, dGPU GC 12.0.1, DCN 4.0.1, dGPU Thanks to the OpenBSD Foundation for sponsoring this work.
1a5460a4 2025-02-06 23:53:55 Never install path MTU routes for IPsec transport mode SAs. Prevent installation of PMTU-routes for transport mode ESP-SAs in both cases when ip_output_ipsec_pmtu_update() gets called. from markus@
ea68d214 2025-02-06 13:40:57 Call pru_attach() with shared solock() within socreate(). The internal internet attach functions look MP safe. Do external unlocking and release within error path because sofree() relies on exclusive solock(). ok bluhm
e489f29b 2025-02-06 13:39:31 Get rid of unused `so' argument in sbflush(). No functional changes. ok bluhm
3dd691bf 2025-02-06 13:15:50 sys/uvideo: add quriks for Elgato Game Capture HD60 S+ and similar devices Feedback and OK: mglocker@
5f6a835c 2025-02-06 13:14:33 Regen
ff62bf96 2025-02-06 13:13:25 sys/usbdevs: add Elgato Game Capture HD60 S+, to be used in quirks
910ed27a 2025-02-05 18:29:17 Limit net.bpf.maxbufsize sysctl(8) to a value that malloc(9) can handle. Introduce MALLOC_MAX definition to keep this value in sync and use it system wide. Reported-by: syzbot+3b7e5274349f7165bf5f@syzkaller.appspotmail.com ok claudio bluhm
52d5bc93 2025-02-05 12:21:27 Rename single_thread_check() to proc_suspend_check() since this function will be used to suspend threads both for single thread and SIGSTOP handling. OK mpi@
bb9a215c 2025-02-05 11:03:36 Cleanup error reporting in the case the temperature can't be read. There really is no point calling acpitz_gettempreading() immediately again as it already retries reading the temperature a few times. Also fixup the way newlines are printed such that they show up at the right point. ok miod@
8c2fa8a9 2025-02-05 10:15:10 Fix race in inpcb mutex to socket lock conversion. Testing parallel TCP input revealed a race in in_pcbsolock_ref(). The mutex inp_sofree_mtx is used to reliably get the socket from the incpb and refcount it. Then the socket lock is used to prevent further calls to in_pcbdetach() or sofree(). But between releasing the inpcb mutex and acquiring the socket lock, the inpcb could detach. So when holding the socket lock reassure that the inpcb is still associated by the socket. Otherwise locking the socket belonging to the inpcb has failed. OK mvs@
fa0a42cd 2025-02-05 09:28:01 restrict scanned channels appropriately if qwx(4) runs in a fixed phy mode Previously, ifconfig mode commands had no useful effect. The device would connect to 2GHz APs while configured to run in 11a mode, and vice-versa. tests & ok kevlo@ patrick@
43cb6f98 2025-02-05 08:28:25 Rework filt_sor{modify,process}(). Split them by filt_sor*() and filt_soe*() functions for `soread_filtops' and `soexcept_filtops' respectively. The filt_soexcept() path is like filt_sowrite() and the `sb_mtx' serialization is pretty enough, but filt_soread() is more complicated for the connection oriented sockets. It is not yet clean is the concurrent SO_ACCEPTCONN transition safe for select(2) and poll(2), so keep socket lock together with `sb_mtx' lock for that case. Get rid of sofilt_*lock() functions. They were temporary made to take `sb_mtx' mutex with shared netlock for inet sockets case or with socket lock for other cases. Now shared netlock is not enough and should be taken together with `so_lock' rwlock. We have special solock_shared() function for that purpose, so use it directly in corresponding filt_sor*() handlers. Tested by bluhm, additional arm64 tests by kirill. ok kirill bluhm
b958e78d 2025-02-04 09:15:04 back out 'fix wrong ifmedia check in intel wifi drivers'; change was wrong The reverted commit's message was: IFM_AUTO is a media sub-type, not a media mode. Should fix issues where only a subset of channels were scanned. While IFM_AUTO is indeed in the IFM_SUBTYPE range of the ifmedia word, what these checks were really trying to find out is whether any bits in the IFM_MODE range are set. Those bits indicate whether userland has fixed the phy mode to 11a/11b/11g etc. And because IFM_AUTO is zero this check works as intended, even though comparing IFM_MODE range values to a value declared in the IFM_SUBTYPE range is questionable coding style. Found while diagnosing an issue where qwx(4) is not honoring a fixed mode (e.g. it uses 11g APs while fixed to 11a mode). Patch for that is upcoming. Any issues with intel wifi drivers not scanning the correct subset of channels will need to be fixed elsewhere.