Commit Graph

246390 Commits

Author SHA1 Message Date
jnemeth
6532ac6b7a Set path for includes_HEADERS. Change suggested by christos@. 2016-11-26 02:12:18 +00:00
dholland
59abaf22ec 1.6 was the first amd64 release. (although it didn't really work too well
before -5)
2016-11-26 01:09:33 +00:00
dholland
4399963d75 Note that really old compat is only useful for running 32-bit binaries.
XXX: someone please indicate what the oldest possible extant x86_64
binaries are; I can't find an authoritative source.
2016-11-26 00:34:01 +00:00
dholland
783f19ce78 fileassoc is used by PaX as well as veriexec - update note accordingly. 2016-11-25 23:33:46 +00:00
dholland
e850baa794 sort iwm* before iwn* 2016-11-25 23:15:28 +00:00
dholland
b4fd4c7a4f The compat options should all be in one block. 2016-11-25 23:06:58 +00:00
christos
5235206633 PR/51652: Sevan Janiyan: makefs dies due to segmentation fault
Don't dereference NULL when running out of nodes during rename.
2016-11-25 23:02:44 +00:00
kamil
af6e917d6c Fix several printf(3)-like functions usage with printing integers
Integers as hex shall no be printed with PRIx8, but with plain "x".

Pointed by <christos>

Sponsored by <The NetBSD Foundation>
2016-11-25 20:01:05 +00:00
tsutsui
e89ab04e6a Add a missing newline in help message. 2016-11-25 17:37:04 +00:00
skrll
1f1b3d821b regen 2016-11-25 15:37:19 +00:00
skrll
055f224744 Add an axe(4) device from OpenBSD 2016-11-25 15:35:35 +00:00
maxv
54a825ed9a Remove this comment and allow the beginning of .data to be mapped with
large pages. The issue is fixed, the lapic va is dynamically allocated
now.
2016-11-25 14:26:53 +00:00
maxv
b487884215 Move the virtual address of the LAPIC page out of the data segment on amd64
and i386. The old design was error-prone, and it didn't allow us to map the
data segment with large pages.

Now, the VA is allocated dynamically in the pmap bootstrap code, and entered
manually later. We go from using &local_apic to using *local_apic_va, and we
therefore need one more level of indirection in the asm code.

Discussed on tech-kern.
2016-11-25 14:12:55 +00:00
christos
1394df1c79 cast to register_t because not all 'struct reg' members are the right type. 2016-11-25 14:10:31 +00:00
msaitoh
9908098057 Remove #ifdef NETBSD_MSI_OR_MSIX to be simple. ixv(4) isn't attached if
__HAVE_PCI_MSI_MSIX isn't set because MSI-X must be used.
2016-11-25 13:33:24 +00:00
skrll
a7c71d30d6 +#include "opt_usb.h" 2016-11-25 12:56:29 +00:00
skrll
283b65ee1f +__KERNEL_RCSID 2016-11-25 12:53:45 +00:00
skrll
d5bd020c23 Don't always define UGENSA_DEBUG 2016-11-25 12:51:59 +00:00
skrll
45ee11117c Sort opt_* #includes 2016-11-25 12:50:13 +00:00
skrll
06e61e79f2 Remove UZCOM_DEBUG 2016-11-25 12:45:28 +00:00
maxv
415d831276 KNF a little 2016-11-25 12:20:03 +00:00
knakahara
04f2bb210b "#ifdef __HAVE_PCI_MSI_MSIX" workaround is not required any more.
see sys/dev/pci/pci_stub.c r1.6
2016-11-25 12:14:49 +00:00
knakahara
a35aea56c6 provide all PCI MSI/MSI-X manipulation stub functions.
"#ifdef __HAVE_PCI_MSI_MSIX" workaround such as nvme_pci(4) is not required
any more.
    http://mail-index.netbsd.org/source-changes/2016/09/17/msg077799.html
2016-11-25 12:10:59 +00:00
maxv
4798650788 Initialize the module map limits in amd64, not x86.
For the record: normally we could enable this code on Xen, since the
bootstrap layout is globally the same. But there appears to be an issue
in xen_locore, since any kenter in the area after kern_end triggers a
KASSERT because the va is already busy.
2016-11-25 11:57:36 +00:00
ozaki-r
5a83ceea44 Share rump_server start/stop and interface creation/destruction functions
The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.

This change reduces lots of similar setup/cleanup codes.
2016-11-25 08:51:16 +00:00
ozaki-r
731c5c346e Add $DEBUG and remove a unused function 2016-11-25 08:10:50 +00:00
ozaki-r
732b7eb4c4 Add missing head functions 2016-11-25 08:10:12 +00:00
hikaru
f9f592bf04 Add missing bpf_mtap. 2016-11-25 06:48:37 +00:00
hikaru
63460b9d44 Sync code with FreeBSD to support RSS
- Use MSI/MSI-X if it is available.
- Support TSO.

co-authored by k-nakahara
2016-11-25 05:29:54 +00:00
hkenken
8b49887fa7 * Fix compile error.
* typo
2016-11-25 05:03:36 +00:00
knakahara
ca3627eb6c make workqueue sppp_{set,clear}_ip_addrs to be able to call pserialize_perform. 2016-11-25 05:03:12 +00:00
knakahara
cc9ef345db refactor sppp_{set,clear}_ip_addrs(). reduce iterating if_addr_pslist. 2016-11-25 05:00:29 +00:00
christos
cb663e7b10 fix register names 2016-11-25 02:27:43 +00:00
christos
5b538677ea Move the #endif down to include other kernel only routines. 2016-11-25 02:23:14 +00:00
christos
e63000b12b avoid macro confusion 2016-11-25 02:19:19 +00:00
kamil
fb0931daa7 Add fpregs[12] in t_ptrace_wait{,3,4,6,id,pid}
fpregs1:
    Verify plain PT_GETFPREGS call without further steps

fpregs2:
    Verify PT_GETFPREGS and PT_SETFPREGS calls without changing regs

Sponsored by <The NetBSD Foundation>
2016-11-24 22:52:03 +00:00
alnsn
e771598c7d Switch to CHECK_LIBC for writing. 2016-11-24 22:42:16 +00:00
joerg
4269461d42 Fix format strings. 2016-11-24 19:26:32 +00:00
christos
9896a45fe7 fix leak. 2016-11-24 17:12:23 +00:00
christos
ee97ae6abf off-by-one in memcpy. Found by ASAN (Carsten Kunze)
XXX: pullup 7.
2016-11-24 17:09:55 +00:00
christos
50c795e166 don't coredump if we call endwin when initscr fails. 2016-11-24 14:49:08 +00:00
wiz
97151ea665 New sentence, new line. Sort SEE ALSO. Fix typo. 2016-11-24 12:38:32 +00:00
hkenken
2439407e97 bus_dmamap_sync() is required for ICT table read/write.
Tested by arm platform.
2016-11-24 12:32:47 +00:00
wiz
fe65e38bd3 Bump date for previous. 2016-11-24 12:19:28 +00:00
wiz
9e3f1ccd88 Various fixes. 2016-11-24 12:18:02 +00:00
hkenken
5dbe7c6e5b Add support imx6 PCIe controller. 2016-11-24 12:06:43 +00:00
ozaki-r
713e0a32de Share httpd start/stop code 2016-11-24 11:54:57 +00:00
ozaki-r
58be5ec9a6 Add missing bus argument for extract_new_packets 2016-11-24 11:34:51 +00:00
ozaki-r
554c6ec338 Move get_macaddr to net_common.sh 2016-11-24 09:07:09 +00:00
ozaki-r
a97a8a65f3 Move get_lladdr to net_common.sh 2016-11-24 09:06:09 +00:00