macallan
a1a8a2a589
use bus_space_map()
2016-07-24 16:47:49 +00:00
maxv
d93fe1fd9b
The MSR EFER state is not saved and restored when sleeping on i386. On PAE,
...
the CPU crashes right after waking up, since it needs to access NOX-ed
pages, which are to be enabled in an MSR.
Fix this by properly saving and restoring the EFER MSR. It's a little
tricky since the wakeup code uses %edx, but rdmsr overwrites it. We just
save it in %esi.
Now, the CPU sleeps properly on PAE kernels.
2016-07-24 14:09:22 +00:00
njoly
60a6866ba5
Regen for readlink/readlinkat signatures.
2016-07-24 13:23:25 +00:00
njoly
733b812ef7
Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs with
...
native.
2016-07-24 13:22:01 +00:00
maxv
ee1c6cfc3b
KNF, and reduce the diff between amd64 and i386.
2016-07-24 13:04:58 +00:00
matt
fbaba5f3ad
Lock the tlbinfo if it wasn't when doing a pmap_tlb_pai_check
2016-07-23 20:06:25 +00:00
jakllsch
baeef86dd4
Fix typo in string.
...
This is a driver for the AS3722 PMIC, not the AS3822 LED driver.
2016-07-23 19:14:36 +00:00
jakllsch
ad1d683e6a
Also check the compatibles table when the size is below zero.
...
Fixes an aprint_error() on Jetson TK1.
2016-07-23 18:02:10 +00:00
jakllsch
afb4dd7e8f
Use one more value from "locators.h", also make sure 'size' is initialized.
2016-07-23 18:00:01 +00:00
jakllsch
a28a80c94c
Use values from "locators.h" when constructing locators array to be sure
...
of correct index;
2016-07-23 17:42:37 +00:00
is
39d0249096
Print the IPv6 or IPv4 source addresses of packets with wrong hash, to
...
help debugging.
2016-07-23 13:37:10 +00:00
is
b28e881a39
Workaround for PR 47013 by bouyer@. Only works for mixed IPv4/IPv6
...
environemnts, not for pure-IPv6 yet. A real fix is still needed.
2016-07-23 12:19:07 +00:00
kre
04e8d55d65
Always define MKNOD, even if we don't think we need it (turns out we do,
...
sometimes...) Noticed by Michael Plass reported on current-users.
2016-07-23 06:48:27 +00:00
kre
a5229b934a
Cause rc to abort if mounting any of the critical local filesystems fails
...
rather than just ignoring the error.
Don't bother attempting to clear the contents of /var/run if /var/run
does not exist.
In that case the mkdir of /var/run/lvm would have failed - correct that
by using mkdir -p (which as a side effect will ensure /var/run exists
and is available for later scripts to use if for some reason it did not exist.)
2016-07-23 01:38:35 +00:00
matt
96f7f6331a
When mapping a dmamem page, make sure to trunc_pae the starting address
2016-07-22 19:50:44 +00:00
maxv
09c0f3ded7
Remove pmap_prealloc_lowmem_ptps on amd64. This function creates levels in
...
the page tree so that the first 2MB of virtual memory can be kentered in
L1.
Strictly speaking, the kernel should never kenter a virtual page below
VM_MIN_KERNEL_ADDRESS, because then it wouldn't be available in userland.
It used to need the first 2MB in order to map the CPU trampoline and the
initial VAs used by the bootstrap code. Now, the CPU trampoline VA is
allocated with uvm_km_alloc and the VAs used by the bootstrap code are
allocated with pmap_bootstrap_valloc, and in either case the resulting VA
is above VM_MIN_KERNEL_ADDRESS.
The low levels in the page tree are therefore unused. By removing this
function, we are making sure no one will be tempted to map an area below
VM_MIN_KERNEL_ADDRESS in kernel mode, and particularly, we are making sure
NULL cannot be kentered.
In short, there is no way to map NULL in kernel mode anymore.
2016-07-22 14:08:33 +00:00
maxv
5afbe75687
Simplify pmap_alloc_level. It is designed to work only with normal_pdes and
...
PTP_LEVELS, so don't pass them as argument. While here, explain what we are
doing.
2016-07-22 13:01:43 +00:00
jakllsch
e30127d7a8
Space before tab and trailing whitespace fixes.
2016-07-22 12:55:34 +00:00
maxv
dd93e2d12a
Unused.
2016-07-22 12:36:03 +00:00
knakahara
ef38d1c0f4
Reduce KERNEL_LOCK thereby ifq_lock is used by default.
...
if_snd is always excluded by ifq_lock now. So, the KERNEL_LOCK in if_transmit()
which serializes packet output processing is not needed now.
2016-07-22 07:13:56 +00:00
knakahara
b14a26cee3
Toward NET_MPSAFE-on in future, if_snd uses if_snd->ifq_lock by default.
...
That can reduce confusing difference between NET_MPSAFE on and off.
2016-07-22 07:09:40 +00:00
jakllsch
91be397f74
Add ATA8-ACS Long Logical Sector Feature Set support to wd(4).
2016-07-22 04:08:10 +00:00
christos
8eaf47c146
Don't include <mips/locore.h> in <machine/intr.h>, introduces circular
...
dependencies; instead include it in the 4 driver files that need it,
and reorder it in machdep.c
2016-07-21 19:49:58 +00:00
jakllsch
4821310465
Call wd_params_to_properties() after softc is sufficently
...
initialized.
2016-07-21 19:05:03 +00:00
jakllsch
580ae47a86
Remove unused 'params' argument of local function wd_params_to_properties()
2016-07-21 18:54:13 +00:00
christos
62df808c02
add NOPIE
2016-07-21 18:50:21 +00:00
christos
0d5ace558d
replace variable stack declaration with a large enough one and KASSERT.
2016-07-21 18:21:27 +00:00
christos
90668226c4
Don't do variable stack allocations for systems with non-const PAGE_SIZE;
...
instead assume that the smallest pagesize is 1024.
2016-07-21 18:10:47 +00:00
christos
687ac45a6a
remove .MIPS.abiflags to avoid objcopy creating a 0x20000000 large boot file.
2016-07-21 17:45:00 +00:00
christos
67c90d24d8
make this compile
2016-07-21 17:02:47 +00:00
christos
a1d395d60e
make this compile.
2016-07-21 17:02:15 +00:00
christos
d78413be59
more stack protector
2016-07-21 16:47:50 +00:00
njoly
d1b4525986
According to Opengroup online specifications[1], _POSIX_CPUTIME and
...
_POSIX_THREAD_CPUTIME options should be present in unistd.h not
limits.h. Move them with other options.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html
2016-07-21 16:01:58 +00:00
shm
febbddea26
Fix error checks in open(2) calls.
2016-07-21 12:29:37 +00:00
christos
330a03324f
Add -lz to makefile to fix the build.
2016-07-21 12:24:54 +00:00
skrll
d6309e9a65
Fix typo in comment
2016-07-21 12:17:07 +00:00
kiyohara
4547563530
Attach atphy instead of ukphy.
2016-07-21 09:10:55 +00:00
msaitoh
3ee664bbf4
Update processor families from the latest Intel SDM:
...
- 06_4FH: Add Xeon E7 v4 and Core i7-69xx Extreme Edition
- 06_57H: Xeon Phi [357]200
2016-07-21 08:37:18 +00:00
dholland
ebd6c2ad3e
+ PTO parent-teacher organization
...
(also PTA)
2016-07-21 05:07:04 +00:00
ozaki-r
60f4a9a871
Make complex RTM_CHANGE code understandable
...
Tests for route change added recently would reduce the possibility of
regressions.
Reviewed by ryo@
2016-07-21 03:45:56 +00:00
ozaki-r
3db8106383
Add some tests for route change
2016-07-21 02:02:30 +00:00
ozaki-r
852524ba75
Remove extra grep
2016-07-21 01:56:54 +00:00
ozaki-r
261b1cf92f
Make the test name self-descriptive
2016-07-21 01:56:27 +00:00
christos
466a5d87d2
don't die printing a name we don't have
2016-07-21 00:10:57 +00:00
christos
eae41fc0ae
put ctf lint library back. need to investigate more.
2016-07-20 23:36:23 +00:00
christos
434e55df7c
PR/51353: Patrick Mackey: mld6query "-r" option is not recognised
...
XXX: pullup 7
2016-07-20 23:19:18 +00:00
macallan
6f0091eead
use bus_space_map() instead of fudging our own bus_space_handle_t
2016-07-20 22:16:37 +00:00
christos
285a8995e1
unnamed unions need special treatment since they need braced initializers
...
for old style initializations.
2016-07-20 21:02:04 +00:00
shm
ef0b7ea3b6
CID 976523: add FALLTHROUGH
2016-07-20 20:18:21 +00:00
christos
353946982c
cplusplus does not like complex named initializers...
2016-07-20 20:06:04 +00:00