summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-14remove uneeded sa1111_reg.h includeJonathan Gray
ok kettenis@
2016-08-14Remove code for Intel 80219/80321 xscale processors used by armish.Jonathan Gray
Generic xscale support and support for pxa2x0 used by zaurus remains.
2016-08-14Fix setting the SMP bit in the Auxiliary Control Register. The old code wasMark Kettenis
toggling the bit, clearing it when already set. On Cortex-A7 setting the SMP bit is essential since without it the CPU doesn't actually use its caches. The SMP bit supposed to be set before turning on the caches and the MMU, so move the setting of the Auxiliary Control Register before setting the System Control Register. ok jsg@
2016-08-14Allow a bus_dmamap_sync() of length zero.Mark Kettenis
ok tedu@
2016-08-14Xr encrypt(1) in the explanation of the -p option.Theo Buehler
ok jmc
2016-08-14shorten genpkey; ok guentherJason McIntyre
2016-08-14Remove some annoying debug printfs to get rid of u_quad_t in cnmac.Visa Hankala
2016-08-14Utilize the TLB Execute-Inhibit bit with non-executable mappings on CPUsVisa Hankala
that support the Execute-Inhibit exception. This makes user space W^X effective on Octeon Plus and later Octeon versions. Feedback from miod@, thanks! No objection from deraadt@
2016-08-14u_quad_t -> uint64_tDavid Gwynne
de is amazing(tm). it really should be cut back and simplified a bit.
2016-08-14Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inPhilip Guenther
function names to match. Pull some tangled assignments out of conditions and use >>= where possible. ok millert@
2016-08-14Mark the relro/got section as read-only before setting up the environmentPhilip Guenther
to minimize the amount of code run without it RO.
2016-08-14Turning off relro shouldn't insert padding into the middle of the relroPhilip Guenther
section; remove the PAD_GOT0 use that I should have deleted before. This caused ld.so crashes on arm when building binutils. critical debugging observations by kettenis@
2016-08-14change some types in bio from u_quad_t to uint64_t, and fix casts inDavid Gwynne
drivers that fill that field in too. quad types are going away.
2016-08-14replace u_quad_t with uint64_t.David Gwynne
guenther is proposing the removal of u_quad_t. uint64_t is more portable. tested on a perc5 and perc6, no functional change.
2016-08-13use -nosplit for AUTHORS: looks much better, to the point where i wonder why ↵Jason McIntyre
we don;t just enforce this...
2016-08-13Add the shim to make dwge(4) attach to simplebus(4). This brings usMark Kettenis
working gigabit on the Allwinner A20. Probably won't work yet on other Allwinner SoCs due to differences in how the clocks get set up. Based on an earlier diff from patrick@.
2016-08-13Add GMAC clock support. Based on an earlier diff from patrick@.Mark Kettenis
2016-08-13Missed a couple qaddr_t castsPhilip Guenther
2016-08-13Passing in &_DYNAMIC appears to have stuck, so eliminate the extraPhilip Guenther
variable
2016-08-13Eliminate pointless casts to qaddr_t of a value being assigned to a void*Philip Guenther
ok kettenis@ krw@ natano@ dlg@ espie@
2016-08-13dwge(4)Mark Kettenis
2016-08-13Add the core of the code for dwge(4), a driver for the Synopsis DesignwareMark Kettenis
GMAC core which is used on the Allwinner A20 SoCs and later SoCs in the Allwinner family. Since this core is very likely to show up the base of other devices, it gets to live here in dev/ic. Ported from NetBSD (where it is named awge(4)) by patrick@. Some further fixes by me. ok deraadt@
2016-08-13shorten gendsa;Jason McIntyre
2016-08-13%lld -> %llu for u_int64_t struct fields.Kenneth R Westerback
2016-08-13remove ssh1 server code; ok djm@Markus Friedl
2016-08-13As the relevant struct's (e.g. tcpstat) use [u_]int64_t types, theKenneth R Westerback
proper printf() format is %ll[ud], not the antediluvian %q[ud]. Reminded by guenther@'s proposed retirement of quad types. ok tedu@
2016-08-13modern interfaces should use modern speelings, so spell quad_t as int64_t.Ted Unangst
2016-08-13syncTheo de Raadt
2016-08-13Remove entries that are no longer needed.Mark Kettenis
2016-08-13Avoid leaking memory if tls_config_set_alpn() is called multiple timesJoel Sing
(this was in the original commit, but got reverted in the recommit).
2016-08-13Let libtls load the CA, certificate and key files for nc(1), now that itJoel Sing
does this at the time the tls_config_set_*_file() function is called. ok bluhm@
2016-08-13Load CA, certificate and key files into memory when the appropriateJoel Sing
tls_config_set_*_file() function is called. This allows us to immediately propagate useful error messages, play more nicely with privsep/pledge and have a single code path. Instead of always loading the default CA when tls_config_new() is called, defer and only load the default CA when tls_configure() is invoked, if a CA has not already been specified. ok beck@ bluhm@
2016-08-13Split out the SSL options handling into a separate function, which makesJoel Sing
for more readable code and reduces line wrapping. Also improve error messages by adding tls_config_error() to errx() where appropriate. ok jca@
2016-08-13Kill FUSE_ROOT_ID and use FUSE_ROOTINO instead. Also, remove one (ino_t)Martin Natano
cast from FUSE_ROOTINO, as it is already included in the #define. ok kettenis
2016-08-13Use regulalator API instead of private functions.Mark Kettenis
2016-08-13Build ofw_regulator.o.Mark Kettenis
2016-08-13Add a minimal regulator "framework".Mark Kettenis
ok jsg@, patrick@
2016-08-13Even after switching from a pending head to the body, we have toIngo Schwarze
continue scanning upwards, because the enclosing block might already be pending as well, e.g. .Bl .Bl .It Bo .El .It. Tree corruption leading to a later NULL deref found by tb@ with afl(1).
2016-08-12Simplify getprec() by using strchr(3) and strspn(3).Theo Buehler
Part of NetBSD's jot r1.20 by dsl. ok jca
2016-08-12Include map entries that have an amap associated with them in the coredump.Mark Kettenis
This fixes coredumps of processes that use relro to make part of their writable address space read-only. ok guenther@
2016-08-12Rewrite the paragraphs that describe how the last four arguments areTheo Buehler
handled to make them easier to read and understand. with help from jmc
2016-08-12usage() is __deadTheo Buehler
2016-08-12The last four argumens of jot (reps, begin, end, step) can all beTheo Buehler
specified or omitted, yielding 16 possible combinations, plus a few special cases. Instead of hardcoded values, use names to make the bit patterns that indicate which values were specified human readable. Decide once and for all what to do in a single switch statement. Don't enter said switch when random output is requested since that simply makes no sense at all. While there, make the error messages a bit more meaningful and fix a bogus value assigned to begin for jot -r x - y z that has been there since -r1.1. All regression tests now pass. Inspired by David Laight (dsl)'s r1.21 of NetBSD's jot. "move fast and break stuff" tedu agreement from deraadt
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
libc arc4random API, so call them _dl_{arc4random,arcrandombuf} ok tedu guenther
2016-08-12Dedup vnode type information. Fuse stores the vnode type in two places:Martin Natano
vtype in struct fusefs_node and v_type in struct vnode. Given the fact, that fusefs_node structs are never allocated without an associated vnode and those two fields are always in sync, one of those locations is superfluous. While there remove the unused nlookup field. ok mpi
2016-08-12Hook up sxipio(4) to the generic gpio code.Mark Kettenis
2016-08-12Use 2001:db8::/32, the official IPv6 subnet for configuration examples.Jeremie Courreges-Anglas
This makes the IPv6 example consistent with IPv4, and removes a dubious mention of a 6bone subnet. ok sthen@ millert@
2016-08-12Call pinctrl_byname() such that ports left unconfiguraed by u-boot will workMark Kettenis
as well. ok deraadt@, millert@
2016-08-12Hook up sxipio(4) to the generic pinctrl code. The device binding is prettyMark Kettenis
retarded, requiring tables to map text strings to the apropriate numbers. These tables were generated automatically from data extracted from the Linux kernel and are kept in a separate file. This should make it easy to add support for more SoCs from the same family. ok deraadt@, millert@
2016-08-12syncTheo de Raadt