dim
bd558a3f75
Merge ^/head r278110 through r278223.
2015-02-04 21:08:28 +00:00
dim
7984b94dab
For now, add -stdlib=libc++ to the flags for building clang, since that
...
makes it easier to build head on stable/9, where libstdc++ is still the
default. We can revisit this when somebody will try to build base with
gcc 4.8.1 or higher, and its included libstdc++.
Reported by: rpaulo
2015-02-04 21:00:29 +00:00
dim
dcbaa42a6d
Mark typedefs for manually implementing _Static_assert() as unused, so
...
they won't show up unecessarily for -Wunused-local-typedefs.
MFC after: 3 days
2015-02-04 20:55:21 +00:00
arybchik
364932ee59
sfxge: Add macros to init, destroy, acquire, release and assert locks
...
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor)
2015-02-04 20:03:57 +00:00
arybchik
8b7dd6cde0
sfxge: Implement EFSYS_MEM_READ_BARRIER()
...
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor)
2015-02-04 19:58:54 +00:00
loos
5e95f6f1c9
Fix a bug where an interrupt could be masked unintentionally when
...
bus_config_intr() is called with the same interrupt type and polarity that
is already set.
Pointy hat: loos
2015-02-04 18:35:49 +00:00
loos
67e162c6ce
Add GPIO interrupt support for BCM2835 (Raspberry pi).
...
With this commit any of the GPIO pins can now be programmed to act as an
interrupt source for GPIO devices (i.e. limited to devices directly
attached to gpiobus - at least for now).
Differential Revision: https://reviews.freebsd.org/D1000
2015-02-04 18:15:28 +00:00
loos
c849e86766
Sort and remove unnecessary includes.
2015-02-04 17:23:02 +00:00
loos
2d4837b5a0
Remove stale comments about the issues with HS mode.
...
Remove a previous workaround to limit the minimum sdhci frequency that
isn't needed anymore.
2015-02-04 16:36:51 +00:00
loos
e47af519e4
Remove some duplicate calls to bus_release_resource() and destroy the mutex
...
on error cases.
While here remove unnecessary includes.
2015-02-04 16:21:45 +00:00
imp
aca39148cc
Fix typo
...
Submitted by: matteo@
2015-02-04 16:19:31 +00:00
imp
7c0a82925c
Add comment about why checking for 0xff is OK. There's two bits in the
...
ISR that are normally clear. RST is one, though in some overflow cases
it can be set. RDC is only set when a remote DMA is finished from the
memory mapped memory to the transmit rings, which we poll fore in the
code with ED_LOCK around the operation that would set it.
2015-02-04 15:59:51 +00:00
kib
c87d139b47
Add ddb command 'show clocksource' to display state of the per-cpu
...
clock events.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2015-02-04 14:49:47 +00:00
gjb
781f145086
Bump copyright after r277458.
...
MFC after: 2 weeks
X-MFC-with: r277458, r277536, r277606, r277609,
r277836, r278118, r278119
Sponsored by: The FreeBSD Foundation
2015-02-04 11:55:32 +00:00
ngie
daa96fc32c
Sort the entries by build knob, then MACHINE_ARCH like other areas of the tree
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-02-04 11:48:33 +00:00
ngie
0384d05219
Clean up more usb related files when MK_USB == no when dealing with
...
manpages, libraries, and binaries
MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division
2015-02-04 11:43:19 +00:00
ngie
6781e2a6de
Regen src.conf(5)
2015-02-04 10:29:53 +00:00
ngie
2b57c9213c
Add MK_FILE to control whether or not to build file(1), libmagic(3), etc
...
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-02-04 10:24:40 +00:00
ngie
06520f16dd
Add the following options to enable/disable several features in the base system
...
WITHOUT_BOOTPARAMD - bootparamd
WITHOUT_BOOTPD - bootpd
WITHOUT_FINGER - finger, fingerd
WITHOUT_FTP - ftp, ftpd
WITHOUT_INETD - inetd
WITHOUT_RBOOTD - rbootd
WITHOUT_TCP_WRAPPERS - tcpd, et al
WITHOUT_TFTP - tftp, tftp-server
WITHOUT_TIMED - timed
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2015-02-04 10:19:32 +00:00
bryanv
7a68cf4e59
Add interface to derive a TSC frequency from the pvclock
...
This can later use this to determine the TSC frequency like is done with
VMware, instead of using a DELAY loop that is not always accurate in an VM.
MFC after: 1 month
2015-02-04 08:33:04 +00:00
bryanv
25ce9181cf
Generalized parts of the XEN timer code into a generic pvclock
...
KVM clock shares the same data structures between the guest and the host
as Xen so it makes sense to just have a single copy of this code.
Differential Revision: https://reviews.freebsd.org/D1429
Reviewed by: royger (eariler version)
MFC after: 1 month
2015-02-04 08:26:43 +00:00
ngie
c15561b95d
Conditionalize building radius support into libpam, ppp, etc via
...
MK_RADIUS_SUPPORT
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-02-04 06:53:45 +00:00
bapt
79fa39eaca
Test the return of fetchParseURL(3)
...
CID: 1125811
MFC after: 1 week
2015-02-04 00:18:06 +00:00
bapt
5c21fe0178
Plug resources leak
...
CID: 1125813
CID: 1125807
CID: 1125808
MFC after: 1 week
2015-02-04 00:10:57 +00:00
pfg
8156f15777
MFV r266995:
...
4767 dtrace_probe() always has the timestamp
Reference:
https://illumos.org/issues/4767
Obtained from: Illumos
MFC after: 2 weeks
2015-02-03 20:06:30 +00:00
pfg
8afbe75ac6
MFV r266993:
...
4469 DTrace helper tracing should be dynamic
Reference:
https://illumos.org/issues/4469
Obtained from: Illumos
Phabric: D1551
Reviewed by: markj
MFC after: 2 weeks
2015-02-03 19:39:53 +00:00
imp
4d58bdef01
Silence a coverity warning about ignoring a return value. We do, but
...
we also know that it "can't fail" given the single-threaded nature of
device enumeration. Go ahead and check it just in case, but add a
comment.
CID: 1009393
Sponsored by: Netflix, Inc
2015-02-03 18:59:52 +00:00
mav
4bbf5a53e0
Bring some more order into iSCSI portal group tags support.
...
While ctld(8) still does not allow multiple portal groups per target
to be configured, kernel should now be able to handle it.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
2015-02-03 16:17:54 +00:00
pfg
4a166f3239
scanblnl: drop extra braces.
...
Pointed out by: bde
2015-02-03 16:16:52 +00:00
emaste
fafaeb6502
Remove duplicate intel_fbc_enabled prototype
...
Fixed upstream in Linux commit 7ff0ebcc1e30e3216c8c62ee71f59ac830b10364
Differential Revision: https://reviews.freebsd.org/D1762
Reviewed by: hselasky, kib
Sponsored by: The FreeBSD Foundation
2015-02-03 15:41:09 +00:00
pfg
21bdbd8a2d
Reduce confusion in scalbnl() family of functions.
...
The changes unrelated to the bug in r277948 made
the code very difficult to understand to both
coverity and regular humans so take a step back
to something that is much easier to understand
for both and follows better the original code.
CID: 1267992, 1267993, 1267994
Discussed with: kargl
2015-02-03 14:17:29 +00:00
kib
360ba91b98
If the vm_page_alloc_contig() failed in the ttm page allocators, do
...
what other callers of vm_page_alloc_contig() do, retry after
vm_pageout_grow_cache().
Sponsored by: The FreeBSD Foundation
2015-02-03 13:45:06 +00:00
kib
40fc5bfda9
Do not access gmbus_ports array past its end.
...
Reported and tested by: hselasky
Sponsored by: The FreeBSD Foundation
2015-02-03 13:43:03 +00:00
kib
09bdd8a7f8
Remove duplicated assignment.
...
CID: 1267988
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
2015-02-03 12:09:48 +00:00
kib
d2d101f9c0
Followup to r278147. Two more sign errors.
...
Noted by: hps
Sponsored by: The FreeBSD Foundation
2015-02-03 11:34:18 +00:00
kib
074ff8c69c
Fix sign for the error code returned from the driver-specific code.
...
Noted by: hps
Sponsored by: The FreeBSD Foundation
2015-02-03 10:46:07 +00:00
kib
6efdf5ae95
Do not attach to the unsupported chipsets, unless magic tunable is
...
frobbed.
Sponsored by: The FreeBSD Foundation
2015-02-03 10:30:41 +00:00
kib
04052a24ca
Fix use after free in pipe_dtor(). PIPE_NAMED flag must be tested
...
before pipeclose() is called, since for !PIPE_NAMED case, when peer is
already closed, the pipe pair memory is freed.
Submitted by: luke.tw@gmail.com
PR: 197246
Tested by: pho
MFC after: 3 days
2015-02-03 10:29:40 +00:00
markj
7a5cf9ac76
Avoid hard-coding a path to ksh in scripts that are executed directly by
...
the test harness. This is a problem in many of the *.ksh test scripts as
well, but those scripts are executed using a shell whose path is specified
in dtest.pl, so there's no need to modify them.
MFC after: 1 week
2015-02-03 06:22:46 +00:00
markj
22c4903367
Use a MIME type of text/plain for a couple of shell scripts with a file
...
extension of ".exe".
MFC after: 1 week
2015-02-03 06:16:18 +00:00
markj
602435445d
Continue to handle the case where state is NULL, though this currently
...
cannot happen on FreeBSD. r278136 overlooked the fact that a destructor
registered with devfs_set_cdevpriv(9) is invoked even in the case of an
error.
X-MFC-With: r278136
2015-02-03 06:04:16 +00:00
markj
c436419aea
Diff reduction with illumos, in preparation for merging r266993 from the
...
vendor branch. No functional change.
MFC after: 1 week
2015-02-03 05:38:52 +00:00
amdmi3
64de42a598
- Remove more files when MK_USB == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:14:17 +00:00
amdmi3
c174df85c4
- Remove more files when MK_UNBOUND == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:13:16 +00:00
amdmi3
5eba82ef3e
- Remove more files when MK_TEXTPROC == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:11:24 +00:00
amdmi3
a472f0178e
- Remove more files when MK_TESTS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:10:23 +00:00
amdmi3
18ecffe66d
- Remove more files when MK_TCSH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:05:06 +00:00
amdmi3
3c21cf00da
- Remove more files when MK_SYSCONS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 03:02:41 +00:00
amdmi3
5d374e3390
- Remove more files when MK_SSP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:59:47 +00:00
amdmi3
abd4332833
- Remove more files when MK_QUOTAS == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-02-03 02:57:50 +00:00