Andriy Voskoboinyk
88e8709ef1
rsu: add TSF field into Rx radiotap.
...
Tested with Asus USB-N10.
2016-12-10 13:30:16 +00:00
Baptiste Daroussin
58551dc674
Make WITHOUT_CAPSICUM implying WITHOUT_CASPER
...
PR: 214562
Reported by: dewayne@heuristicsystems.com.au
MFC after: 2 days
2016-12-10 13:29:51 +00:00
Baptiste Daroussin
abd4699ce2
Fix pkg groupshow <gid>
...
PR: 204676
Submitted by: longwitz@incore.de
MFC after: 2 days
2016-12-10 12:48:48 +00:00
Baptiste Daroussin
1a4604e37b
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
Baptiste Daroussin
bdc5a21692
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
Baptiste Daroussin
06af16fb5b
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
Baptiste Daroussin
53a04062b4
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
Baptiste Daroussin
87ac01ca08
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
Baptiste Daroussin
0c421ffe53
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
Baptiste Daroussin
cd5245e4c9
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
Baptiste Daroussin
e93a36a3cf
Update pci ids database to 2016.11.21
...
MFC after: 2 days
2016-12-10 11:41:26 +00:00
George V. Neville-Neil
c2e34f488c
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
Poul-Henning Kamp
34feb2d2cb
Add Genesys Logic USB hub.
...
Make two other USB hub descriptions more precise.
2016-12-10 09:10:48 +00:00
Marcel Moolenaar
aa8c6a6dca
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
Mark Johnston
f99a517272
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
Mark Johnston
8bb9b7f17a
Consistently use fbt_excluded() on all architectures.
...
MFC after: 2 weeks
2016-12-10 03:11:05 +00:00
Mark Johnston
02315a6759
Use a consistent snapshot of the lock state in owner_mtx().
...
MFC after: 2 weeks
2016-12-10 02:59:34 +00:00
Mark Johnston
c365a2934e
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
Ed Maste
3ca2845d13
libelftc: add elf{32,64}-tradlittlemips target emulation names
...
Sponsored by: The FreeBSD Foundation
2016-12-10 01:40:10 +00:00
Enji Cooper
5eabf0ffea
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
Enji Cooper
60fbebc327
- 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
Enji Cooper
5be335bb11
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
Warner Losh
40975988cb
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
Warner Losh
8bece6062d
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
Ed Maste
beced2eabd
Keep /usr/bin/ld for WITHOUT_BINUTILS but WITH_LLD_AS_LD
...
Reported by: Nikolai Lifanov
2016-12-09 22:51:58 +00:00
Enji Cooper
7f9dff23d3
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
Maxim Sobolev
79847968f9
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
Gleb Smirnoff
255003da42
Allow bogus_page to be passed to pager(s).
2016-12-09 21:21:24 +00:00
Gleb Smirnoff
8c70a35334
Fix build for 32-bit machines.
...
Submitted by: tuexen
2016-12-09 20:50:35 +00:00
Ed Maste
36e8c7bb84
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
Gleb Smirnoff
5040da77c1
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
Mark Johnston
90458813cd
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
Mark Johnston
7f68a896dc
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
Gleb Smirnoff
f98751499c
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
Gleb Smirnoff
296d65b7a9
Backout accidentially leaked in r309746 not yet reviewed patch :(
2016-12-09 18:00:45 +00:00
Gleb Smirnoff
3cbee8caa1
Use counter_ratecheck() in the ICMP rate limiting.
...
Together with: rrs, jtl
2016-12-09 17:59:15 +00:00
Gleb Smirnoff
169170209c
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
Michael Tuexen
ebecdad811
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
Michael Tuexen
8d0a31e19c
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
Ruslan Bukin
d9121bf564
Add registers for jz4780 audio and PDMA controllers.
...
Sponsored by: DARPA, AFRL
2016-12-09 17:16:09 +00:00
Dag-Erling Smørgrav
3af3efd115
More debugging code I missed in r309051.
...
Reported by: jbeich, jkim
2016-12-09 16:14:55 +00:00
Hans Petter Selasky
12af734d32
Add more LinuxKPI PCI definitions.
...
Obtained from: kmacy @
Sponsored by: Mellanox Technologies
MFC after: 1 week
2016-12-09 15:05:09 +00:00
Hans Petter Selasky
1724ded49c
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
Bartek Rutkowski
2a65657fc8
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
Hans Petter Selasky
be48ab92ac
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
Hans Petter Selasky
0a61267a99
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
Hans Petter Selasky
e996b07c72
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
Hans Petter Selasky
7fdce5c42b
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
Sepherosa Ziehau
4b167c2b4d
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
Sepherosa Ziehau
692cb24f10
hyperv/storvsc: Fix the SCSI disk attachment issue.
...
On pre-WS2016 Hyper-V, if the only LUNs > 7 are used, then all disks
fails to attach. Mainly because those versions of Hyper-V do not set
SRB_STATUS properly and deliver junky INQUERY responses.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reported by: Hongxiong Xian <v-hoxian microsoft com>
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8724
2016-12-09 03:16:36 +00:00