asomers
69a8601e63
Fix build of kern/subr_unit.c, broken by r300539
...
Reported by: peter
Pointyhat to: asomers
Sponsored by: Spectra Logic Corp
2016-05-24 00:14:58 +00:00
jkim
63911f4577
Document POPCNT erratum for 6th Generation Intel Core processors.
2016-05-23 23:00:47 +00:00
bapt
354b383b14
Update pci_vendors to 2016.05.23
2016-05-23 22:01:06 +00:00
bdrewery
a784ab2bf3
Be more clear about LOCKLEAF being exclusive and add LOCKSHARED.
2016-05-23 21:29:57 +00:00
asomers
d14be2b60f
Add bit_count to the bitstring(3) api
...
Add a bit_count function, which efficiently counts the number of bits set in
a bitstring.
sys/sys/bitstring.h
tests/sys/sys/bitstring_test.c
share/man/man3/bitstring.3
Add bit_alloc
sys/kern/subr_unit.c
Use bit_count instead of a naive counting loop in check_unrhdr, used
when INVARIANTS are enabled. The userland test runs about 6x faster
in a generic build, or 8.5x faster when built for Nehalem, which has
the POPCNT instruction.
sys/sys/param.h
Bump __FreeBSD_version due to the addition of bit_alloc
UPDATING
Add a note about the ABI incompatibility of the bitstring(3)
changes, as suggested by lidl.
Suggested by: gibbs
Reviewed by: gibbs, ngie
MFC after: 9 days
X-MFC-With: 299090, 300538
Relnotes: yes
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D6255
2016-05-23 20:29:18 +00:00
asomers
50b3af2307
Commit a missing change from 299090
...
tests/sys/kern/Makefile
Reenable a disabled compiler warning, the need for which was
eliminated by r299090.
Reviewed by: ngie
MFC after: 4 weeks
X-MFC-With: 299090
Sponsored by: Spectra Logic Corp
2016-05-23 20:19:07 +00:00
markj
9cb221bdb0
Mark the prefix and default router list sysctl handlers MPSAFE.
...
MFC after: 2 weeks
2016-05-23 20:18:11 +00:00
markj
86c15ee95b
Acquire the nd6 lock in the prefix list sysctl handler.
...
The nd6 lock will be used to synchronize access to the NDP prefix list.
MFC after: 2 weeks
Tested by: Jason Wolfe (as part of a larger change)
2016-05-23 20:15:08 +00:00
ian
fa8c81268a
Spaces->tab in comment.
2016-05-23 20:13:17 +00:00
ian
2af15fd49f
Oops, fix a paste-o commited in r300533.
2016-05-23 20:12:38 +00:00
ian
2308d1c500
Use the new(-ish) CP15_SCTLR macro to generate system control reg accesses
...
where possible. In the places that doesn't work (multi-line inline asm,
and places where the old armv4 cpufuncs mechanism is used), annotate the
accesses with a comment that includes SCTLR. Now a grep -i sctlr can find
all the system control register manipulations.
No functional changes.
2016-05-23 20:07:17 +00:00
ken
8e70fac078
Fix ada(4) trim support quirk setting.
...
I broke broke the quirk in the ada(4) driver disabling NCQ trim support
in revision 300207. The support flags were set before the quirks were
loaded.
sys/cam/ata/ata_da.c:
Call adasetflags() after loading quirks, so that we'll set the
flags accurately.
Sponsored by: Spectra Logic
2016-05-23 19:52:08 +00:00
cem
d17b279014
ntb_hw(4): Only record the first three MSIX vectors
...
Don't overrun the msix_data array by reading the (unused) link state
interrupt information.
Reported by: mav (earlier version)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6489
2016-05-23 19:46:58 +00:00
skra
790244c47d
INTRNG - support new interrupt mapping type INTR_MAP_DATA_GPIO
...
introduced in r298738.
Reviewed by: ian
2016-05-23 18:16:21 +00:00
skra
f7192b1fcd
INTRNG - use gpio generic interrupt modes definitions added in r298738.
...
Reviewed by: ian
2016-05-23 18:12:52 +00:00
bdrewery
298691dc5e
Properly allow META_MODE to be set from environment.
...
Sponsored by: EMC / Isilon Storage Division
2016-05-23 17:27:42 +00:00
bdrewery
f007450dde
Use sed(1) to determine cc version rather than tail(1) since it is already in ITOOLS.
...
This fixes 'tail: not found' warnings in installworld after r300351.
Sponsored by: EMC / Isilon Storage Division
2016-05-23 17:11:32 +00:00
skreuzer
a601beced3
Document r298998, OpenSSL updated to 1.0.2h.
...
Approved by: gjb@ (implicit with re@ hat on)
2016-05-23 17:06:46 +00:00
allanjude
e171fb735e
Only export and re-import the root pool if installing on MBR
...
This step is required in order to dd the boot2 bits into the ZFS partition
Sponsored by: ScaleEngine Inc.
2016-05-23 17:04:13 +00:00
alc
392a7dbfbf
Correct an error in a comment: One of the conditions for page allocation
...
is actually the opposite of that stated in the comment.
Remove an unnecessary assignment. Use an assertion to document the fact
that no assignment is needed.
Rewrite another comment to clarify that the page is not completely valid.
Reviewed by: kib
2016-05-23 16:59:05 +00:00
allanjude
7093759198
Fix missing pool name in zfs set command
2016-05-23 16:49:26 +00:00
bdrewery
62dc16af99
Move binutils handling after src.opts.mk.
...
This fixes the arm64 build after r300348.
Sponsored by: EMC / Isilon Storage Division
2016-05-23 16:24:34 +00:00
hselasky
2404d6db8a
Implement "atomic_long_add_unless()" in the LinuxKPI and fix the
...
implementation of "atomic_long_inc_not_zero()".
Found by: ngie @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 16:19:51 +00:00
skreuzer
4f8526f581
Document r296190, openresolv updated to 3.7.3.
...
Approved by: gjb@ (implicit with re@ hat on)
2016-05-23 15:44:39 +00:00
skreuzer
e970ee9a55
Document r298161, sqlite3 updated to 3.12.1.
...
Approved by: gjb@ (implicit with re@ hat on)
2016-05-23 15:37:12 +00:00
skreuzer
b1c613ec7d
Document r298192, file(1) updated to 5.26.
...
Approved by: gjb@ (implicit with re@ hat on)
2016-05-23 15:33:56 +00:00
andrew
57b4892772
Add the needed hwpmc hooks to subr_intr.c. This is needed for the correct
...
operation of hwpmc on, for example, arm64 with intrng.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
2016-05-23 15:26:35 +00:00
allanjude
c7a0643d1c
Fix error in bsdinstall where additional filesystems cannot be mounted
...
Do not set canmount=noauto on the boot environment at create time, because
this causes / to not be mounted, and since the chroot is read only, new
mountpoints cannot be created.
The property is set later, when other properties are adjusted
Reported by: HardenedBSD
Sponsored by: ScaleEngine Inc.
2016-05-23 15:11:01 +00:00
kp
7ddccc27cd
pf: Fix more ICMP mistranslation
...
In the default case fix the substitution of the destination address.
PR: 201519
Submitted by: Max <maximos@als.nnov.ru>
MFC after: 1 week
2016-05-23 13:59:48 +00:00
hselasky
e6ee9b2fa8
A missing definition needed by ktime_to_ms().
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 13:19:20 +00:00
hselasky
4909bf3f4c
Fix some data types and add "inline" keyword for __reg_op() function.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 13:18:15 +00:00
arybchik
52fb088c7e
sfxge(4): cleanup: remove unused EFX preempt macros
...
The EFSYS_PREEMPT_DISABLE() and EFSYS_PREEMPT_ENABLE() macros
were used to ensure correct timing of I2C operations. The APIs
for I2C operations have been removed, so these macros have no
callers.
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-23 13:17:37 +00:00
trasz
e673e18847
Build iscsid(8) with ICL_KERNEL_PROXY defined by default, as required
...
for iSER.
Obtained from: Mellanox Technologies
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-23 12:58:24 +00:00
hselasky
d7c595eff7
Implement ror32() in the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:53:17 +00:00
hselasky
caddc9e5bb
Define more copy to/from userspace functions in the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:52:22 +00:00
kp
e155a36ec0
pf: Fix ICMP translation
...
Fix ICMP source address rewriting in rdr scenarios.
PR: 201519
Submitted by: Max <maximos@als.nnov.ru>
MFC after: 1 week
2016-05-23 12:41:29 +00:00
hselasky
bbffa168e8
Add more printf() related functions to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:35:07 +00:00
hselasky
8f6176cfd2
Set an invalid IRQ number when no PCI IRQ is available in the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:13:16 +00:00
hselasky
718ffce00b
Add more ktime related functions to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:10:28 +00:00
hselasky
22a26146ed
Implement "kref_put_mutex()" for the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:06:34 +00:00
hselasky
704290bfa2
Add more list_xxx() functions to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 12:03:40 +00:00
hselasky
024c1d0e21
Make header file standalone by including definitions for needed
...
linux_wait_xxx() functions.
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:57:23 +00:00
hselasky
dee3f2f5b8
Implement "_outb()" to the LinuxKPI for i386 and amd64 only.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:53:00 +00:00
hselasky
6286c33bf7
Add support for "cdev_add_ext()" to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:50:05 +00:00
hselasky
1f43b454c7
Add more GFP related defines to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:47:54 +00:00
hselasky
a5692befeb
Add support for atomic_long_inc_not_zero() to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:44:46 +00:00
hselasky
e422a20ca7
Add support for atomic_long_inc_not_zero() to the LinuxKPI.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-23 11:41:35 +00:00
hselasky
5a9f6f8a54
Use DELAY() instead of _sleep() when SCHEDULER_STOPPED() is set inside
...
pause_sbt(). This allows pause() to continue working during a panic()
which is not invoking KDB. This is useful when debugging graphics
drivers using the LinuxKPI.
Obtained from: kmacy @
MFC after: 1 week
2016-05-23 10:31:54 +00:00
sephe
b48bf88aec
hyperv/vmbus: Move IDT vector to vmbus_softc
...
Prepare to get rid of the hv_setup_arg.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6449
2016-05-23 07:32:34 +00:00
sephe
fc43db2e9e
hyperv/vmbus: Get rid of vmbus_devp
...
While I'm here, nuke useless print in vmbus_attach().
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6447
2016-05-23 07:23:19 +00:00