summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* There is no longer the need to mkpathat(), the main process runs now fromclaudio2021-03-023-9/+8
| | | | the cachedir.
* Add missing RCS markerkn2021-03-021-0/+1
|
* Do not unveil unused unwind socket under SMALLkn2021-03-021-2/+5
| | | | | Remove unused STARTUP_WAIT_TIMO (since import), add missing space to error message.
* Open both the cachedir and outputdir early and use fchdir(2) toclaudio2021-03-023-26/+23
| | | | | switch between the two. OK deraadt@ job@
* When building the chain of the intermediate certificates do not include theclaudio2021-03-021-4/+8
| | | | | | | root node (which should be a trust anchor). Trust anchors where added to the X509_store and having them in the chain is kind of wrong and confuse the new libressl X509 validator. OK tb@
* remove ts_print() prototype function was removed in rev 1.100jsg2021-03-021-2/+1
|
* remove uneeded md5.h includejsg2021-03-023-6/+3
| | | | ok florian@
* Increase the size of iov in pfkey_sa() to be large enough for alljsg2021-03-021-2/+2
| | | | | | possible options. ok tobhe@
* don't read past the end of an arrayjsg2021-03-021-2/+2
| | | | ok mvs@ mlarkin@
* openssh-8.5djm2021-03-021-2/+2
|
* Do *not* delay while waiting for IOTLB invalidation to complete. A 1mspatrick2021-03-021-3/+1
| | | | | | | delay is awful in a hot path, and the SMMU is actually quite quick on invalidation, so simply removing the delay is worth a thousand roses. Found with mental support from dlg@ (and btrace)
* off by one in bounds testjsg2021-03-021-5/+2
| | | | ok sthen@ millert@
* sync for perl 5.32.1afresh12021-03-0116-133/+52
|
* Apply pre-built unicore patch, remove excess files - perl-5.32.1afresh12021-03-01550-124170/+216104
| | | | OK sthen@
* Apply local patches, remove excess files - perl-5.32.1afresh12021-03-0154-525/+363
| | | | OK sthen@
* Fix merge issues, remove excess files - match perl-5.32.1 distafresh12021-03-01981-71740/+84299
| | | | OK sthen@
* Import perl-5.32.1afresh12021-03-01752-17266/+45020
| | | | OK sthen@
* Update the MSI addresses for the Armada 8040. This chunk will only bepatrick2021-03-011-3/+7
| | | | there until we have a proper way of making the MSI pages available.
* Instead of sprinkling the device's DMA tag, always return a new DMA tagpatrick2021-03-013-41/+33
| | | | | | | | | | which is based on the IOMMU's. If you think about it, using the IOMMU's DMA tag makes more sense because it is the IOMMU that does the actual DMA. Noticed while debugging, since the SMMU's map function was called twice: once for the PCI device, and once for its ppb(4). As the transaction has the PCI device's Stream ID, not the ppb(4)'s, this would be useless work. Suggested by kettenis@
* Transactions on the AXI bus contain a Stream ID. SMMUs filterpatrick2021-03-011-1/+15
| | | | | | | | | | | | | | | based on Stream IDs. On the Armada 8040 these Stream IDs can be configured in different registers. The PCIe controller has a register which maps root port, bus, dev and func number to the Stream ID. This should be set up by TF-A firmware, but on the 8040 the current images don't do this. For chips with more than one PCIe controller this register must be setup correctly depending on the implementation, but on the 8040 there only is one controller, so we can configure a fixed value to match what is defined in the device tree. This allows the SMMU to properly track the PCIe controller's transactions. ok kettenis@
* The ep-gpios property is optional on the Rockchip PCIe controller.patrick2021-03-011-11/+21
| | | | | | | | While there, enable the different voltage regulators and set the PHY's assigned clocks. This makes PCIe work on the NanoPi R4S. Tested by kurt@ on Rock Pi N10 and ROCKPro64 ok kurt@ kettenis@
* syncderaadt2021-03-011-0/+1
|
* remove unneccessary Pp;jmc2021-03-011-3/+2
|
* document log entry W, reminded by naddy@espie2021-03-011-2/+8
|
* fix Nd and remove trailing whitespace;jmc2021-03-011-4/+4
|
* escape quotes and remove some unneccessary Pp; ok nicmjmc2021-03-011-8/+6
|
* Make sure sa_policy is not NULL in sa_configure_iface(). This can happentobhe2021-03-011-2/+2
| | | | if the SA is deleted because of a failed policy lookup.
* Log adding and deleting of IP addresses as well as nameservers.florian2021-03-011-1/+75
| | | | deraadt@ pointed out that dhcpleased is too quiet.
* We really must handle all possible enumeration values inflorian2021-03-011-6/+1
| | | | | | | | | | | state_transition() and iface_timeout(). Let the compiler help us by emitting a warning when we missed one (-Wswitch). Reminded by jsg who pointed out that gcc is quite confused and thinks there is an out of bounds access in if_state_name[] in the default case. There is not, if_state_name[] and enum if_state have to be kept in sync. (Note that -Wswitch is not a silver bullet, it just happens to work here.)
* Let send_rdns_withdraw and send_deconfigure_interface clean up afterflorian2021-03-011-23/+15
| | | | | | | | | | | themselves. This way the iface object is in a consistent state. For consistency we should also withdraw rdns first, then deconfigure the interface. Lastly make sure we parse the lease file on a down -> up transition if we had a lease before and it had expired while the interface was in down state. Otherwise we'd send a dhcpdiscover requesting any IP address while we really should send a dhcprequest asking for our previous IP back.
* Document veb(4) supportkn2021-03-012-9/+11
| | | | | Feedback jmc OK dlg
* Refactor ip_fragment() and ip6_fragment(). Use a mbuf list tobluhm2021-03-018-197/+165
| | | | | | | | | | simplify the handling of the fragment list. Now the functions ip_fragment() and ip6_fragment() always consume the mbuf. They free the mbuf and mbuf list in case of an error and take care about the counter. Adjust the code a bit to make v4 and v6 look similar. Fixes a potential mbuf leak when pf_route6() called pf_refragment6() and it failed. Now the mbuf is always freed by ip6_fragment(). OK dlg@ mvs@
* Put the hardcoded '\n' character which is found throughout mg into alum2021-03-0116-42/+50
| | | | | buffer specific variable. The diff should not produce any behavourial changes in mg.
* There is no need to call del_curterm in the server anymore.nicm2021-03-011-4/+1
|
* Add some text with examples of ; as a separator, GitHub issues 2522 andnicm2021-03-011-2/+65
| | | | 2580.
* document pkg_check-versionespie2021-03-012-3/+58
|
* allocate enough space in start_child() argv for all possible flagsjsg2021-03-011-2/+2
| | | | ok claudio@
* If an anon is associated with a page, acquire its lock before any modification.mpi2021-03-011-3/+34
| | | | | | | This change should have been part of the previous anon-locking diff and is necessary to run the top part of uvm_fault() unlocked. ok jmatthew@
* Move the top part of uvm_fault_lower(), the lookup, in its own function.mpi2021-03-011-76/+98
| | | | | | | | | The name and logic come from NetBSD in order to reduce the difference between the two code bases. No functional change intended. ok tb@
* off by one in bounds testjsg2021-03-011-2/+2
| | | | ok florian@
* off by one in bounds testjsg2021-03-012-4/+4
| | | | ok claudio@
* resolvd and dhcpleased should not be enabled yetderaadt2021-03-011-3/+3
|
* update currency exchange rates;jmc2021-03-011-38/+38
|
* typo; from Scott Bennettderaadt2021-03-011-3/+3
|
* syncderaadt2021-03-011-0/+1
|
* Add %k to list of keywords. From Eero Häkkinenvia bz#3267dtucker2021-02-281-3/+3
|
* add veb(4) to the list of supported bridges/switches you can configure.dlg2021-02-282-4/+5
| | | | | tested by josh rickmar ok kn@
* Have acpipci(4) look for a matching SMMU in the IORT.patrick2021-02-281-1/+69
| | | | ok kettenis@
* Enable acpiiort(4), add smmu(4) but keep disabled.patrick2021-02-282-2/+8
| | | | ok kettenis@
* acpiiort(4) and smmu(4)patrick2021-02-281-1/+14
|