hselasky
7819d210e6
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
manu
7adfd9bb61
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
hselasky
5a2349cebd
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
pfg
3d433e3de9
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
pfg
c1f320fca0
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
hselasky
5193043705
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
mav
939929ecf0
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
jhb
762cf5f8fc
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
trasz
111d1f560e
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
e08747edd2
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
trasz
462ab9427b
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
bz
48100c001d
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
trasz
d05434d7bf
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
allanjude
d4d35ffaf8
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
bcr
4773bac9ba
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
hselasky
60669b68d6
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
hselasky
df7f8b3938
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
bapt
8f8b9c58e7
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
hselasky
d08b8ba7c0
Add missing semicolon and properly wrap macro argument.
...
MFC after: 1 week
Sponsored by: Mellanox Technologies
2016-05-10 11:34:22 +00:00
hselasky
b92ade246e
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
bapt
a1770aa8e4
Directly set the NONBLOCK flags when creating the socket
...
No functional changes
2016-05-10 11:18:53 +00:00
bapt
57d2143bfd
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
bapt
c80a45c967
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
bapt
e77a110d55
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
bapt
9af4744a94
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
bapt
a126368953
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
trasz
94bd76e619
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
trasz
ada488c048
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
trasz
af62ad8b46
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
kib
05241d701e
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
trasz
8e6e54de64
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
mav
afb02a35fa
Fix previous commit to report proper error code.
...
MFC after: 2 weeks
2016-05-10 08:37:41 +00:00
mav
f1e921c13f
Validate XCOPY range offsets and lengths.
...
MFC after: 2 weeks
2016-05-10 08:28:16 +00:00
mav
3cb5aa8147
More XCOPY parameters validation.
...
MFC after: 2 weeks
2016-05-10 08:08:39 +00:00
arybchik
beca065cf4
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
arybchik
09d1c92b56
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
bapt
9ac0499d2d
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
bapt
b4d6cff400
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
bapt
4ab2fdcc3a
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
arybchik
9929cf424c
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
arybchik
5e6d4edc76
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
arybchik
e917cffc72
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
arybchik
aeb833134e
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
arybchik
bae02d583e
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
arybchik
15108d3edc
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
arybchik
4afb0149b1
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
arybchik
b2e45fd4df
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
arybchik
3c5d7e81d3
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
arybchik
c459816487
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
arybchik
aa6936fa58
sfxge(4): remove EFSYS_OPT_NVRAM_SFX7101
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
2016-05-10 07:15:09 +00:00