summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-08Move sparc64-specific ofw prototypes out of the MI header.Miod Vallat
2024-11-08ec_asn1_test: remove extra parensTheo Buehler
2024-11-08Constify strtab.Martin Pieuchot
2024-11-08Add a work-in-progress version of ice(4), a driver for Intel E810 devices.Stefan Sperling
Ported from FreeBSD. This driver does not pass packets yet, lots of code is still missing. The driver will remain disabled in kernel configs until it is ready. At this stage, code for device initialization should be fairly complete. Some hardware features will require additional firmware packages to be loaded. My plan is to get things working in the basic "safe mode" first, which does not require external firmware. I will continue working on this driver in-tree, with funding from genua. Help is welcome. ok dlg@
2024-11-08psp(4) waits for acknowledgement of wbinvd from other CPU.Alexander Bluhm
If any other CPU has not finished wbinvd, PSP command may fail. To avoid races, call wbinvd_on_all_cpus_acked() which waits for acknowledgement from IPI handler. Provide stub to build non-MP kernels. from hshoexer@; OK mlarkin@
2024-11-08regenStefan Sperling
2024-11-08add two Intel E810 Ethernet PCI device IDsStefan Sperling
2024-11-08Only install a second copy of the bootloader if the EFI System PartitionMark Kettenis
is at least 1MB. This should prevent us from filling up the tiny ESPs that we used to create a few releases ago. ok deraadt@
2024-11-08Use PCB iterator for raw IPv6 input loop.Alexander Bluhm
Implement inpcb iterator in rip6_input(). Factor out the real work to rip6_sbappend(). Now UDP broadcast and multicast, raw IPv4 and IPv6 input work similar. While there, make rip_input() look more like rip6_input(). OK mvs@
2024-11-08Add support for MA devices.Mark Kettenis
ok stsp@
2024-11-08Some fixes for searching for tabs, from Alexander Arch.Nicholas Marriott
2024-11-08Make CPU frequencies human readable with -h in `systat sensors`.Matthieu Herrb
ok miod@
2024-11-08Implement interrupt depth counter for sparc64.Miod Vallat
2024-11-08Correctly compute access type for write faults. This allows write-onlyMiod Vallat
mappings to work.
2024-11-08remove ID register values, cpu.c uses different definesJonathan Gray
2024-11-08remove PCI MMIO defines, matches recent amd64 changeJonathan Gray
2024-11-08Rename EC_YBIT to EC_POINT_YBITTheo Buehler
2024-11-08remove unused pmap_move()Jonathan Gray
2024-11-08remove unused VM_MAXUSER_ADDRESS32Jonathan Gray
2024-11-08Ugh. Don't return the group after freeing itTheo Buehler
CID 514612
2024-11-08remove unused I386_IPI_NAMES, amd64 X86_IPI_NAMES removed in 2019Jonathan Gray
2024-11-07document EVP_PKEY_CTRL_SET_MAC_KEY for CMACIngo Schwarze
2024-11-07Expand amd64 wbinvd_on_all_cpus() with acknowledge.Alexander Bluhm
Implement wbinvd_on_all_cpus_acked() similar to pmap_tlb_shootpage(). This ensures, wbinvd has been executed on all cores when the function returns. This is needed to avoid psp(4) races. from hshoexer@; OK mlarkin@
2024-11-07Use LibreSSLs specialized functions to print base 10 and base 16.Otto Moerbeek
Also optimize the general case a bit. ok semarie@
2024-11-07Constify strings in symbol-related ddb interfaces, and make the iteratorMiod Vallat
callback interface a bit simpler. ok beck@ claudio@ mpi@
2024-11-07The comparator of the RBtree for the IP addresses was broken.YASUOKA Masahiko
Also, log verbosely when ignoring accounting request.
2024-11-07Remove OF_package_to_path(). This routine used to be needed by the OFWMiod Vallat
devices (ofnet, etc) for the VI board in the before-macppc days which nobody remembers, and has never been needed for anything on macs.
2024-11-07Before stopping a thread because of stop signal set ps_xsig to the signumClaudio Jeker
so that wait(2) returns the right signal. Found and tested by sthen@
2024-11-07Document locking of failing allocation requests and improve the comments.Martin Pieuchot
2024-11-07Free Oxford commas for most of the comments.Martin Pieuchot
Requested by miod@
2024-11-07Do not try to release memory if all we need is balancing the page lists.Martin Pieuchot
ok miod@
2024-11-07Optimize active & inactive list traversals when looking only for low pages.Martin Pieuchot
- In the inactive list, if we are not OOM, do not bother releasing high pages. - In the active list, if we couldn't release enough low pages and are not out- of-swap, deactivate only low pages. ok miod@
2024-11-07Use a static request to notify failed nowait allocations.Martin Pieuchot
As a side effect the page daemon now considers releasing inactive pages when a nowait allocation for low pages failed. Note that the hardcoded number of 16 pages (a 64K cluster on 4K archs) which corresponds to what the buffer cache currently wants is left with the original XXX. ok miod@
2024-11-07Remove redundant `constraint' argument to uvmpd_scan() & friends.Martin Pieuchot
Currently when there is no request waiting for low pages the constraint used corresponds to the full address range. So use the constraint attached to the memory request. This also speeds up the active/inactive list lookups by skipping the constraint check if the request has already been fulfilled. ok miod@
2024-11-07Introduce an helper to check if memory has been freed for a given request.Martin Pieuchot
Using this helper we stop scanning the active/inactive lists if the shrinkers already released enough pages to fulfill the allocation. This speeds up the page daemon loop by avoiding useless lookups to find the first managed page belonging to the low memory range before aborting. ok miod@
2024-11-07Introduce an helper to check if a page belongs to a given memory range.Martin Pieuchot
No functional change. ok miod@
2024-11-07Test callback is called immediately after TLS handshake completion.Alexander Bluhm
2024-11-07Move syslogd(8) TLS handshake callback from read to write handler.Alexander Bluhm
syslogd should immediately detect that the incoming TLS handshake is complete. The old logic detected it when the first log message over TLS was arriving. For now only a debug message is logged, but the callback will be used to print the common name of the client certificate in the future. OK tb@
2024-11-07Regression for parsing multi-line strings with comments.Martin Pieuchot
From Christian Ludwig
2024-11-07Add multi-line strings support to the bt(5) script parser.Martin Pieuchot
From Christian Ludwig
2024-11-07de-macro SWAP_KEY_*; ok miod@ mpi@Jonathan Gray
2024-11-07drop "Civil" from NQY; while RAF still have some presence at the siteStuart Henderson
they sold the runway to Cornwall County Council in 2008, there's no separate military airbase. (Existence verified by me when it was RAF St Mawgan).
2024-11-07Remove leftover indirections required by pre-armv7 cpu support.Miod Vallat
2024-11-07Remove two unnecessary instructions, at least one being a leftover fromMiod Vallat
debug code added in NetBSD 1.51 not being completely removed in 1.133, and which we have been carried since 1.1 here...
2024-11-07Log the username when rejecting by ipcp.YASUOKA Masahiko
2024-11-07remove unused SWAP_KEY_EXPIRE defineJonathan Gray
2024-11-07add rcs idsJonathan Gray
2024-11-06Fix vmd(8) logging to syslog(3) from child process.Alexander Bluhm
Log messages from vmd(8) child processes went to /dev/null. Re-exec set the -n option, which in turn sets vmd_noaction and vmd_debug. Debugging means no more syslog(3), but stderr, which is /dev/null for a daemon. Remove -n from child re-exec, it does not have any effect except looging. Pass on the -d flag when debugging. The VMD_VERBOSE defines are more confusing than useful, just write -v like all the other options. Rework creation of execvp arguments. Do not use tab in syslog messages, space is sufficient. OK mlarkin@ hshoexer@ dv@
2024-11-06ssh-agent implemented an all-or-nothing allow-list of FIDO applicationDamien Miller
IDs for security key-backed keys, to prevent web key handles from being used remotely as this would likely lead to unpleasant surprises. By default, only application IDs that start with "ssh:*" are allowed. This adds a -Owebsafe-allow=... argument that can override the default list with a more or less restrictive one. The default remains unchanged. ok markus@
2024-11-06I have flown into and from Trondheim, TRD.Sebastian Benoit