summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-26Add two IDT PCIe switches found in a SPARC T4-1 and tweak another one toMark Kettenis
not include the revision of the chip.
2017-12-26Cherry-pick a change from LLD to make the behavior of the -v optionPatrick Wildt
more closer to GNU linkers. This should help with autoconf/libtool compatibility in ports. Requested by Brad "no objection" kettenis@
2017-12-26Update to compiler-rt 5.0.1.Patrick Wildt
ok kettenis@
2017-12-26Cherry-pick a change from LLVM that marks specific pseudo memoryPatrick Wildt
instructions to have side effects so the optimizer does not reorder them across fnstcw/fldcw sequences. Fixes a bug seen in sqlite3 on i386. ok kettenis@
2017-12-26Missed in previousJeremie Courreges-Anglas
Spotted by patrick@, thanks
2017-12-26The hack for /dev/fd support on systems without it was removed aTodd C. Miller
long time ago. Update the comments and replace test_stat() calls with stat() since test_stat() now just calls stat() directly. Also rename the "mode" parameter to "amode" in test_eaccess() to match access(2) and make it clear that this is the access mode and not the file mode. OK jca@
2017-12-26Correct register numbers for AXP809.Mark Kettenis
2017-12-26As the divert-to pf state is not connected, it is not linked to theAlexander Bluhm
incpb and so not removed when the socket is closed. Packets matching reply and reply-to states are linked to the sockets immediately. So these states must go away when the socket is closed. Check this with the output of "pfctl -s states" after running the Perl scripts.
2017-12-26syncJeremie Courreges-Anglas
2016-09-05Import libcompiler_rt 3.9.0, LLVM's replacement for libgcc.Pascal Stumpf
This is the lib/builtin directory of the compiler-rt source tarball. comments/ok patrick@, ok kettenis@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-12-26Use a version script to limit exported symbolsJeremie Courreges-Anglas
ok ratchov@ kettenis@
2017-12-26syncMark Kettenis
2017-12-26Add ARM EABI runtime aliases to the GCC runtime functions that we includeMark Kettenis
in libc. ok patrick@, jsg@, guenther@
2017-12-26drm/i915: call kunmap_px on pt_vaddrMark Kettenis
From Matthew Auld 44a7102484db0ddfa6f855b57ffe0566f739b55a in mainline linux Pointed out by Martin Ziemer
2017-12-26Sync Allwinner A64 pin defenitions with Linux.Mark Kettenis
Add support for the 2nd A64 controller. Add Allwinner A33 support.
2017-12-26Implement support for the "next-generation" clock bindings for theKevin Lo
Allwinner A23/A33. ok kettenis@
2017-12-26Fix channel initialization by not using the same loop variable in nestedPatrick Wildt
for-loops. Oops.
2017-12-25Markup SIGHUP and rework sentence; ok jmc@anton
2017-12-25syncPatrick Wildt
2017-12-25memcpy from the right place. at this point, the used variable is notTed Unangst
relevant. from Mark Karpilovskij. ok millert
2017-12-25Tedu files that got removed in LLVM 5.0.1.Patrick Wildt
2017-12-24Update to LLVM 5.0.1 which apparently includes plenty of bugfixes.Patrick Wildt
Requested by Brad Tested by me on amd64 Tested by bluhm on i386 Tested by kettenis on arm64, armv7 and sparc64
2017-12-24Re-enable the code that unmaps the startup code. This was temporarilyMark Kettenis
disabled while lld was growing up, but forgotten about when gap.o was added back. ok deraadt@
2017-12-24Merge LLVM 5.0.1 release.Patrick Wildt
2017-12-24Import LLVM 5.0.1 release including clang, lld and lldb.Patrick Wildt
2017-12-24Consolidate printf(3) calls at the end of main().cheloha
Makes reading the classification algorithm easier. ok tb@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2017-12-24Add a PCI attachment driver for bwfm(4). It's not finished, but it'sPatrick Wildt
already past the point where development can occur out of the tree. With this I can successfully scan for access points and tell the chip to attach to an SSID. RX path should work as well, but since I forgot to bring the antenna with me to my parents, the reception is a bit horrible in the metal enclosure. There are a few reasons this driver is rather big. First we set up the ARM Cores, uploading the firmware and kicking it off. Then we need to read all needed information from the registers. Once that is done we have to set up countless buffers. There are 2 TX rings and 3 RX rings, plus N TX rings for the actual data that is yet to be implemented. Merry Christmas! ok kettenis@
2017-12-24For systems where the cpu node in the device tree has a "clocks" property,Mark Kettenis
implement hw.cpuspeed using the clock framework. ok patrick@
2017-12-24For systems where the cpu node in the device tree has a "clocks" property,Mark Kettenis
implement hw.cpuspeed using the clock framework. ok patrick@
2017-12-24Implement A10/A20 CPU clock.Mark Kettenis
2017-12-24Use more libm.cheloha
adj360() is a modulo operation: use fmod(3) to simplify things. Adding 0.5 to the phase to steer implicit truncation is a hack: use lround(3) to simplify things. Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point rounding and the importance of correctly classifying a gibbous moon. ok pjanzen@ jca@ tb@
2017-12-24Somes fixes for the VIA PadLock drivers.Frederic Cambus
- Do not ignore the return value of m_copyback() on i386 - Always free sc->op_buf before returning on both amd64 and i386, pointed out by mikeb@, thanks! OK mikeb@
2017-12-24There was a corner case where linking the inp to the state key didAlexander Bluhm
work in pf. The function pf_inp_link() takes the state key from the mbuf and not the one pf_find_state() has just found. Introduce a new function pf_state_key_link_inpcb() that links the given state key and inpcb together with some sanity checks. OK sashan@
2017-12-24Allow SD/MMC controller drivers to allocate their own DMA mapping structureMark Kettenis
to account for any relevant hardware constraints. ok stsp@
2017-12-24Generate SIGBUS/BUS_ADRALN when we see a SP Alignment Exception from userland.Mark Kettenis
ok jsg@
2017-12-24Fix one possible buffer overflow and one underflow. Also some minorTodd C. Miller
cleanups. From Jan Kokemueller. OK deraadt@
2017-12-24Avoid comparing equal lines twice when running without -i.Theo Buehler
From kshe, ok jca
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha
While here, use err(3) instead of errx(3) if adjtime(2) fails. Discussed/tweaked with/by tb@ and jca@. ok tb@ jca@
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha
ok tb@ jca@
2017-12-23Use the monotonic clock for logging progress in cdio(1) and ftp(1).cheloha
Keeps the progress log from blipping or stalling if, e.g., the system time is changed in the midst of a rip or a transfer. ok tb@ jca@
2017-12-23regenMike Larkin
2017-12-23Add missing Sunrise Point-H I2C controller PCI IDsMike Larkin
2017-12-23Make it clear that MFS can be used for the noperm permission holding DESTDIR.Stuart Henderson
(If anyone needs a bit more handholding than is in release(8), the faq page https://www.openbsd.org/faq/faq5.html#Release has more information about setting this up). Much simplified from, but inspired by, various diffs from ians@. ok tb@ jmc@
2017-12-23Remove stray space.Mark Kettenis
2017-12-23Sync Allwinner H3/H5 pin definitions with Linux.Mark Kettenis
2017-12-23the trick to get signal names requires skipping over POSIX stuff we don'tMarc Espie
have now. as seen by landry@
2017-12-23Avoid null-pointer dereference wen a device tree refers to a pin-functionMark Kettenis
that doesn't exist.
2017-12-23scrolling: take care of noise.Ulf Brosziewski