Konstantin Belousov
03bbcb2f0c
Style. Remove excessive brackets. Compare non-boolean with zero.
...
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
2015-07-15 17:14:05 +00:00
Andrew Turner
63e8633e80
Fix an infinite loop when a node doesn't have an interrupt-parent property.
...
Submitted by: Aleksey Kuleshov <rndfax@yandex.ru>
Differential Revision: https://reviews.freebsd.org/D3041
2015-07-15 13:28:25 +00:00
Alexander Motin
7dbe8f175b
MULTI_ID supported does not mean it is used.
2015-07-15 12:04:12 +00:00
Ed Schouten
952c6e1010
Implement the trivial socket system calls: shutdown() and listen().
2015-07-15 11:27:34 +00:00
Zbigniew Bodek
b49baf8065
Add identify_cpu() to ARM64 init_secondary routine
...
Identify current CPU. This is necessary to setup
affinity registers and to provide support for
runtime chip identification.
Reviewed by: andrew
Obtained from: Semihalf
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3095
2015-07-15 09:24:45 +00:00
Ed Schouten
4fa92fb538
Make posix_fallocate() and posix_fadvise() work.
...
We can map these system calls directly to the FreeBSD counterparts. The
other filesystem related system calls will be sent out for review
separately, as they are a bit more complex to get right.
2015-07-15 09:14:06 +00:00
John-Mark Gurney
8239de9b1b
fix error message... errx since errno may not be set (if we didn't
...
parse the full field), and err and errx add their own newline at the
end...
Sponsored by: Netflix, Inc.
2015-07-15 06:14:04 +00:00
Allan Jude
ce808c7ad8
Add a new option to gpart(8) to fix Lenovo BIOS boot issue
...
PR: 184910
Reviewed by: ae, wblock
Approved by: marcel
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3065
2015-07-15 02:23:55 +00:00
Patrick Kelsey
2ec930efea
Revert inadvertent change to amd64/GENERIC.
2015-07-15 01:04:54 +00:00
Patrick Kelsey
8aa7fdbd78
Add netmap support for ixgbe SRIOV VFs (that is, to if_ixv).
...
Differential Revision: https://reviews.freebsd.org/D2923
Reviewed by: erj, gnn
Approved by: jmallett (mentor)
Sponsored by: Norse Corp, Inc.
2015-07-15 01:02:01 +00:00
Hiren Panchasara
fd3e9bafbd
Remove FreeBSD version check for deprecated M_FLOWID.
...
Reviewed by: erj
Sponsored by: Limelight Networks
2015-07-15 01:01:17 +00:00
Patrick Kelsey
c8ed84db3a
Fix igxbe SRIOV VF (if_ixv) initialization bugs. The MAC address for
...
an if_ixv instance can now set at creation time, and the receive ring
tail pointer is correctly initialized (previously, things still worked
because the receive ring tail pointer was being fixed up as a side
effect of other activity).
Differential Revision: https://reviews.freebsd.org/D2922
Reviewed by: erj, gnn
Approved by: jmallett (mentor)
Sponsored by: Norse Corp, Inc.
2015-07-15 00:35:50 +00:00
Glen Barber
993c9df745
Remove the r282727 entry for now, pending refinement based
...
on feedback from andrew@ and ian@.
Sponsored by: The FreeBSD Foundation
2015-07-14 23:41:13 +00:00
Glen Barber
2fa958e941
Document r279824, dtb module for AM335x systems.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:51 +00:00
Glen Barber
5bb773bf0b
Document r278340, rpi.dtb installed into /boot/dtb for the
...
Raspberry Pi by default.
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:48 +00:00
Glen Barber
a9f7cd7efb
Document r278338, rpi.dtb module.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:46 +00:00
Glen Barber
86b417b980
Document r283514, sfxge(4) 7XXX-series NIC support.
...
Add Solarflare Communications to sponsors.ent.
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:43 +00:00
Glen Barber
02517a12da
Document r282215, SIFTR kernel configuration option.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:40 +00:00
Glen Barber
0fb2c495b4
Document r281495, PAE_TABLES option.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:37 +00:00
Glen Barber
2059d5bca0
Document r273849, timeo, actimeo, noac, proto mount_nfs(8) options.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 21:45:35 +00:00
Ed Schouten
bc41a24735
Fix the build after breaking it in r285549.
...
I performed the commit on a different system as where I wrote the
change. After pulling in the change from Phabricator, I didn't notice
that a single chunk did not apply.
Approved by: secteam (implicit, as intended change was approved)
Pointy hat to: me
2015-07-14 20:45:24 +00:00
Glen Barber
838bff69e3
Reword the r282731 entry.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:16 +00:00
Glen Barber
a5c8d84e2b
Document r279950, bzipfs support in EFI loader.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:14 +00:00
Glen Barber
d219687436
Document r282731, ubldr is relocatable.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:12 +00:00
Glen Barber
20424724c9
Document r282727, support for booting relocatable kernels extended
...
beyond non-EFI systems.
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:09 +00:00
Glen Barber
256e9f5ae3
Document r277962, support for booting relocatable PowerPC kernels.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:07 +00:00
Glen Barber
8d2d5dabb3
Document r277644, AUDMUX, SDMA, SSI support.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:04 +00:00
Glen Barber
0178d33456
Document r268838, support for Toradex Apalis i.MX6 board.
...
Sponsored by: The FreeBSD Foundation
2015-07-14 20:10:02 +00:00
Glen Barber
70c58459ce
Document r266943, r267390: Support for Exynos 5420 and
...
SMP enabled by default.
Sponsored by: The FreeBSD Foundation
2015-07-14 20:09:59 +00:00
Glen Barber
ed275f6425
Document r277042, support to poweroff the BeagleBone Black via
...
shutdown(8) and poweroff(8) added.
Sponsored by: The FreeBSD Foundation
2015-07-14 20:09:57 +00:00
Allan Jude
69e4b249f8
Make bsdinstall's zfsboot script align partitions to 4k/1m when the user requests it
...
PR: 195174
Reviewed by: darius
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3062
2015-07-14 19:57:10 +00:00
Joel Dahl
169a18552e
mdoc: minor Xr fixes
2015-07-14 19:45:35 +00:00
Joel Dahl
37cba721ff
mdoc: add missing .El
2015-07-14 19:43:10 +00:00
Allan Jude
7e3ebc5b0a
Set a mountpoint on the root of the pool so user-created datasets have a mountpoint to inherit
...
Reviewed by: darius
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3063
2015-07-14 19:42:40 +00:00
Allan Jude
1bc080435c
Have bsdinstall's zfsboot script make /var/audit its own dataset, so it is not part of the OS boot environment
...
PR: 199864
Submitted by: Jason Unovitch
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D2861
2015-07-14 19:38:26 +00:00
Baptiste Daroussin
cffa7aa609
Convert atoi(3) to stronum(3) which allows to arguments and report proper errors
...
to the users
Obtained from: OpenBSD
2015-07-14 19:16:14 +00:00
Andrew Turner
f3856d8fcb
Also accept "ok" to enable a device, some vendor device trees use this when
...
they mean "okay"
2015-07-14 19:11:16 +00:00
Mark Murray
339ce033d2
Widen the host field so that a full IPv6 address will be seen.
2015-07-14 18:53:24 +00:00
Ed Schouten
707d98fe2f
Implement the CloudABI random_get() system call.
...
The random_get() system call works similar to getentropy()/getrandom()
on OpenBSD/Linux. It fills a buffer with random data.
This change introduces a new function, read_random_uio(), that is used
to implement read() on the random devices. We can call into this
function from within the CloudABI compatibility layer.
Approved by: secteam
Reviewed by: jmg, markm, wblock
Obtained from: https://github.com/NuxiNL/freebsd
Differential Revision: https://reviews.freebsd.org/D3053
2015-07-14 18:45:15 +00:00
Mark Johnston
02d131ad11
Fix some error-handling bugs when core dump compression is enabled:
...
- Ensure that core dump parameters are initialized in the error path.
- Don't call gzio_fini() on a NULL stream.
Reported by: rpaulo
2015-07-14 18:24:05 +00:00
Glen Barber
80bee71335
Fix another typo. Sigh.
...
Submitted by: brueffer
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
2015-07-14 17:01:55 +00:00
Glen Barber
cb42deaf81
Document r284125, cdce(4) support for RTL8153 chipset.
...
Submitted by: Ben Woods
Sponsored by: The FreeBSD Foundation
2015-07-14 16:56:59 +00:00
Glen Barber
3b5783acde
Fix typo.
...
Submitted by: matteo
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
2015-07-14 15:38:45 +00:00
Christian Brueffer
238ca3cb7e
Add a missing break statement, which made the code default to IPv6.
...
PR: 201285
Submitted by: David Binderman
MFC after: 1 week
2015-07-14 15:24:50 +00:00
Baptiste Daroussin
59a046067a
.ie is not supposed to be used in manpages
...
Submitted by: carsten.kunze@arcor.de
2015-07-14 15:21:00 +00:00
Ed Schouten
460ac6370a
Regenerate system call table for r285540.
2015-07-14 15:12:24 +00:00
Ed Schouten
1eb7c7cae3
Implement thread_tcb_set() and thread_yield().
...
The first system call is used to set the user TLS address. Right now
this system call is invoked by the C library for both the initial thread
and additional threads unconditionally, but in the future we'll only
call this if the architecture does not support this. On recent x86-64
CPUs we could use the WRFSBASE instruction.
This system call was erroneously placed in sys/compat/cloudabi64, even
though it does not depend on any pointer size dependent datastructure.
Move it to the right place.
Obtained from: https://github.com/NuxiNL/freebsd
2015-07-14 15:11:50 +00:00
Ed Schouten
03744d7c8d
Implement {,p}{read,write}{,v}().
...
Add a routine similar to copyinuio() and freebsd32_copyinuio() that
copies in CloudABI's struct iovecs. These are then translated into
FreeBSD format and placed in a 'struct uio', so we can call into the
kern_*() functions.
Obtained from: https://github.com/NuxiNL/freebsd
2015-07-14 14:33:21 +00:00
Christian Brueffer
b29fdbd8ea
Cleanup; mostly language with a little bit of mdoc style.
...
MFC after: 1 week
2015-07-14 14:01:33 +00:00
Andrew Turner
b7fbd410ab
Set memory to be inner-sharable. This isn't needed on device memory as the
...
MMU will ignore the attribute there, howeverit simplifies to code to alwas
set it.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
2015-07-14 12:37:47 +00:00