Commit Graph

247032 Commits

Author SHA1 Message Date
maxv 3a8b7cad7a Remove a wrong comment - the FPU save size should never be percpu -, and
be more explicit about Xen.
2016-12-17 15:23:08 +00:00
christos 22cb066ca7 fix broken, audio_{g,s}et_port logic. 2016-12-17 15:18:28 +00:00
maxv 6a465fb501 Add MODULAR in Xen kernels. 2016-12-17 14:49:26 +00:00
flxd aea86e7b75 Fix typo "one the" and architecture where appropriate. 2016-12-17 14:36:29 +00:00
maxv 4e17abe277 Put a limit in the percpu segment, so we can detect overflows on %fs. 2016-12-17 14:27:53 +00:00
maxv 2cf1fa0bd5 Fix the name of the labels. I think I got confused by jne, so while here
replace it by jnz, which is more explicit.
2016-12-17 13:49:05 +00:00
maxv 663ef5ea2b Use pmap_bootstrap_valloc and simplify. By the way, I think the cache
stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so
nothing guarantees there is no false sharing.
2016-12-17 13:43:33 +00:00
maya 1b6aaa82cd Fix regression introduced by myself with the addition of da_fb_linebytes
tegra_fb was not adjusted so da_fb_linebytes was used uninitialized

add tfa_fb_linebytes and match radeonfb/nouveaufb code in how we set it
switch to using an initializer to hopefully avoid future errors

this change doesn't need to be pulled up, as tegra_fb.c is absent
in netbsd-7
2016-12-17 12:11:38 +00:00
wiz 31a419311f Fix typo. 2016-12-17 10:25:49 +00:00
mlelstv d19ac03c1e Print previously missing fields from a TCP6 PCB. 2016-12-17 09:12:22 +00:00
maya 9faa971c56 Change one more "generic DHCP client" reference to say dhcpcd rather
than dhclient
2016-12-17 07:44:59 +00:00
maya 17af23f753 Reference dhcpcd as the sole DHCP client in general man pages.
We'd rather have new users use dhcpcd. hopefully this eliminates some
unnecessary confusion about there being two clients.
2016-12-17 07:37:24 +00:00
abhinav adaa892a13 Fix typo 2016-12-17 06:17:16 +00:00
riastradh 10e7aa0dd3 Omit needless nullmmap.
Convert the one user of it to nommap.  No functional change to the
device driver, since uvm interpreted nullmmap just like nommap.

This slightly changes the uvm ABI so that the function pointer nullop
is no longer interpreted as non-mmappable.  I do hereby declare that
I am surfing the kernel version bump from a few hours ago.
2016-12-17 03:46:52 +00:00
christos 272d6823df fix clang build. 2016-12-17 03:43:38 +00:00
uwe 1c4039c864 PR 51724 - landisk fails to reboot.
machine_reset() - instead of trying to cause an invalid data access
that gcc will optimize away, just use "trapa" instruction.

G/c assignment to EXPEVT, it will be set by the actual reset.  That
assignment has been probably cargo-culted from cpu_reset() that
manually jumps to 0xa0000000 (the reset address) instead of triggering
a reset.

TODO: This code should be SuperH generic cpu_reset().
2016-12-17 01:32:22 +00:00
uwe 677cac1588 Declare machine_cpu() __dead.
G/c the endless loop after calling it in cpu_reboot().
2016-12-17 01:10:38 +00:00
riastradh 0b9421566f Welcome to 7.99.51, courtesy replacement ABI for nommap. 2016-12-16 23:37:21 +00:00
riastradh 51beee07d0 Fix return value of nommap. 2016-12-16 23:35:04 +00:00
macallan b02971f219 use hardware rendering for anti-aliased fonts 2016-12-16 23:34:46 +00:00
macallan f030fde4e0 flesh out alpha operations properly 2016-12-16 23:31:16 +00:00
christos 106004c5bd fix reversed test, NULL for clarity. 2016-12-16 22:14:15 +00:00
christos f573ca787d add sys/psref.h 2016-12-16 22:11:04 +00:00
christos 27e30c98be install psref.h now that <net/route.h> needs it. 2016-12-16 22:10:12 +00:00
christos c439dfcc07 catch attachment fault sooner. 2016-12-16 22:03:10 +00:00
maxv a3fb0247bf This can actually be enabled in Xen; my rev1.235 fixed the issue. Before
that kern_end was pointing to DUMMY PAGE, which was already kentered
earlier in xen_locore, causing pmap to panic.

This change adds support for kernel modules in Xen.
2016-12-16 20:16:50 +00:00
christos 83d1497cf4 hide functions from userland. 2016-12-16 20:12:11 +00:00
christos fb7054ae79 Can't hide stuff from userland, because struct route is embedded in other
structures (like inpcb) and things like fstat stop working.
2016-12-16 20:11:52 +00:00
maxv 8a3e058bbd The way the xen dummy page is taken care of makes absolutely no sense at
all, with magic offsets here and there in different layers of the system.
It is just blind luck that everything has always worked as expected so
far.

Due to this wrong design we have a problem now: we allocate one physical
page for lapic, and it happens to overlap with the dummy page, which
causes the system to crash.

Fix this by keeping the dummy va directly in a variable instead of magic
offsets. The asm locore now increments the first pa to hide the dummy page
to machdep and pmap.
2016-12-16 19:52:22 +00:00
abhinav e5909f155b Fix sentence. 2016-12-16 17:20:52 +00:00
christos d5a529f19c On failed attach hw_if is NULL, so guard against it in more places. Should
avoid crashes people have been seeing recently.
2016-12-16 16:03:28 +00:00
mlelstv 203fa789e4 Make dk(4) device mpsafe. 2016-12-16 15:06:39 +00:00
mlelstv 37f6f2e866 Add locking for periph_active and flags. The operations aren't atomic. 2016-12-16 15:00:52 +00:00
mlelstv f572c6cbcd add comment about "missing" dk_start. 2016-12-16 14:58:53 +00:00
maya 947ba5cabb Don't block suspend when uslsa(4) is attached - it works fine. 2016-12-16 14:56:34 +00:00
nonaka 416aac6b10 hdaudio(4): Use pci_intr_alloc(9)/pci_intr_release(9). 2016-12-16 11:34:52 +00:00
ozaki-r 11a1604c2d Add tests for multiple routers 2016-12-16 09:11:18 +00:00
ozaki-r 2e89e8b1dc Unify common routines 2016-12-16 09:10:37 +00:00
ozaki-r 237c29ba3d Avoid using /var/run/rump.rtadvd.pid 2016-12-16 09:10:08 +00:00
ozaki-r 0739b470cb Support -p <pidfile> option
It's needed to avoid using /var/run/rtadvd.pid on ATF tests and
run multiple instances of rump.rtadvd on a test.
2016-12-16 09:09:38 +00:00
knakahara 7ae52b382e fix unlock and splx inversion. Currently, this doesn't cause problem because either one is used. 2016-12-16 08:47:36 +00:00
msaitoh 956e905946 Add missing IFM_FDX. 2016-12-16 08:41:01 +00:00
msaitoh e9b57edb75 Remove extra newline in debug printfs. ixgbe's *DEBUGOUT* macros automatically
add newline.
2016-12-16 08:30:20 +00:00
msaitoh 048b1c4c30 The rx_bytes event counter is cleared when if_init() is called, but not for
rx_packets. It's inconsistent. It makes rx_packets is bigger than rx_bytes.
IMHO, it's not required to clear them. At least the above comment says
"/* Setup our descriptor indices */". It's not descriptor indice...
2016-12-16 08:24:40 +00:00
rin 010df59ee4 Remove needless goto's. No functional changes. 2016-12-16 06:29:11 +00:00
mrg f1582e88f7 scandir/alphasort take "const struct dirent **" not "const void *" in
modern unix.  since we claim to be 'IEEE Std 1003.1-2008', make it so.
2016-12-16 04:45:04 +00:00
rin fcf5a6f169 Fix typo: s/IPKBD/IPKDB/ 2016-12-16 04:27:03 +00:00
rin d0e34aac46 Fix comments. No functional changes. 2016-12-16 03:59:31 +00:00
ozaki-r 6e275c7668 Add a test case that deletes auto-configured addresses 2016-12-16 03:49:45 +00:00
ozaki-r da9347803d Improve stability of the tests
- Do ifconfig -w 10 after ifconfig up
- Accept /1d0h0m..s/ in addition to /23h59m..s/ for expiration time
- Prevent new RA messages from coming after flushing entries

The changes should fix flapping of test results on babylon5.
2016-12-16 03:14:23 +00:00