summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-11Add a manpage for mvuart(4).Patrick Wildt
2019-05-11Remove Rockchip from the manpage since it's just a leftover fromPatrick Wildt
the original manpage used to create this one. ok kettenis@
2019-05-11Fix incorrect error message.Lawrence Teo
ok kettenis@
2019-05-11Implement interrupt controller functionality in the RockchipPatrick Wildt
GPIO driver. This allows us to use the fusbtc(4) interrupt on the RockPro64. ok kettenis@
2019-05-11Add fusbtc(4) to support the Fairchild FUSB302 USB Type-C controller.Patrick Wildt
A Type-C controller has multiple tasks. Even though the orientation of the plug doesn't matter for the user, it matters for the hardware. To be able to know how to route the SuperSpeed pins you need to know which way the plug is connected. Also you need to know if you're a sink/source or device/host. To get the first connection, you toggle between the modes until you find a connection. In case you see that a sink is connected, you can turn on USB Vbus to power the sink. This driver explicitly does not implement USB's Type-C state machine, but if we get more and more of these controllers it might be worth doing. Also there's no support for Power Delivery messages yet. ok kettenis@
2019-05-11move irq_work bits into irq_work headerJonathan Gray
2019-05-11RegenAaron Bieber
2019-05-11Add the colemak keyboard layout.Aaron Bieber
OK deraadt@
2019-05-11Support extended shutdown communications in tcpdump as well.Claudio Jeker
OK sthen@ deraadt@
2019-05-11Remove commented out rc5 bitsTheo Buehler
2019-05-11Add missing )Claudio Jeker
2019-05-11Make bsd.rd compile after socppc removal.Kenneth R Westerback
2019-05-11Restore previous behavior of limiting deadlock detection to posix-styleanton
locks. ok jturner@ visa@ Reported-by: syzbot+f9f13034fd656af6c48f@syzkaller.appspotmail.com
2019-05-11socppc makes an extended visit to the bigbucket.Theo de Raadt
ok kettenis
2019-05-11Don't use arguments with It and -enum, pointed out by jmc.Nicholas Marriott
2019-05-11Do not reduce window height by status line height for control modeNicholas Marriott
clients, from George Nachman.
2019-05-11Refactor efiboot into 32 and 64 bit copies.Mike Larkin
Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow us to remove lots of #ifdef code. Needed to ease the development effort for random-VA linked kernels ok tedu, deraadt
2019-05-11Refactor efiboot into 32 and 64 bit copies.Mike Larkin
Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow us to remove lots of #ifdef code. Needed to ease the development effort for random-VA linked kernels ok tedu, deraadt
2019-05-11sync the vm state in vmd too when (un)pausing a vm, otherwise the vm processJasper Lievisse Adriaanse
knows the vm is paused, but vmd does not. ok mlarkin@ pd@
2019-05-10trim trailing whitespace (reported by Hiltjo Posthuma)Ingo Schwarze
and also delete spaces before tabs; no object change
2019-05-10repair %z: store seconds into tm_gmtoff, not centihours;Ingo Schwarze
bug reported by Hiltjo Posthuma <hiltjo at codemadness dot org>; feedback and OK millert@, OK tedu@
2019-05-10Disentangle #ifdef EFIBOOT.Mike Larkin
Separate out files used by both BIOS and EFI boot modes. These files had many #ifdef EFIBOOT code paths that make it difficult to move forward with changes needed to support random base VA linked kernels. ok deraadt@
2019-05-10Improve error message of "Question has no answer in response file".Reyk Floeter
It didn't always print the actual question so it was hard to debug problems in the autoinstall(8) script. OK florian@
2019-05-10repair %Z: write seconds into tm_gmtoff, not hours;Ingo Schwarze
patch from Hiltjo Posthuma <hiltjo at codemadness dot org>; OK tedu@ millert@
2019-05-10vmm: handle some unhandled exits for SVMpd
There were some exits for instructions that were unhandled and caused the guest to terminate if it tried to execute them. We now inject a #ud for those. Also intercept and #ud RDTSCP and INVLPGA instructions. ok mlarkin@
2019-05-10few can remember what apm wasSebastian Benoit
ok deraadt@
2019-05-10Add bsd.upgrade support to sparc64 bootloader.Claudio Jeker
OK kettenis@ deraadt@
2019-05-10Initialize EC_KEY_METHOD before use.Brent Cook
Fixes COV-186146 ok tb, beck
2019-05-10Document TIMEVAL_TO_TIMESPEC() and TIMESPEC_TO_TIMEVAL().cheloha
With input from schwarze@. "read ok" jmc@, "yep" deraadt@, ok schwarze@
2019-05-10For PermitOpen violations add the remote host and port toFlorian Obser
be able to find out from where the request was comming. Add the same logging for PermitListen violations which where not logged at all. Pointed out by Robert Kisteleki (robert AT ripe.net) input markus OK deraadt
2019-05-10Reduce number of timehands from to just two.cheloha
Reduces the worst-case error for for time values retrieved via the microtime(9) functions from 10 ticks to 2 ticks. Being interrupted for over a tick is unlikely but possible. While here use C99 initializers. From FreeBSD r303383. ok mpi@
2019-05-10Restart the protocol and get a new/renewed lease for any relevantKenneth R Westerback
RTM_IFINFO seen. As dhclient no longer commits suicide to restart the protocol this should be very low cost. This will help some trunk(4) setups after some pending network stack commits. Requested by & ok florian@
2019-05-10Revert part of r1.36: in the case of GCM, gcm.key is assigned fromTheo Buehler
aesni_gcm_init_key() via CRYPTO_gcm128_init(), so it needs to be copied over... Fixes cryptofuzz issue #14352 and likely also #14374. ok beck jsing
2019-05-10Fix idr_get_next() such that idr_for_each_entry() actually works.Mark Kettenis
ok jsg@
2019-05-10On the transmit path the ethernet and ip headers might not bePatrick Wildt
in contiguous memory. Taking the pointer to the data and simply looking at the IP header by adding an offset can lead to an out- of-bounds access. Make the ieee80211 classify function copy the ethernet and ip header into stack variables to fix it. Fixes a panic for florian@ Discussed with claudio@ ok stsp@
2019-05-10Document port protection support in switch(4). Also add SIOCBRDGSIFPROT toakoshibe
list of ioctls in bridge(4). OK ccardenas@ kn@ phessler@
2019-05-10Add a fallback to ehci(4)'s phy init code so that when therePatrick Wildt
is no compatible phy it tries to enable the VBus using the phy-supply property. Makes the USB ports on the RockPro64 work. ok kettenis@
2019-05-10remove receive_vm prototype for the function does not exist (anymore)Jasper Lievisse Adriaanse
ok pd@
2019-05-10Fix a typo in previous (, -> :).Nicholas Marriott
2019-05-10Add support for simple menus usable with mouse or keyboard. New commandNicholas Marriott
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.
2019-05-10tweak previous: fix three wrong macros and one missing macroIngo Schwarze
2019-05-10Document the wsfont framework.Frederic Cambus
This is wsfont.9 revision 1.18 from NetBSD with the following changes: - Remove documentation for wsfont_matches() which we don't have - Remove wsfont_find() arguments which we don't have - Add missing arguments for wsfont_lock() which NetBSD doesn't have - Modify wsfont_enum() signature to match our implementation - Modify the wsdisplay_font struct to add the index and cookie members which NetBSD doesn't have - Remove some macros for font encoding we do not support anymore - Remove and correct stuff which doesn't apply to us because the codebases have diverged Looks fine to jmc@
2019-05-10Make it possible to switch between wireless and physical interfacsSebastian Benoit
(again?): when adding the default route, set it with the interface address of the interface we are configuring. This way its possible to have two default routes (from two running dhclient processes) in the routing table. Since wireless interfaces have a higher prio value, when a physical interface is connected it will be prefered (for new connections). ok krw@ mumble yes mumble claudio@
2019-05-10Explicitly disable BCM4331 chips present in 2011-2012 Apple Mac systems.Brent Cook
The Mac EFI firmware enables the wireless controller, but does not disable it, so it continues to receive packets and signal interrupts. This was originally seen as an interrupt storm that consumes about 50% of CPU0 on affected machines. The issue was originally discovered in 2012 by Matthew Garret with a partial fix in Grub, then Lukas Wunner added a fix for the Linux kernel in 2016. This piggy-backs on the most-related driver (bwi) for the purpose of detection and mapping the control registers, but does not actually register the driver if the affected chip is detected. See this archived discussion for further analysis of the bug: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1165355.html ok kettenis stsp
2019-05-10Enable the test on octeon. Ignore the fact that the test cannot workVisa Hankala
on CN3xxx where the TLB does not implement the execute inhibit feature. OK guenther@
2019-05-10Let the test build on mips64.Visa Hankala
OK guenther@
2019-05-10syncTheo Buehler
2019-05-10Always make the default answer 'dhcp' on unconfigured interfaces.Kenneth R Westerback
Allow 'dhcp' even if the install media lacks /sbin/dhclient. Great simplification of code. ok florian@
2019-05-10Regress libedit needs header files generated during src libeditAlexander Bluhm
build. Improve dependencies to resolve this more reliably. requested by claudio@
2019-05-10regenJonathan Gray