268109 Commits

Author SHA1 Message Date
maxv
2c0de29964 Fix the error handling in ehci_pci_attach(): if we got a USB<2 device we
won't call ehci_init(), so don't call ehci_detach() in ehci_pci_detach().

Fixes a panic seen on a recent Lenovo machine, which has an USB 1.1
controller; ehci_detach() was getting called while 'sc' had not been
completely initialized.
2019-06-13 17:33:34 +00:00
maxv
ce2bdbd5cf Random style in ehci, also KM_SLEEP does not fail. 2019-06-13 17:20:25 +00:00
msaitoh
26275dcb72 Indent consistently. No functional change. 2019-06-13 15:10:27 +00:00
christos
6a99759cc6 Consistency in keyword order and contents:
debug*,xorg -> xorg,debug*
	xorg,debug*,*,obsolete	-> xorg,obsolete,*
2019-06-13 13:37:56 +00:00
jmcneill
9a376d13fb add ahcisata at pci 2019-06-13 13:35:41 +00:00
martin
9503563a02 When merging existing partitions into our install description, mark
them as to-be-mounted.
2019-06-13 12:44:20 +00:00
martin
d98788035d Do not use dynamic size adjustments on install descriptions based
on existing partitions - we need to keep them fixed to not confuse
free space calculation.
2019-06-13 12:31:28 +00:00
uki
502a34f5ec Package naming to xbase md files 2019-06-13 12:01:20 +00:00
martin
e11b8d25a8 In the new world order disks may come without any partitioning scheme
attached - so the user may have to select one.
2019-06-13 09:36:54 +00:00
msaitoh
8d1487086a Modify LAPIC_LVT_CMCI's comment to be consistent with other LVT's.
No functional change.
2019-06-13 07:44:27 +00:00
msaitoh
695a257f5f lapic_dump(): Print CMCI and thermal local vector table, too. 2019-06-13 07:42:45 +00:00
msaitoh
080cc7bce9 Whitespace fix. No functional change. 2019-06-13 07:28:17 +00:00
martin
16b1ab5abf Remove GPT and extended partitioning support on size restrained install
media.
2019-06-13 06:34:30 +00:00
martin
4f0c4b952e Remove GPT boot (not available for sparc64 yet) 2019-06-13 06:25:03 +00:00
martin
1f905b6121 Fix unitialized variable 2019-06-13 06:20:34 +00:00
msaitoh
733c55c1ce No functional change:
- Simplify some code for readability.
- KNF a little.
2019-06-13 05:19:40 +00:00
hkenken
dc4cffcc76 Use armv6_start.S 2019-06-13 04:20:23 +00:00
mrg
0c9278a252 make this build and likely work with the new sysinst world order. 2019-06-13 03:07:24 +00:00
christos
075ea18915 Try to load swcrypto if we we did not find any software drivers. 2019-06-13 02:07:31 +00:00
christos
cb94f55012 don't always panic when modunload crypto (int the pool destroy code, because
the pools are busy). XXX: this is still racy; we need to prevent creating
more sessions while destroying.
2019-06-13 02:02:45 +00:00
christos
ed735e6546 make pool assertion messages consistent. 2019-06-13 01:13:12 +00:00
christos
82ef1005b5 handle $SOURCEMODE 2019-06-13 00:24:43 +00:00
kamil
293d38fbef Correct inversed condition for dying process in sigswitch()
If a process is exiting and it was not asked to relock proc_lock, do not
free the mutex as it causes panic. This bug is a timing bug as the faulty
condition is not deterministic and fires only somtimes, but is quickly
triggerable when executed in an infinite loop.

Detected and reported with LLDB test-suite by <mgorny>
2019-06-13 00:07:19 +00:00
pgoyette
960464d0fc Fix typo in comment (missing 'need') 2019-06-12 23:17:40 +00:00
jmcneill
a896fd5520 Support configuring ranges where only prefetchable memory is defined 2019-06-12 22:47:03 +00:00
jmcneill
3dbd90061c Use ranges from the device tree. 2019-06-12 22:44:53 +00:00
christos
4a07f43718 make DPRINTF use varyadic cpp macros, and merge with IPSECLOG. 2019-06-12 22:23:50 +00:00
christos
38947c9111 fix typo in comment, improve error message, add default case handling to
set error.
2019-06-12 22:23:06 +00:00
christos
0d7ec091e7 Add missing npf.boot.conf 2019-06-12 21:08:33 +00:00
jmcneill
39eed55fff Allow set_affinity calls before PEs are brought online. We store the
desired target PE if set_affinity is called early and restore the routes
when the PE comes alive.
2019-06-12 21:02:07 +00:00
christos
c8a6e833b2 Remove hard-coded lists of rc files and generate them dynamically from the
sets. Fixes issues with automount, npf_boot etc. that were never updated here!
2019-06-12 17:45:23 +00:00
kamil
3d6a33dc1e Add new ATF ptrace(2) tests for posix_spawn, reusing tests for fork/vfork
New tests:
 - posix_spawn_detach_spawner
 - posix_spawn_kill_spawner
 - posix_spawn_singalmasked
 - posix_spawn_singalignored

All test pass.
2019-06-12 17:07:11 +00:00
maya
eb9b74df38 Remove unused macro 2019-06-12 17:04:35 +00:00
sevan
8a4259c21c APFS ASR CLI CLS VES XSLT 2019-06-12 16:49:48 +00:00
sevan
f79532ae1a FRAND RAND 2019-06-12 16:49:10 +00:00
christos
a80fb12074 Avoid LOCKDEBUG pserialize panic by implementing suggestion #1 from
http://mail-index.netbsd.org/current-users/2019/02/24/msg035220.html:

Convert the mutex to spin-lock at IPL_NET (but it is excessive) and
convert the memory allocations in that code path to KM_NOSLEEP.
2019-06-12 14:36:32 +00:00
christos
3907c7acbb Add missing address check. This broke things like:
crash -w
	w /l ipsec_debug 1

with an invalid address, because it found the first readonly segment and
returned EFAULT. I guess this never worked properly, but this got exposed
when maxv made text and rodata actually R/O?
2019-06-12 14:28:38 +00:00
isaki
424269ad1e Fill silence if the last block of the first track is not filled. 2019-06-12 13:53:25 +00:00
wiz
999ac309ae Remove superfluous Pp. 2019-06-12 13:53:24 +00:00
isaki
da8ee8f6d2 Describe about get_props() properties. 2019-06-12 13:14:31 +00:00
wiz
f525fbd105 Fix typo. 2019-06-12 12:32:54 +00:00
kamil
3fa4aee840 Try to make posix_spawn(3) note in ptrace(2) less confusing 2019-06-12 12:30:42 +00:00
kamil
212f28ad56 Rephrase sentence about vfork+exec in posix_spawn(3)
Try to make it less confusing.

Requested by <joerg>
2019-06-12 12:26:24 +00:00
mrg
6ab5a4a2ac revert rev 1.4:
>Adjust priority mappings, NFCI

it has some unintended change that makes nvme hangy.  ok @jmcneill.
2019-06-12 11:35:17 +00:00
jmcneill
7604f29f66 Revert "Route all interrupts to the primary PE by default" 2019-06-12 10:27:59 +00:00
skrll
526c0da63b Print interrupt details 2019-06-12 10:19:27 +00:00
skrll
feb244f2a0 Trailing whitespace 2019-06-12 10:16:52 +00:00
jmcneill
dd9fbc0885 Add rkpcie, rkpciephy 2019-06-12 10:14:05 +00:00
jmcneill
2e99e80a9c Enable RK3399 PCIe. 2019-06-12 10:13:44 +00:00
wiz
10cd7be093 Use Xr. 2019-06-12 10:09:26 +00:00