1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

Commit Graph

  • 6f139a5bd7 sys/qwz: fixed some missmatched against ATH12k kirill 2026-04-12 19:52:23 +00:00
  • 2405f80201 Prepare for rpki-client 9.8 job 2026-04-12 18:31:16 +00:00
  • 4ec71eecce Fix a memory leak on configuration reload, and incorrect termination when a sensor fails to read. From James J. Lippard ok tb deraadt 2026-04-12 13:29:46 +00:00
  • 9170fc1ddc Fix possible reace in ipi_drop_fpstate() claudio 2026-04-12 13:22:16 +00:00
  • 782aef866e Initialize all FPU registers to all 1 (or -NaN) not only the lower 32. claudio 2026-04-12 13:17:39 +00:00
  • ede3ecc295 remove unneeded escape; \0\10GB -> \010GB jsg 2026-04-12 12:48:14 +00:00
  • 29983de338 remove whitespace at eol jsg 2026-04-12 12:35:06 +00:00
  • 39f3579e92 add back leading . required for roff comments jsg 2026-04-12 09:40:30 +00:00
  • 303c0c333b remove .Bf matching .Ef removed in previous; fixes unintended bold jsg 2026-04-12 09:31:01 +00:00
  • 77cd70bfd8 sort SEE ALSO jsg 2026-04-12 09:17:04 +00:00
  • ae871810a2 SNTPMIC -> SMTPMIC jsg 2026-04-12 09:10:03 +00:00
  • f271b85bdd The pfsync manual page has no mention about safety of this protocol. Furthermore there are no configuration options for "key negotation", so we believe everyone knows to run this on a dedicated wire or on L2 inside some sort of encryption tunnel (it is the natural way to do it in anycase). Books do mention this detail, because books enjoy being more wordy. But the AI's can't figure it out, so put in some words to stop future AI's from sending us slop. deraadt 2026-04-12 03:19:26 +00:00
  • 961e715b25 The pfcksum[] field in the pfsync packet header is not a hash of the packet. It provides absolutely no security benefits, keep reading to find out. deraadt 2026-04-12 03:16:04 +00:00
  • 6018ae1d01 Before it is disabled, unveil allows you to override the settings on any vnode. A block of #if 0 code suggests this might be different. That can be deleted. This also shows one word "other" in the manual page is misleading. question asked by Stuart Thomas ok beck deraadt 2026-04-11 17:04:55 +00:00
  • 998486d17f wrap the ; on a single while() line deraadt 2026-04-11 16:24:13 +00:00
  • de62a587e2 A binary without a PT_LOAD exec segment would later read a pinsyscall table and damage it strangely. Such a binary cannot actually run, but we should avoid the internal pinsyscall table damage, and fail the execve with EINVAL. reported by Stuart Thomas ok guenther deraadt 2026-04-11 16:12:40 +00:00
  • 54f7a0c00a vmm: Handle reserved bits in debug registers cludwig 2026-04-11 15:59:44 +00:00
  • 9b1ce9c8d0 Call repo_check_timeout() before colleting the POLLOUT fds. Since repo_abort() called by repo_check_timeout() will add messages to be sent out. claudio 2026-04-11 12:02:50 +00:00
  • f7e671ebc3 When the pagedaemon is triggered to create free memory, there may be sleeping pmemrange allocations with multi-page alignment requirements which can't be satisfied by the simplistic freeing of (solo) pages which the pagedaemon performs. As we near starvation, fragmentation is the main problem. Our free list could be large enough that the pagedaemon sees no reason to do more work, but also too fragmented to satisfy a pending allocation request with complex requirements (imagine asking for 512K of physically linear memory which is DMA reachable). When the requirement isn't satisfied, the pagedaemon is told to try again, but again doesn't mean harder because it has no mechanism to try harder. It's tracking variables do not show the fragmentation problem. It spins a lot. Often this becomes a deadlock. Time to change strategy: Overshoot creation of (both) inactive and free pages each time through the loop. After inspecting existing variables, we generate minumum 128 inactive pages (which may be dynamically drawn down asyncronously by accesses), and then try to convert minumum 128 inactives into free pages (different pages get freed different ways, including via swapcluster which has been improved in previous uvm_swap.c commit to absorb more pressure and indicate when it is full). As we mow through the freelist, this will eventually create some (physical address space) defragmention and satisfy these complex requirements. Maybe not on the first round, but it will keep trying. Before this change, it was not trying at all. ok kettenis kirill beck deraadt 2026-04-11 01:57:22 +00:00
  • 9bac450dd5 To support swapencrypt, the swapcluster code has a memory allocation codepath. Since this is runs inside the pagedaemon that is unworkable. We'd like to encrypt the pages inplace for IO, but there are architectures not ready for a high-mem page to be written to a dma-restricted device (work in progress). So for now we need to bounce through dma-reachable memory buffer. A previous attempt had 1 extra bounce buffer, but then slept on allocation inside the pagedaemon context which is also unworkable. This version contains 32 pre-allocated swapclusters (64K each), and through a counter signals to the pagedaemon when it should stop trying to create memory. 32 swap clusters is comfortably more than the minimum we expect the pagedaemon frantically generate. This crummy solution is good enough until we the dma reach problem is solved (soon) ok kettenis kirill (who looked into other solutions) beck deraadt 2026-04-11 01:36:23 +00:00
  • f1274cd53b Actually smtpinctrl(4) should attach early; messed that up when transplanting things into a different tree for commit. kettenis 2026-04-10 17:55:14 +00:00
  • 0347354ca2 Add smtpinctrl(4), a driver for the pin controller on the SpacemiT K1 SoC. kettenis 2026-04-10 17:37:00 +00:00
  • 11a4679ee1 Apparently we shouldn't touch the RTC immediately after restarting the i8254 clock either when coming out of S3 suspend. So move the code that checks whether the RTC alarm went off and clears it all the way to the end of acpi_cpu_resume. This fixes a lockup seen on the x220. kettenis 2026-04-10 16:23:32 +00:00
  • 560978c3cf sys/vfs_biomem: add missed atop() in buf_alloc_pages() kirill 2026-04-10 02:03:40 +00:00
  • 411a0c209e Remove unnecessary free before exit calls job 2026-04-09 18:41:41 +00:00
  • f97bb3898e At the end of parsing the http response header do some sanity checks to ensure that the response includes all needed data. claudio 2026-04-09 18:35:49 +00:00
  • 7bdd0d20c1 In powerpc stacktrace_save(), start at correct return address gkoehler 2026-04-09 17:57:09 +00:00
  • f24fdfda12 Check cleared memory allocation and free before exit for consistency job 2026-04-09 17:29:04 +00:00
  • cdb0e82ceb Enable Vbus regulator if there is one kettenis 2026-04-09 15:13:45 +00:00
  • 566debf87d rpki-client: fix pointer used in as_check_overlap() tb 2026-04-09 07:47:31 +00:00
  • f951d642cc fix how source and state limiters are wired into rbtrees inside pfctl. dlg 2026-04-09 06:10:38 +00:00
  • dee2476c04 Revert r1.7; these defines are required to build apm(8) and apmd(8). miod 2026-04-09 05:03:42 +00:00
  • 6d2b925ed3 don't clear non-smt block bits in sysctl_hwsmt() make hw.smt 1->0 work again ok deraadt@ jsg 2026-04-09 01:30:02 +00:00
  • fabd79fdc3 Remove references to tag:kde3 and tag:kde4 as something that one might find in the current ports tree. kde3/kde4 and their tags are long gone. kmos 2026-04-09 01:29:59 +00:00
  • f6ac540182 Take USB hubs out of reset. This makes the on-board USB hub on the Banana Pi F3 show up. kettenis 2026-04-08 13:43:32 +00:00
  • b0cdb9e75f remove unneeded CPUTYP ifdefs ok deraadt@ jsg 2026-04-08 12:40:12 +00:00
  • 6e2242fc93 Error with EISDIR when calling open(2) with O_CREAT when the last component of the path is an existing directory and O_DIRECTORY is not specified. jsg 2026-04-08 12:08:25 +00:00
  • 8595ae99f9 EHLO must reset the transaction op 2026-04-08 12:04:56 +00:00
  • 4629ffe274 mention O_CREAT and O_DIRECTORY error jsg 2026-04-08 11:36:40 +00:00
  • 52d470d14f error with EINVAL if open(2) is called with both O_CREAT and O_DIRECTORY jsg 2026-04-08 11:32:24 +00:00
  • d0c78f6731 update the list of SoCs this driver works with jmatthew 2026-04-08 08:58:28 +00:00
  • 15cb22fda4 Bump LibreSSL version for the release tb 2026-04-08 05:30:20 +00:00
  • c13c5d36ef Add support for the RK3528 variant. To make things easier to follow, pull the hardware differences out into a per-variant structure containing the different parameters we have to program. jmatthew 2026-04-07 23:12:08 +00:00
  • 3581ced548 Add SpacemiT K1 support. kettenis 2026-04-07 20:38:51 +00:00
  • 008d370469 Respect DEBUG so we can build perl with debug symbols jca 2026-04-07 16:41:33 +00:00
  • 7ed665c6a3 Sync - CCR uses an IANA assigned codepoint nowadays job 2026-04-07 14:38:04 +00:00
  • 4b39dd3dc4 Rename labellen to label_len tb 2026-04-07 13:16:41 +00:00
  • 2fc71f321f Fix NULL deref for malformed OAEP parameters in CMS decryption tb 2026-04-07 13:15:29 +00:00
  • c74741bda9 Refactor and fix ocsp_find_signer_sk() tb 2026-04-07 13:02:50 +00:00
  • 9ad5b7ec74 Add a few to-do items to the crl_cb() tb 2026-04-07 12:52:19 +00:00
  • 842a6bbe14 Stop Delta CRL processing if a CRL number is misssing tb 2026-04-07 12:48:37 +00:00
  • 333bb2fb25 sync comment job 2026-04-07 11:52:21 +00:00
  • 86a725071d rpki-client: clean up ipAddrBlocks and autonomousSysIds naming mess tb 2026-04-07 10:59:19 +00:00
  • 20856dc533 drm/amd/pm: fix amdgpu_irq enabled counter unbalanced on smu v11.0 jsg 2026-04-07 10:04:54 +00:00
  • 7f510eb045 drm/amd/pm: Return -EOPNOTSUPP for unsupported OD_MCLK on smu_v13_0_6 jsg 2026-04-07 10:02:36 +00:00
  • b7c7c298d9 drm/i915: Unlink NV12 planes earlier jsg 2026-04-07 10:00:26 +00:00
  • 171185e673 drm/i915: Order OP vs. timeout correctly in __wait_for() jsg 2026-04-07 09:57:46 +00:00
  • 48d7b51e7a drm/i915/dp_tunnel: Fix error handling when clearing stream BW in atomic state jsg 2026-04-07 09:54:43 +00:00
  • d9c03210a3 drm/amd/display: Fix drm_edid leak in amdgpu_dm jsg 2026-04-07 09:52:19 +00:00
  • 72a6c7ed42 drm/amdgpu: prevent immediate PASID reuse case jsg 2026-04-07 09:50:17 +00:00
  • 86b8b6dfa4 drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib jsg 2026-04-07 09:38:36 +00:00
  • 8237b8a7cb drm/amd/display: Do not skip unrelated mode changes in DSC validation jsg 2026-04-07 09:36:22 +00:00
  • afebcd8b6c drm/i915/gmbus: fix spurious timeout on 512-byte burst reads jsg 2026-04-07 09:32:15 +00:00
  • f93360f79a drm/amdgpu: fix gpu idle power consumption issue for gfx v12 jsg 2026-04-07 09:30:23 +00:00
  • 82bd097ce6 drm/ttm/tests: Fix build failure on PREEMPT_RT jsg 2026-04-07 09:27:59 +00:00
  • 321c78384e add idr_alloc_cyclic() for 6.18.21 drm jsg 2026-04-07 09:11:15 +00:00
  • 4d83098c9f add DEFINE_IDR() for 6.18.21 drm jsg 2026-04-07 09:04:16 +00:00
  • 1b32fd23ab Add PCIe PHY support. kettenis 2026-04-07 08:29:30 +00:00
  • 6216598462 Add a few more PCIe related clocks and resets. kettenis 2026-04-07 08:28:34 +00:00
  • d8bd1b9877 Add ASPM bits for PCIe link capabilities register. kettenis 2026-04-07 08:20:40 +00:00
  • c0d9e079f3 want stdint.h here now that we've switched from u_intXX_t -> uintXX_t djm 2026-04-07 07:40:40 +00:00
  • f96d31f38e fix timer emulation-related VM hangs bcook 2026-04-07 03:21:10 +00:00
  • 75447644f5 sycn deraadt 2026-04-07 03:20:31 +00:00
  • c0c2c6a525 match VT8261 SATA and another VT8251 SATA from Andrius V jsg 2026-04-07 00:15:41 +00:00
  • 78d83baf11 match more VIA ISA bridges when determining IDE DMA modes from Andrius V jsg 2026-04-07 00:10:24 +00:00
  • d11a7860a0 regen jsg 2026-04-07 00:00:13 +00:00
  • 3f9a7b4c15 add more VIA SATA and ISA ids from Andrius V jsg 2026-04-06 23:59:43 +00:00
  • 2f2ccc0b8b smtpmic(4) kettenis 2026-04-06 21:49:50 +00:00
  • f5c52f3440 Add smtpmic(4), a driver for the SpacemiT P1 PMIC. kettenis 2026-04-06 19:48:07 +00:00
  • 90f2f56f2c remove incomplete/never finished loongson hibernate code mlarkin 2026-04-06 19:34:08 +00:00
  • 08411904fb Sadly the SpacemiT K1 has peripherals than can only do 32-bit DMA. kettenis 2026-04-06 19:12:36 +00:00
  • e1bb9b8c6d zero direct map pages before populating mlarkin 2026-04-06 18:27:33 +00:00
  • da10deba81 sync deraadt 2026-04-06 17:58:33 +00:00
  • fe321e1b70 smtcomphy(4) kettenis 2026-04-06 10:50:59 +00:00
  • 2289b82059 smtiic(4) kettenis 2026-04-06 10:46:13 +00:00
  • b9b6c45f27 smtclock(4) kettenis 2026-04-06 10:42:12 +00:00
  • 2062d5e739 Fix pasto. kettenis 2026-04-06 10:41:31 +00:00
  • 6405cd40f6 Add smtiic(4), a driver for the I2C controller found on the SpacemiT K1 SoC. This is a close relative of mviic(4), but the register layout changed and some bits moved within the registers. kettenis 2026-04-06 10:30:27 +00:00
  • e7bf55dd66 Bring back the PXA2X0 variant; it resurfaced in the SpacemiT K1 SoC. Incorporate a fix inspired by NetBSD to keep the console enabled when userland closes the device. kettenis 2026-04-06 10:27:53 +00:00
  • 15aed7f109 relayd: support TLS with multiple listeners kirill 2026-04-06 09:14:54 +00:00
  • e7e66f0619 x509v3.h: remove pointless #ifdef HEADER_CONF_H tb 2026-04-06 08:24:57 +00:00
  • 1155ce2f64 cms_local.h: remove #ifdef X509V3_HEADER_H tb 2026-04-06 08:18:19 +00:00
  • 2136085e78 Tweak vendor #define list to follow numerical ordering jca 2026-04-06 08:13:22 +00:00
  • 308537939c Follow the sparc64 lead and simply define curcpu in the kernel as the special register containing its value, this is a general register (x4) and therefore can be used directly jca 2026-04-06 08:10:54 +00:00
  • 5ca605e59d fix crash on invalid tags file op 2026-04-05 23:17:30 +00:00
  • 8a4a3a78bb Treat "Instruction access fault" (EXCP_FAULT_FETCH) traps as PROT_EXEC. Fixes random SIGSEGV on the SpecemiT X60 cores. kettenis 2026-04-05 22:13:21 +00:00
  • d1a03e1b55 regen kettenis 2026-04-05 22:09:58 +00:00
  • 3bf4d59d7b Add SpacemiT K1. kettenis 2026-04-05 22:06:19 +00:00
  • 677c135bc8 Add smtcomphy(4), a driver for the USB3/PCIe combo PHY found on the SpacemiT K1 SoC. kettenis 2026-04-05 18:08:11 +00:00
  • 1cb5aded8b When a cell is cleared after having been moved, we cannot reuse its extended data, because that may still be in use. Add a flag to grid_clear_cell to indicate this. Fixes irritating problems with ICH (CSI @) mostly visible in emacs. nicm 2026-04-05 15:43:17 +00:00