dim
50b03a7e17
Update llvm, clang, lld, lldb, compiler-rt and libc++ to release_39
...
branch r288847.
2016-12-10 15:30:39 +00:00
dim
919cfb56a0
Merge ^/head r309758 through r309803.
2016-12-10 13:25:42 +00:00
bapt
1fd84d9b40
Fix pkg groupshow <gid>
...
PR: 204676
Submitted by: longwitz@incore.de
MFC after: 2 days
2016-12-10 12:48:48 +00:00
bapt
5da16ff499
Respect WITHOUT_FINGER in src.conf when running make delete-old
...
PR: 213719
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:28:43 +00:00
bapt
0d0abbb200
Respect WITHOUT_BOOTPD in src.conf when running make delete-old
...
PR: 213720
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:26:49 +00:00
bapt
c3140d7189
Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old
...
PR: 213721
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:24:31 +00:00
bapt
1f6b613497
Respect WITHOUT_RBOOTD in src.conf when running make delete-old
...
PR: 213722
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:21:24 +00:00
bapt
f4e86416fe
Also remove auditdistd files if src.conf has WITHOUT_AUDIT
...
PR: 213723
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:18:03 +00:00
bapt
c18ad34e1b
Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set
...
PR: 213724
Submitted by: philippe.michel7@sfr.fr
MFC after: 2 days
2016-12-10 12:14:41 +00:00
bapt
c3d0e801fe
Perl is not available in base fix scripts depending on it to use
...
the version from ports
PR: 215159
Reported by: Anatoly Kamchatnov <akamch@gmail.com>
MFC after: 2 days
2016-12-10 12:02:32 +00:00
bapt
004549f6cc
Update pci ids database to 2016.11.21
...
MFC after: 2 days
2016-12-10 11:41:26 +00:00
gnn
6218b7c9ed
This adds a configuration for arm64 users that track CURRENT but
...
don't need the extra debug facilities. Copied from the amd64
configuration of the same name.
Submitted by: Nikolai Lifanov
Reviewed by: emaste
MFC after: 2 weeks
2016-12-10 10:00:27 +00:00
phk
63f3b09829
Add Genesys Logic USB hub.
...
Make two other USB hub descriptions more precise.
2016-12-10 09:10:48 +00:00
marcel
347a683838
Improve upon r309394
...
Instead of taking an extra reference to deal with pfsync_q_ins()
and pfsync_q_del() taken and dropping a reference (resp,) make
it optional of those functions to take or drop a reference by
passing an extra argument.
Submitted by: glebius@
2016-12-10 03:31:38 +00:00
markj
93c0c5f137
Don't create FBT probes for lock owner methods.
...
These functions may be called in DTrace probe context, so they cannot be
safely traced. Moreover, they are currently only used by DTrace, so their
corresponding FBT probes are not particularly useful.
MFC after: 2 weeks
2016-12-10 03:13:11 +00:00
markj
94473fd3c7
Consistently use fbt_excluded() on all architectures.
...
MFC after: 2 weeks
2016-12-10 03:11:05 +00:00
markj
63c1e25820
Use a consistent snapshot of the lock state in owner_mtx().
...
MFC after: 2 weeks
2016-12-10 02:59:34 +00:00
markj
179b6ff3ce
Return a non-NULL owner only if the lock is exclusively held in owner_sx().
...
Fix some whitespace bugs while here.
MFC after: 2 weeks
2016-12-10 02:56:44 +00:00
emaste
276716549e
libelftc: add elf{32,64}-tradlittlemips target emulation names
...
Sponsored by: The FreeBSD Foundation
2016-12-10 01:40:10 +00:00
ngie
833db664d6
Use _test_unmount instead of test_unmount in cleanup to avoid
...
false positives with atf_check when tmpfs is not loaded, etc
MFC after: 1 week
2016-12-09 23:44:25 +00:00
ngie
3be514d9d0
- Ignore errors from umount
...
- Use _test_unmount instead of test_unmount in cleanup
MFC after: 1 week
2016-12-09 23:43:33 +00:00
ngie
846d9fe7b3
Make test_unmount usable in cleanup subroutines
...
- Duplicate test_unmount to _test_unmount
- Remove atf_check calls
- Call _test_unmount from test_unmount, checking the exit code
at the end, and returning it to maintain the test_unmount
"contract"
MFC after: 1 week
2016-12-09 23:42:04 +00:00
imp
b6004b8cf9
Implement Intel's log page 0xc1 (Read Command Latency Log) and page
...
0xc1 (Write Command Latency Log).
Sponsored By: Netflix, Inc
2016-12-09 23:37:14 +00:00
imp
3459557545
Permit loading of efirt module even when there's no EFI to call. The
...
module loading is successful, but attempts to use it will not be
successful. This is similar to what we do (did?) with ACPI on non-ACPI
systems. We succeed if we can't find the necessary information to hook
into EFI, but still fail if we're unable to allocate resources if we
do find EFI.
Not Objected to by: kib@
MFC Afer: 3 days
2016-12-09 23:37:11 +00:00
emaste
23778b1eae
Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD
...
Reported by: Nikolai Lifanov
2016-12-09 22:51:58 +00:00
ngie
56d12910dc
Only run mdconfig -d -u 3 if /dev/md3 exists on the system
...
This will prevent "cleanup failures" (exit code != 0 returned) when
tmpfs is not loaded
MFC after: 1 week
2016-12-09 22:50:43 +00:00
sobomax
fb62448269
Check that SCM_XXX timestamp returned by the kernel is less 1 second
...
away in the past from the current time. This should be plenty for the
scheduler to do its job. It provides assurance that the timestamp
returned is actually a valid one, not just some random garbage.
2016-12-09 22:13:00 +00:00
glebius
6042079e9d
Allow bogus_page to be passed to pager(s).
2016-12-09 21:21:24 +00:00
dim
cc48a551de
Merge ^/head r309519 through r309757.
2016-12-09 20:57:43 +00:00
glebius
678917bbda
Fix build for 32-bit machines.
...
Submitted by: tuexen
2016-12-09 20:50:35 +00:00
emaste
382ab60337
src.conf.5: regen after r309142 (WITH_LLD_AS_LD knob)
...
Reported by: Nikolai Lifanov
Sponsored by: The FreeBSD Foundation
2016-12-09 19:09:58 +00:00
glebius
40efd8a66e
Use acquire write to cr_lock to complement with release write at end
...
of locked region.
Submitted by: kib
2016-12-09 19:07:31 +00:00
markj
b0a8bb2436
Conditionalize PG_CACHE sysctls on COMPAT_FREEBSD11.
...
Reviewed by: glebius, imp, jhb
Differential Revision: https://reviews.freebsd.org/D8736
2016-12-09 18:55:27 +00:00
markj
8bb19c4929
Add a COMPAT_FREEBSD11 kernel option.
...
Use it wherever COMPAT_FREEBSD10 is currently specified.
Reviewed by: glebius, imp, jhb
Differential Revision: https://reviews.freebsd.org/D8736
2016-12-09 18:54:12 +00:00
glebius
f8eae77f98
Treat R_X86_64_PLT32 relocs as R_X86_64_PC32.
...
If we load a binary that is designed to be a library, it produces
relocatable code via assembler directives in the assembly itself
(rather than compiler options). This emits R_X86_64_PLT32 relocations,
which are not handled by the kernel linker.
Submitted by: gallatin
Reviewed by: kib
2016-12-09 18:07:28 +00:00
glebius
6c5967127b
Backout accidentially leaked in r309746 not yet reviewed patch :(
2016-12-09 18:00:45 +00:00
glebius
4f37ca1641
Use counter_ratecheck() in the ICMP rate limiting.
...
Together with: rrs, jtl
2016-12-09 17:59:15 +00:00
glebius
592e0af9a0
Provide counter_ratecheck(), a MP-friendly substitution to ppsratecheck().
...
When rated event happens at a very quick rate, the ppsratecheck() is not
only racy, but also becomes a performance bottleneck.
Together with: rrs, jtl
2016-12-09 17:58:34 +00:00
tuexen
07971cc856
Don't bundle a SACK chunk with a SHUTDOWN chunk if it is not required.
...
MFC after: 1 week
2016-12-09 17:58:07 +00:00
tuexen
de802bfc55
Don't send multiple SHUTDOWN chunks in a single packet.
...
Thanks to Felix Weinrank for making me aware of this issue.
MFC after: 1 week
2016-12-09 17:57:17 +00:00
br
a7d10e0e2c
Add registers for jz4780 audio and PDMA controllers.
...
Sponsored by: DARPA, AFRL
2016-12-09 17:16:09 +00:00
des
a6f2fe6497
More debugging code I missed in r309051.
...
Reported by: jbeich, jkim
2016-12-09 16:14:55 +00:00
hselasky
d9c0bb6f7d
Add more LinuxKPI PCI definitions.
...
Obtained from: kmacy @
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 15:05:09 +00:00
hselasky
8edea1bc1a
Prefer function macros over regular macros in the LinuxKPI.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-12-09 15:01:37 +00:00
robak
31aeb5905c
Capsicum support for dd(1)
...
Adds Capsicum sandboxing to dd utility.
Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com>
Reviewed by: allanjude, emaste, oshogbo
Approved by: oshogbo
Sponsored by: Mysterious Code Ltd.
Differential Revision: https://reviews.freebsd.org/D8543
2016-12-09 14:51:05 +00:00
hselasky
e2142136d1
Avoid malloc() warnings when using the LinuxKPI by zero-checking
...
the allocation flags.
Obtained from: kmacy @
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 14:06:22 +00:00
hselasky
bfcaed294a
MSIX can support more than 256 IRQs. Make sure the invalid IRQ number
...
set in the LinuxKPI is big enough.
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 13:53:31 +00:00
hselasky
7dcfee78f0
Prefix some _pci_xxx() functions in the Linux KPI with linux_ and make
...
sure the IRQ number used by these functions is unsigned.
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 13:47:50 +00:00
hselasky
c247abf015
Prefix the Linux KPI's kmem_xxx() functions with linux_ to avoid
...
conflict with the opensolaris kernel module.
This patch solves a problem where the kernel linker will incorrectly
resolve opensolaris kmem_xxx() functions as linuxkpi ones, which leads
to a panic when these functions are used.
Submitted by: gallatin @
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 13:41:26 +00:00
sephe
80c55f08a0
hyperv/storvsc: Minor style changes; no functional changes.
...
Reported by: rpokala
MFC after: 1 week
Sponsored by: Microsoft
2016-12-09 06:18:12 +00:00