239482 Commits

Author SHA1 Message Date
christos
54e7435b9e PR/50526: David Binderman: Fix incorrect test 2015-12-13 19:18:32 +00:00
christos
efcbf20b13 PR/50527: David Binderman: Fix impossible code. Odd offsets need special
treatment.
2015-12-13 19:06:43 +00:00
christos
7273e27bf7 PR/50529: David Binderman: Remove double sizeof 2015-12-13 18:58:13 +00:00
christos
f2d1d0f2f7 PR/50528: David Binderman: remove sizeof(sizeof(x)) 2015-12-13 18:53:57 +00:00
christos
ca395ddd87 PR/50530: David Binderman: Add missing printf args 2015-12-13 18:51:14 +00:00
christos
0ad388edf1 PR/50531: David Binderman: Add missing printf args 2015-12-13 18:41:09 +00:00
christos
23d819855e PR/50532: David Binderman: Add missing fclose. 2015-12-13 18:38:23 +00:00
christos
5d545ea021 PR/50533: David Binderman: Fix incorrect logic 2015-12-13 18:35:26 +00:00
christos
04cb474ace PR/50535: David Binderman: Fix nonsense strcmp 2015-12-13 18:31:09 +00:00
christos
94b599c97e PR/50536: David Binderman: fix incorrect sizeof 2015-12-13 18:29:00 +00:00
christos
5a2e6e9910 PR/50537: David Binderman: fix bad sizeof 2015-12-13 18:24:50 +00:00
christos
1584d030d7 PR/50547: David Binderman: fix bad sizeof 2015-12-13 18:14:13 +00:00
christos
c7fdb70dcd PR/50546: David Binderman: Fix bad sizeof 2015-12-13 18:09:00 +00:00
jmcneill
e6535ce7d1 fdt glue for gic 2015-12-13 17:45:37 +00:00
jdc
d7a5c44e26 Note the sensor number in the error output. Useful for drivers adding
multiple sensors.
2015-12-13 17:41:48 +00:00
jmcneill
d59db8d057 Use fdt for device enumeration. 2015-12-13 17:39:19 +00:00
jmcneill
e2ae05f0b2 Add a framework for enumerating devices using a Flattened Device Tree (FDT). 2015-12-13 17:30:40 +00:00
jmcneill
b4b3fcc73d Support direct config. 2015-12-13 17:15:06 +00:00
jmcneill
ecc11e2fc3 allow child devices to be passed in attach args instead of device dictionary 2015-12-13 17:14:56 +00:00
jmcneill
0f1d950746 Add build glue. 2015-12-13 17:07:13 +00:00
jmcneill
bce6466671 Fix build 2015-12-13 17:06:14 +00:00
macallan
6233fbe71e re-import libfdt for kernel use 2015-12-13 16:45:07 +00:00
christos
19d921e536 need definition 2015-12-13 16:11:14 +00:00
maxv
e3befc155e Implement amd64 support for SMEP - Supervisor Mode Execution Protection.
Now, on CPUs that support this feature, if the kernel tries to execute
an instruction located in userland, the CPU will trigger a page fault.

Tested on amd64 (Intel Core i5).
2015-12-13 15:53:05 +00:00
christos
07d3d8c47c fix the build. 2015-12-13 15:22:31 +00:00
wiz
31423cb620 Fix typo. 2015-12-13 15:13:03 +00:00
maxv
1848fa424a Retrieve cpuid7 (Structured Extended Features) into ci_feat_val. 2015-12-13 15:02:19 +00:00
christos
6ddc858cb0 mention ip6addrctl 2015-12-13 14:54:17 +00:00
christos
aea941751f add addrctlpolicy 2015-12-13 14:28:12 +00:00
christos
94ae268a8f mention ip6addrctl 2015-12-13 14:24:47 +00:00
tron
ce945c29d6 (Hopefully) fix build without IPv6 support 2015-12-13 14:06:13 +00:00
jmcneill
6191c2d1d9 pass addr_shift 1 to of_enter_i2c_devs 2015-12-13 11:51:37 +00:00
jmcneill
6c8f099ec7 add an addr_shift parameter to of_enter_i2c_devs 2015-12-13 11:51:13 +00:00
jmcneill
af67de37a7 OF properties are stored in big endian, but the host might not be. Swap
the value of the "reg" property where appropriate.
2015-12-13 11:00:01 +00:00
cyber
c0fdefd598 mvsdio does not work on OPENRD, disable it.
Tested on OpenRD-Client, causes infinite loop during autoconf when enabled.
2015-12-13 04:55:12 +00:00
christos
4f497f781b Add defaults for ip6addrctl 2015-12-13 02:27:06 +00:00
christos
5ea0d1a896 Add ip6addrctl 2015-12-13 02:26:08 +00:00
christos
74b43a68f9 add ip6addrctl 2015-12-13 02:06:16 +00:00
christos
ff0756d560 Add ip6addrctl 2015-12-13 02:05:15 +00:00
christos
1e3e3fab0f Implement the address selection policy; from FreeBSD 2015-12-13 02:02:59 +00:00
wiz
7e13424c5b Whitespace nit. 2015-12-12 23:55:42 +00:00
christos
1078cb9176 add ip6addrctl 2015-12-12 23:43:36 +00:00
christos
e76d43c99f Add ip6addrctl 2015-12-12 23:42:43 +00:00
christos
b649613962 Add ip6addrctl from FreeBSD 2015-12-12 23:35:56 +00:00
christos
5b5956f338 Hook up the addrctl stuff that's already there. 2015-12-12 23:34:25 +00:00
jmcneill
c2c3e4cd11 Change the meaning of of_compatible return values >= 0. Previously, the
function would return the index of the matching compatibility string in
the "strings" parameter on success. None of the callers in tree use this,
so instead change the function to return a reverse index of the matching
compatibility string in the phandle's "compatible" property. The result is
that the function will return a higher number for earlier "compatible"
matches.

Add a new of_match_compatible() that simply returns of_compatible() + 1,
for use in driver match functions.
2015-12-12 22:22:51 +00:00
marty
a94d6459aa XU4: Fix build
missed a dependency on evbarm/odroid that should have been evbarm/exynos.
2015-12-12 21:57:40 +00:00
marty
3a54f27abe XU4: re-enable gpio
c'n'p error left gpio disabled.  fixed.
2015-12-12 21:56:54 +00:00
nros
33961e7b90 Add manpage to the fma function in libm.
The manpage is taken from the FreeBSD project since the fma implementation is
based on the one in FreeBSD.
2015-12-12 19:05:45 +00:00
christos
f47ab3a37e Introduce bozo_strdup and bozo_asprintf to add error checking and reduce
code duplication.

Note that bozo_strdup is different that bozostrdup; the _ routines exit
loging error to syslog or stderr, whereas the non _ routines send error
responses to the http client.
2015-12-12 18:06:58 +00:00