summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add smmu(4), a driver the ARM System MMU. This IOMMU is basically apatrick2021-02-285-0/+2008
| | | | | | | | | | | | | | | | | | regular ARM CPU MMU re-used for I/O devices. Implementations can have a mix of stage-2 only and stage-2/stage-2 context blocks (domains). The IOMMU allows different ways of grouping devices into a single domain. This implementation only supports SMMUv2, since there is basically no relevant SMMUv1 hardware. It also only supports AArch64 pagetables, the same as our pmap. Hence lots of code was taken from there. There is no support for 32-bit pagetables, which would have also been needed for SMMUv1 support. I have not yet seen any machines with SMMUv3, which will probably need a new driver. There is some work to be done, but the code works and it's about time it hits the tree. ok kettenis@
* Add acpiiort(4), a driver for the ACPI I/O Remapping Table. This tablepatrick2021-02-282-0/+138
| | | | | | contains information which IOMMUs we have and how the devices are routed. ok kettenis@
* Add memory attributes for stage-2 pagetables.patrick2021-02-281-1/+7
| | | | ok kettenis@
* Issue call to IOMMU OFW API to collect an IOMMU-sprinkled DMA tag.patrick2021-02-282-2/+9
| | | | ok kettenis@
* Implement IOMMU OFW API for on-SoC/non-PCI devices.patrick2021-02-282-2/+46
| | | | ok kettenis@
* Issue call to IOMMU OFW API to collect an IOMMU-sprinkled DMA tag.patrick2021-02-282-2/+15
| | | | ok kettenis@
* Rename addr to gateway.tobhe2021-02-281-8/+8
|
* install rc.d/resolvdderaadt2021-02-281-2/+2
|
* Move tick_msg(TICK_WAIT) calls after related log_debug()krw2021-02-281-5/+4
| | | | | | calls to avoid losing those debug messages if tick_msg() notices link-timeout has expired and daemonizes dhclient.
* Reduce non-debug output further by allowing up to the usual 3 secondkrw2021-02-281-2/+5
| | | | | | grace period of silence before emitting "<if>: no lease...", even if the link has taken a few secocnds to come up. 'link-timoeut' remains the hard deadline for going daemon.
* Add dobeep functions that take messages to buffer.c and cscope.clum2021-02-282-107/+55
| | | | No functional change intended.
* Introduce #defines for exponential backoff, explain where they comeflorian2021-02-281-16/+19
| | | | | from and explain why we are a bit more agressive during startup. While here make the math a bit easier on the eyes.
* document the move of FIX_CRLF_FILES to the end of distpatchespie2021-02-281-6/+6
|
* big numbers need suffixes on some platforms. fix LACP_ADDR_SLOW_E64.dlg2021-02-281-2/+2
| | | | deraadt@ says i broke hppa :(
* Do not try to reset signal handler for signal 0 in subprocess.dtucker2021-02-281-2/+2
| | | | Prevents spurious debug message. ok djm@
* fix alphabetic ordering of options; spotted by Iain Morgandjm2021-02-271-9/+9
|
* syncderaadt2021-02-271-0/+2
|
* removal of "must" missed in previous: spotted by george brown, who alsojmc2021-02-271-2/+2
| | | | submitted the diff for the previous commit and who i forgot to credit...
* remove some info related to compat;jmc2021-02-271-5/+4
| | | | | | tweaked by deraadt ok kettenis deraadt
* fix NAME;jmc2021-02-271-2/+2
|
* Restore ability to handle default routes on multiple interfaces, thisflorian2021-02-271-2/+5
| | | | | | | got lost shortly before initial import. While here explicitly delete the default route when deconfiguring an interface. There might be corner cases where the stack will not tear it down for us when we remove the IP address.
* ensure local array is same size as globalderaadt2021-02-271-1/+1
|
* Stop checking 'epoch' in get_recorded_lease() and just set it askrw2021-02-272-5/+4
| | | | | | required in read_lease_db(). It's already set in packet_to_lease() and thus both paths to TAILQ_INSERT(lease_db) ensure there is a non-zero epoch in all lease_db entries.
* apldart(4)kettenis2021-02-271-0/+42
|
* aplpcie(4)kettenis2021-02-271-0/+44
|
* Set RTF_GATEWAY for host route based on RTM_GET response.tobhe2021-02-271-11/+15
|
* apldart(4) is needed here as well.kettenis2021-02-271-1/+2
|
* aipldart(4)kettenis2021-02-271-2/+2
|
* aplpcie(4)kettenis2021-02-271-2/+3
|
* Add apldart(4), a driver for the IOMMU on Apple M1 SoCs.kettenis2021-02-273-2/+567
| | | | ok patrick@
* While I wrote the initial version of resolvd(8) it diverged so muchflorian2021-02-271-8/+2
| | | | that it's not appropriate to claim that I wrote it.
* Move handling of cipher/hash based cipher suites into the new record layer.jsing2021-02-275-200/+141
| | | | ok tb@
* Disentangle log_debug() output from tick_msg() output.krw2021-02-272-45/+46
| | | | | | | | | | | | | | | Simplifies -v output, and reduces non-'-v' output. Reduce non-'-v' output further by only displaying the first 'link up' event. Restore behaviour specified in dhclient.conf(5) of going daemon after link-timeout seconds, rather than waiting another link-timeout seconds for a lease to be accepted. Lease verbiage problem reported, and fix tested by Mihai Popescu. Thanks! Link verbiage problems reported, fix tested & ok tb@.
* Replace stray direct call of f_event with filter_event().visa2021-02-271-2/+2
| | | | | This does not change the current behaviour, but filterops should be invoked through filter_*() for consistency.
* Identify DTLS based on the version major value.jsing2021-02-271-2/+2
| | | | This avoids the need to match specific DTLS version numbers.
* Add dobeep functions that take messages to basic.c.lum2021-02-271-47/+26
| | | | No functional change intended.
* Rework route_input() and rtm_sendup(). While we perform foreach loopmvs2021-02-271-32/+12
| | | | | | | | | | | | | in route_input() we drop solock() after we checked socket state. We pass mbuf(9) to this socket at next loops, while it referenced as `last'. Socket's state could be changed by concurrent thread while it's not locked. Since we perform socket's checks and output in same iteration, the logic which prevents mbuf(9) chain copy for the last socket in list was removed. ok bluhm@ claudio@
* Path #defines are traditionally prefixed with _PATH.florian2021-02-273-8/+8
| | | | Pointed out by deraadt
* Path #defines are traditionally prefixed with _PATH.florian2021-02-274-10/+10
| | | | Pointed out by deraadt
* Path #defines are traditionally prefixed with _PATH.florian2021-02-273-6/+6
| | | | pointed out by deraadt
* Path #defines are traditionally prefixed with _PATH.florian2021-02-273-13/+13
| | | | pointed out by deraadt
* Read the lease file into a statically sized buffer and pass it over toflorian2021-02-273-38/+42
| | | | | the engine process for parsing instead of passing an fd. Let's us tighten the engine's pledge back down to "stdio".
* Add logger(1) support for daemons that are logging to stdout/stderr (mostly fromajacoutot2021-02-275-19/+51
| | | | | | | | | | | | | the go ecosystem). Properly handle failing daemon startup now that we have pipefail. To take advantage of this new feature, just add foo_logger=facility to the daemon rc.d(8) script or in rc.conf.local(8) or use rcctl: rcctl set foo logger daemon.info tweak for checking flags in rcctl(8) from martijn@ "this looks pretty good" deraadt@ ok sthen@
* trim some code i accidentally left into the nvgre add address functiondlg2021-02-271-4/+1
|
* recover scope from v6 nvgre endpoint addresses for userland to look at.dlg2021-02-271-2/+2
|
* It is perfectly fine to POLLIN and POLLOUT at the same time. It mayclaudio2021-02-271-3/+3
| | | | | actually make things a bit faster. OK deraadt@
* Handle NULL term_type.nicm2021-02-271-2/+5
|
* regenjsg2021-02-272-55/+55
|
* sort and fix RTL8713 idjsg2021-02-271-12/+12
|
* regenjsg2021-02-272-14/+14
|