Edward Tomasz Napierala
e49345fa3d
Update the example growfs(8) manual page to include information on how
...
to make the system "notice" the updated disk size.
(Relnotes, since I've forget to set it for "camcontrol reprobe", and
it's worth mentioning.)
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation
2016-05-10 18:28:38 +00:00
Hans Petter Selasky
6a55ff4866
Ensure waiting loops terminate during cold boot. This fixes boot with
...
MacBookPro and i915kms_load="YES" in /boot/loader.conf.
A lowlevel timeout in one of the display ports caused an infinite wait
because a ticks/jiffies comparison was constant. The clock subsystem
which makes ticks/jiffies increment is started after the initial
driver probing is done. Refer to sys/kernel.h and SI_SUB_DRIVERS vs
SI_SUB_CLOCKS .
Discussed with: kmacy @
2016-05-10 18:18:29 +00:00
Emmanuel Vadot
498b9fa710
Merge a20_mp_start_ap and a31_mp_start_ap into one function.
...
This function works with all smp non-multicluster allwinner SoC (A20, A31, A31S and H3).
Approved by: cognet (mentor)
Differential Revision: https://reviews.freebsd.org/D6269
2016-05-10 18:00:37 +00:00
Hans Petter Selasky
f2dbb750f4
Implement ioremap_wt() and use that in the MEMREMAP_WT case for i386
...
and amd64.
Suggested by: cem @
Discussed with: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 17:51:17 +00:00
Pedro F. Giffuni
6351d60947
sed.1: Correction for the case insensitive case.
...
Use the capital I instead of the lowercase.
Submitted by: Mikhail T.
PR: 195929
MFC after: 2 weeks
2016-05-10 17:01:51 +00:00
Pedro F. Giffuni
594c945a54
aic7xxx: minor spelling fixes.
...
Affects mostly comments but also a visible text string,
Differential Revision: https://reviews.freebsd.org/D6270
2016-05-10 16:40:19 +00:00
Hans Petter Selasky
ae14b49908
Fix kernel LINT build after r299363.
...
Define shadowing macros the same way to avoid macro redefinition
compile error(s) for now.
Approved by: np @
2016-05-10 16:31:18 +00:00
Alexander Motin
ed246e8260
Allow sleepable allocations in enclosure daemon threads.
...
There were at least two places where M_NOWAIT was used without NULL check.
This change should fix NULL-dereference panic there and possibly improve
operation in other ways under memory pressure.
MFC after: 2 weeks
2016-05-10 16:20:36 +00:00
John Baldwin
a7b81566bc
Add a missing section to a cross-reference.
...
While here, add bus_space(9) to the SEE ALSO section.
2016-05-10 16:13:54 +00:00
Edward Tomasz Napierala
d68fae5849
Add "camcontrol reprobe" subcommand, and implement it for da(4).
...
This makes it possible to manually force updating capacity data
after the disk got resized. Without it it might be neccessary to
reboot before FreeBSD notices updated disk size under eg VMWare.
Discussed with: imp@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6108
2016-05-10 15:46:33 +00:00
Andrew Turner
fb853e4270
Push the logic to talk with the MSI/MSI-X interrupt controller to the FDT
...
attachment. This is where it will live when we import intrng as it will
need to look at either the msi-parent or msi-map FDT properties.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
2016-05-10 15:45:59 +00:00
Edward Tomasz Napierala
13a8942827
Remove NULL checks after M_WAITOK allocations from mpr(4).
...
Reviewed by: asomers@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6297
2016-05-10 15:04:24 +00:00
Bjoern A. Zeeb
d360a5589e
siba depends on bhndbus; add the device to the kernel config.
...
This gets us past compiling and now only linking is failing on builtins.
2016-05-10 14:59:48 +00:00
Edward Tomasz Napierala
6db37b5649
Remove NULL checks after M_WAITOK allocations from mps(4).
...
Reviewed by: asomers@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6296
2016-05-10 14:57:14 +00:00
Allan Jude
06445fc0fa
bsdinstall/zfsboot: Do not mirror swap when swapsize is 0
...
PR: 209415
Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks
2016-05-10 14:38:43 +00:00
Benedict Reuschling
ebf75b599a
Capitalize "LDAP" in the description field of the _ypldap entry.
...
Reviewed by: bapt
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D5267
2016-05-10 12:47:36 +00:00
Hans Petter Selasky
684a5fef01
Add more LinuxKPI I/O functions.
...
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 12:04:57 +00:00
Hans Petter Selasky
7652bc32f7
Use function macros when possible to avoid stray substitutions.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:39:36 +00:00
Baptiste Daroussin
997f8ff84f
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:35:03 +00:00
Hans Petter Selasky
f2f5b1337e
Add missing semicolon and properly wrap macro argument.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:34:22 +00:00
Hans Petter Selasky
c7d81c66df
Allow the argument for the cpu_to_xxxp() and xxx_to_cpup() macros to
...
point to a constant.
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:31:00 +00:00
Baptiste Daroussin
79477f3ca1
Directly set the NONBLOCK flags when creating the socket
...
No functional changes
2016-05-10 11:18:53 +00:00
Baptiste Daroussin
68dd67a27b
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:17:36 +00:00
Baptiste Daroussin
a9c48188b8
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:17:19 +00:00
Baptiste Daroussin
f03ef8405b
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 11:12:31 +00:00
Baptiste Daroussin
a651f2bc6c
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
2016-05-10 11:11:23 +00:00
Baptiste Daroussin
053a88680a
Rename getline with get_line to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: OpenBSD
2016-05-10 11:09:26 +00:00
Edward Tomasz Napierala
084d207584
Remove misc NULL checks after M_WAITOK allocations.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:26:07 +00:00
Edward Tomasz Napierala
b00039f739
Remove NULL check after M_WAITOK allocations from mfi(4).
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:24:35 +00:00
Edward Tomasz Napierala
256a4cb9d7
Remove NULL checks after M_WAITOK allocations from firewire.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2016-05-10 10:21:03 +00:00
Konstantin Belousov
aa3ec63e02
Add locking annotations to amd64 struct md_page members.
...
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2016-05-10 09:58:51 +00:00
Edward Tomasz Napierala
6e9bf96d6f
Refactor the root mount hold code and add the wait to etc/rc.d/fsck.
...
This fixes mounting (non-root) USB drives on boot with fsck enabled
(with non-zero 'Pass#' field in fstab(5)).
Reported by: Graham Menhennitt <graham at menhennitt.com.au>
Reviewed by: jilles@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6221
2016-05-10 08:44:44 +00:00
Alexander Motin
8fadf66094
Fix previous commit to report proper error code.
...
MFC after: 2 weeks
2016-05-10 08:37:41 +00:00
Alexander Motin
38618bf430
Validate XCOPY range offsets and lengths.
...
MFC after: 2 weeks
2016-05-10 08:28:16 +00:00
Alexander Motin
e13f4248db
More XCOPY parameters validation.
...
MFC after: 2 weeks
2016-05-10 08:08:39 +00:00
Andrew Rybchenko
a07bcda4ea
sfxge(4): cleanup: fix typo
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 08:00:40 +00:00
Andrew Rybchenko
dcb49ebade
sfxge(4): cleanup: remove unneeded include files
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:59:23 +00:00
Baptiste Daroussin
25fac4a635
Rename dprintf into dbg_printf to avoid collision with dprintf(3)
...
When dprintf(3) in 2009 was added a _WITH_DPRINTF guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 07:52:17 +00:00
Baptiste Daroussin
a05f81bfa3
rename getline into zgetline to avoid collision with getline(3)
...
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added.
This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
2016-05-10 07:50:57 +00:00
Baptiste Daroussin
32fefb2495
Rename dprintf into dbg_printf to avoid collision with dprintf(3)
...
When dprintf(3) in 2009 was added a _WITH_DPRINTF guard has also been added.
This rename is made in preparation for the removal of this guard
2016-05-10 07:45:44 +00:00
Andrew Rybchenko
04bd9a165a
sfxge(4): cleanup: remove unused efx_infer_family()
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:42:18 +00:00
Andrew Rybchenko
908ecfc65d
sfxge(4): cleanup: remove obsolete common code module
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:40:03 +00:00
Andrew Rybchenko
7bfe1d8677
sfxge(4): cleanup: fix typos
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:38:23 +00:00
Andrew Rybchenko
69a8775247
sfxge(4): cleanup efx_check.h comments and error messages
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:22:19 +00:00
Andrew Rybchenko
b18622c3b3
sfxge(4): remove EFSYS_OPT_PHY_TXC43128
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:21:14 +00:00
Andrew Rybchenko
ffb5b3947f
sfxge(4): remove EFSYS_OPT_PHY_SFX7101
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:20:18 +00:00
Andrew Rybchenko
7d276678b9
sfxge(4): remove EFSYS_OPT_PHY_SFT9001
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:19:15 +00:00
Andrew Rybchenko
784995f8f3
sfxge(4): remove EFSYS_OPT_PHY_QT2025C
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:18:18 +00:00
Andrew Rybchenko
0c2328b0ad
sfxge(4): remove EFSYS_OPT_PHY_QT2022C2
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:17:08 +00:00
Andrew Rybchenko
45a31c66ed
sfxge(4): remove EFSYS_OPT_PHY_NULL
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:15:57 +00:00